mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
Update JavaScript keywords list to ES5, add globals
This commit is contained in:
parent
a5577fbdd7
commit
585f123837
38
js.jsf
38
js.jsf
@ -12,6 +12,7 @@
|
|||||||
=Escape bold cyan
|
=Escape bold cyan
|
||||||
=Type bold
|
=Type bold
|
||||||
=Keyword bold
|
=Keyword bold
|
||||||
|
=Global bold
|
||||||
=Operator bold
|
=Operator bold
|
||||||
=Bad inverse bold red
|
=Bad inverse bold red
|
||||||
=Brace magenta
|
=Brace magenta
|
||||||
@ -226,39 +227,73 @@
|
|||||||
* ident_end noeat markend strings
|
* ident_end noeat markend strings
|
||||||
"arguments" kw
|
"arguments" kw
|
||||||
"Array" type
|
"Array" type
|
||||||
|
"ArrayBuffer" type
|
||||||
"break" kw
|
"break" kw
|
||||||
"Boolean" type
|
"Boolean" type
|
||||||
"case" kw
|
"case" kw
|
||||||
"catch" kw
|
"catch" kw
|
||||||
|
"const" global
|
||||||
"continue" kw
|
"continue" kw
|
||||||
|
"DataView" type
|
||||||
|
"decodeURI" global
|
||||||
|
"decodeURIComponent" global
|
||||||
"default" kw
|
"default" kw
|
||||||
"delete" operator
|
"delete" operator
|
||||||
"do" kw
|
"do" kw
|
||||||
"Date" type
|
"Date" type
|
||||||
"else" kw
|
"else" kw
|
||||||
|
"encodeURI" global
|
||||||
|
"encodeURIComponent" global
|
||||||
|
"Error" type
|
||||||
|
"escape" global
|
||||||
|
"eval" global
|
||||||
|
"EvalError" type
|
||||||
"false" lit
|
"false" lit
|
||||||
"finally" kw
|
"finally" kw
|
||||||
"for" kw
|
"for" kw
|
||||||
"function" kw
|
"function" kw
|
||||||
"Function" type
|
"Function" type
|
||||||
|
"Float32Array" type
|
||||||
|
"Float64Array" type
|
||||||
"if" kw
|
"if" kw
|
||||||
"in" kw
|
"in" kw
|
||||||
|
"Infinity" lit
|
||||||
"instanceof" operator
|
"instanceof" operator
|
||||||
|
"Int16Array" type
|
||||||
|
"Int32Array" type
|
||||||
|
"Int8Array" type
|
||||||
|
"isFinite" global
|
||||||
|
"isNaN" global
|
||||||
|
"JSON" type
|
||||||
"let" kw
|
"let" kw
|
||||||
|
"Math" type
|
||||||
|
"NaN" lit
|
||||||
"new" operator
|
"new" operator
|
||||||
"null" lit
|
"null" lit
|
||||||
"Number" type
|
"Number" type
|
||||||
"Object" type
|
"Object" type
|
||||||
|
"parseFloat" global
|
||||||
|
"parseInt" global
|
||||||
"return" kw
|
"return" kw
|
||||||
|
"RangeError" type
|
||||||
|
"ReferenceError" type
|
||||||
"RegExp" type
|
"RegExp" type
|
||||||
"switch" kw
|
"switch" kw
|
||||||
"String" type
|
"String" type
|
||||||
|
"SyntaxError" type
|
||||||
"this" kw
|
"this" kw
|
||||||
"throw" kw
|
"throw" kw
|
||||||
"true" lit
|
"true" lit
|
||||||
"try" kw
|
"try" kw
|
||||||
"typeof" operator
|
"typeof" operator
|
||||||
|
"TypeError" type
|
||||||
|
"Uint16Array" type
|
||||||
|
"Uint32Array" type
|
||||||
|
"Uint8Array" type
|
||||||
|
"Uint8ClampedArray" type
|
||||||
"undefined" lit
|
"undefined" lit
|
||||||
|
"unescape" global
|
||||||
|
"URIError" type
|
||||||
"var" kw
|
"var" kw
|
||||||
"void" kw
|
"void" kw
|
||||||
"while" kw
|
"while" kw
|
||||||
@ -274,6 +309,9 @@ done
|
|||||||
:kw Keyword
|
:kw Keyword
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
|
:global Global
|
||||||
|
* idle noeat
|
||||||
|
|
||||||
:lit Constant
|
:lit Constant
|
||||||
* after_term noeat
|
* after_term noeat
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user