update components

This commit is contained in:
Luke Pulverenti 2016-02-03 18:00:01 -05:00
parent 59ea1c2f7d
commit cf577ba8eb
1136 changed files with 59263 additions and 576 deletions

View file

@ -0,0 +1,13 @@
true
false
----------------------------------------------------
[
["boolean", "true"],
["boolean", "false"]
]
----------------------------------------------------
Checks for booleans.

View file

@ -0,0 +1,22 @@
/* foo */
/* foo
bar */
//
// foobar
#
# foobar
----------------------------------------------------
[
["comment", "/* foo */"],
["comment", "/* foo\r\nbar */"],
["comment", "//"],
["comment", "// foobar"],
["comment", "#"],
["comment", "# foobar"]
]
----------------------------------------------------
Checks for comments.

View file

@ -0,0 +1,15 @@
foo()
foo_bar()
Foo_bar_42()
----------------------------------------------------
[
["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"],
["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"]
]
----------------------------------------------------
Checks for functions.

View file

@ -0,0 +1,63 @@
abstract any assert binary
bool boolean break byte
case catch char
class;
code const continue data
default do double else
enum
extends;
final finally float for
goto hash if
implements;
import inherits
instanceof;
int
interface;
long my native
new;
nothing null object our
own private reference
rethrow return short
softint softfloat softnumber
softbool softstring softdate
softlist static strictfp
string sub super switch
synchronized this throw
throws transient try
void volatile while
----------------------------------------------------
[
["keyword", "abstract"], ["keyword", "any"], ["keyword", "assert"], ["keyword", "binary"],
["keyword", "bool"], ["keyword", "boolean"], ["keyword", "break"], ["keyword", "byte"],
["keyword", "case"], ["keyword", "catch"], ["keyword", "char"],
["keyword", "class"], ["punctuation", ";"],
["keyword", "code"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "data"],
["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"],
["keyword", "enum"],
["keyword", "extends"], ["punctuation", ";"],
["keyword", "final"], ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"],
["keyword", "goto"], ["keyword", "hash"], ["keyword", "if"],
["keyword", "implements"], ["punctuation", ";"],
["keyword", "import"], ["keyword", "inherits"],
["keyword", "instanceof"], ["punctuation", ";"],
["keyword", "int"],
["keyword", "interface"], ["punctuation", ";"],
["keyword", "long"], ["keyword", "my"], ["keyword", "native"],
["keyword", "new"], ["punctuation", ";"],
["keyword", "nothing"], ["keyword", "null"], ["keyword", "object"], ["keyword", "our"],
["keyword", "own"], ["keyword", "private"], ["keyword", "reference"],
["keyword", "rethrow"], ["keyword", "return"], ["keyword", "short"],
["keyword", "softint"], ["keyword", "softfloat"], ["keyword", "softnumber"],
["keyword", "softbool"], ["keyword", "softstring"], ["keyword", "softdate"],
["keyword", "softlist"], ["keyword", "static"], ["keyword", "strictfp"],
["keyword", "string"], ["keyword", "sub"], ["keyword", "super"], ["keyword", "switch"],
["keyword", "synchronized"], ["keyword", "this"], ["keyword", "throw"],
["keyword", "throws"], ["keyword", "transient"], ["keyword", "try"],
["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]
]
----------------------------------------------------
Checks for keywords.

View file

@ -0,0 +1,21 @@
0b11110000
0xBadFace
0xabp-3
42
3.14159
3.2e8f
----------------------------------------------------
[
["number", "0b11110000"],
["number", "0xBadFace"],
["number", "0xabp-3"],
["number", "42"],
["number", "3.14159"],
["number", "3.2e8f"]
]
----------------------------------------------------
Checks for numbers.

View file

@ -0,0 +1,37 @@
+ ++ +=
- -- -=
! != !== !~
~
* *=
/ /=
% %=
^ ^=
?
= == === =~
> >= >> >>=
< <= <=> << <<=
& && &=
| || |=
----------------------------------------------------
[
["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", ">"], ["operator", ">="], ["operator", ">>"], ["operator", ">>="],
["operator", "<"], ["operator", "<="], ["operator", "<=>"], ["operator", "<<"], ["operator", "<<="],
["operator", "&"], ["operator", "&&"], ["operator", "&="],
["operator", "|"], ["operator", "||"], ["operator", "|="]
]
----------------------------------------------------
Checks for operators.

View file

@ -0,0 +1,19 @@
""
"fo\"o
bar"
''
'fo\'o
bar'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"o\r\nbar\""],
["string", "''"],
["string", "'fo\\'o\r\nbar'"]
]
----------------------------------------------------
Checks for strings.

View file

@ -0,0 +1,15 @@
$foobar
$foo_bar_42
$Foobar
----------------------------------------------------
[
["variable", "$foobar"],
["variable", "$foo_bar_42"],
["variable", "$Foobar"]
]
----------------------------------------------------
Checks for variables.