1
0
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:
Rebecca Turner 2014-08-29 16:29:12 -04:00
parent a5577fbdd7
commit 585f123837

38
js.jsf
View File

@ -12,6 +12,7 @@
=Escape bold cyan
=Type bold
=Keyword bold
=Global bold
=Operator bold
=Bad inverse bold red
=Brace magenta
@ -226,39 +227,73 @@
* ident_end noeat markend strings
"arguments" kw
"Array" type
"ArrayBuffer" type
"break" kw
"Boolean" type
"case" kw
"catch" kw
"const" global
"continue" kw
"DataView" type
"decodeURI" global
"decodeURIComponent" global
"default" kw
"delete" operator
"do" kw
"Date" type
"else" kw
"encodeURI" global
"encodeURIComponent" global
"Error" type
"escape" global
"eval" global
"EvalError" type
"false" lit
"finally" kw
"for" kw
"function" kw
"Function" type
"Float32Array" type
"Float64Array" type
"if" kw
"in" kw
"Infinity" lit
"instanceof" operator
"Int16Array" type
"Int32Array" type
"Int8Array" type
"isFinite" global
"isNaN" global
"JSON" type
"let" kw
"Math" type
"NaN" lit
"new" operator
"null" lit
"Number" type
"Object" type
"parseFloat" global
"parseInt" global
"return" kw
"RangeError" type
"ReferenceError" type
"RegExp" type
"switch" kw
"String" type
"SyntaxError" type
"this" kw
"throw" kw
"true" lit
"try" kw
"typeof" operator
"TypeError" type
"Uint16Array" type
"Uint32Array" type
"Uint8Array" type
"Uint8ClampedArray" type
"undefined" lit
"unescape" global
"URIError" type
"var" kw
"void" kw
"while" kw
@ -274,6 +309,9 @@ done
:kw Keyword
* idle noeat
:global Global
* idle noeat
:lit Constant
* after_term noeat