update components

This commit is contained in:
Luke Pulverenti 2016-02-02 21:12:02 -05:00
parent 2a4b879c21
commit 63664e6c1c
1155 changed files with 62261 additions and 84 deletions

View file

@ -0,0 +1,93 @@
this
abstract
as
break
case
cast
catch
class
continue
default
do
dynamic
else
enum
extends
extern
from
for
function
if
implements
import
in
inline
interface
macro
new
null
override
public
private
return
static
super
switch
throw
to
try
typedef
using
var
while
----------------------------------------------------
[
["keyword", "this"],
["keyword", "abstract"],
["keyword", "as"],
["keyword", "break"],
["keyword", "case"],
["keyword", "cast"],
["keyword", "catch"],
["keyword", "class"],
["keyword", "continue"],
["keyword", "default"],
["keyword", "do"],
["keyword", "dynamic"],
["keyword", "else"],
["keyword", "enum"],
["keyword", "extends"],
["keyword", "extern"],
["keyword", "from"],
["keyword", "for"],
["keyword", "function"],
["keyword", "if"],
["keyword", "implements"],
["keyword", "import"],
["keyword", "in"],
["keyword", "inline"],
["keyword", "interface"],
["keyword", "macro"],
["keyword", "new"],
["keyword", "null"],
["keyword", "override"],
["keyword", "public"],
["keyword", "private"],
["keyword", "return"],
["keyword", "static"],
["keyword", "super"],
["keyword", "switch"],
["keyword", "throw"],
["keyword", "to"],
["keyword", "try"],
["keyword", "typedef"],
["keyword", "using"],
["keyword", "var"],
["keyword", "while"]
]
----------------------------------------------------
Checks for keywords.

View file

@ -0,0 +1,15 @@
@author("Nicolas")
@debug
@:noCompletion
----------------------------------------------------
[
["metadata", "@author"], ["punctuation", "("], ["string", ["\"Nicolas\""]], ["punctuation", ")"],
["metadata", "@debug"],
["metadata", "@:noCompletion"]
]
----------------------------------------------------
Checks for metadata.

View file

@ -0,0 +1,29 @@
...
+ ++
- -- ->
= ==
! !=
& &&
| ||
< <= <<
> >= >>
* / % ~ ^
----------------------------------------------------
[
["operator", "..."],
["operator", "+"], ["operator", "++"],
["operator", "-"], ["operator", "--"], ["operator", "->"],
["operator", "="], ["operator", "=="],
["operator", "!"], ["operator", "!="],
["operator", "&"], ["operator", "&&"],
["operator", "|"], ["operator", "||"],
["operator", "<"], ["operator", "<="], ["operator", "<<"],
["operator", ">"], ["operator", ">="], ["operator", ">>"],
["operator", "*"], ["operator", "/"], ["operator", "%"], ["operator", "~"], ["operator", "^"]
]
----------------------------------------------------
Checks for operators.

View file

@ -0,0 +1,17 @@
#if
#elseif
#else
#end
----------------------------------------------------
[
["preprocessor", "#if"],
["preprocessor", "#elseif"],
["preprocessor", "#else"],
["preprocessor", "#end"]
]
----------------------------------------------------
Checks for preprocessor directives.

View file

@ -0,0 +1,15 @@
~/ha\/xe/i
~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i
~/(dog|fox)/igmsu
----------------------------------------------------
[
["regex", "~/ha\\/xe/i"],
["regex", "~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i"],
["regex", "~/(dog|fox)/igmsu"]
]
----------------------------------------------------
Checks for regexes.

View file

@ -0,0 +1,16 @@
$e
${4+2}
----------------------------------------------------
[
["reification", "$e"],
["reification", "$"],
["punctuation", "{"],
["number", "4"], ["operator", "+"], ["number", "2"],
["punctuation", "}"]
]
----------------------------------------------------
Checks for reification.

View file

@ -0,0 +1,37 @@
""
"Foo
\"bar\"
baz"
"$bar ${4+2}"
''
'Foo
\'bar\'
baz'
----------------------------------------------------
[
["string", ["\"\""]],
["string", ["\"Foo\r\n\\\"bar\\\"\r\nbaz\""]],
["string", [
"\"",
["interpolation", [
["interpolation", "$bar"]
]],
["interpolation", [
["interpolation", "$"],
["punctuation", "{"],
["number", "4"],
["operator", "+"],
["number", "2"],
["punctuation", "}"]
]],
"\""
]],
["string", ["''"]],
["string", ["'Foo\r\n\\'bar\\'\r\nbaz'"]]
]
----------------------------------------------------
Checks for strings and string interpolation.