47 'LANG_NAME' =>
'Javascript',
48 'COMMENT_SINGLE' => array(1 =>
'//'),
49 'COMMENT_MULTI' => array(
'/*' =>
'*/'),
50 'COMMENT_REGEXP' => array(
52 2 =>
"/(?<=[\\s^])(s|tr|y)\\/(?!\*)(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])*(?<!\s)\\/[msixpogcde]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])(m|q[qrwx]?)?\\/(?!\*)(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/[msixpogc]*(?=[\\s$\\.\\,\\;\\)])/iU" 55 'QUOTEMARKS' => array(
"'",
'"'),
56 'ESCAPE_CHAR' =>
'\\',
60 'break',
'case',
'catch',
'const',
'continue',
61 'default',
'delete',
'do',
63 'finally',
'for',
'function',
65 'if',
'in',
'instanceof',
69 'set',
'static',
'switch',
70 'this',
'throw',
'try',
'typeof',
75 'false',
'null',
'true',
'undefined',
'NaN',
'Infinity' 79 '__proto__',
'__defineGetter__',
'__defineSetter__',
'hasOwnProperty',
'hasProperty' 83 'Object',
'Function',
'Date',
'Math',
'String',
'Number',
'Boolean',
'Array' 87 'abstract',
'boolean',
'byte',
'char',
'class',
'debugger',
'double',
'enum',
'export',
'extends',
88 'final',
'float',
'implements',
'import',
'int',
'interface',
'long',
'native',
89 'short',
'super',
'synchronized',
'throws',
'transient',
'volatile' 93 '(',
')',
'[',
']',
'{',
'}',
94 '+',
'-',
'*',
'/',
'%',
95 '!',
'@',
'&',
'|',
'^',
99 'CASE_SENSITIVE' => array(
109 1 =>
'color: #000066; font-weight: bold;',
110 2 =>
'color: #003366; font-weight: bold;',
111 3 =>
'color: #000066;',
112 5 =>
'color: #FF0000;' 115 1 =>
'color: #006600; font-style: italic;',
116 2 =>
'color: #009966; font-style: italic;',
117 'MULTI' =>
'color: #006600; font-style: italic;' 119 'ESCAPE_CHAR' => array(
120 0 =>
'color: #000099; font-weight: bold;' 123 0 =>
'color: #009900;' 126 0 =>
'color: #3366CC;' 129 0 =>
'color: #CC0000;' 132 1 =>
'color: #660066;' 135 0 =>
'color: #339933;' 154 'OBJECT_SPLITTERS' => array(
160 'SCRIPT_DELIMITERS' => array(
162 '<script type="text/javascript">' =>
'</script>' 165 '<script language="javascript">' =>
'</script>' 168 'HIGHLIGHT_STRICT_BLOCK' => array(
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_MAYBE
Strict mode might apply, and can be enabled or disabled by GeSHi->enable_strict_mode().
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.