use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,49 @@
async* sync* yield*
abstract assert async await
break case catch
class;
const
continue default deferred
do dynamic else enum
export external
extends;
factory final finally for
get if
implements;
import
in library
new;
null
operator part rethrow return
set static super switch this
throw try typedef var
void while with yield
----------------------------------------------------
[
["keyword", "async*"], ["keyword", "sync*"], ["keyword", "yield*"],
["keyword", "abstract"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"],
["keyword", "break"], ["keyword", "case"], ["keyword", "catch"],
["keyword", "class"], ["punctuation", ";"],
["keyword", "const"],
["keyword", "continue"], ["keyword", "default"], ["keyword", "deferred"],
["keyword", "do"], ["keyword", "dynamic"], ["keyword", "else"], ["keyword", "enum"],
["keyword", "export"], ["keyword", "external"],
["keyword", "extends"], ["punctuation", ";"],
["keyword", "factory"], ["keyword", "final"], ["keyword", "finally"], ["keyword", "for"],
["keyword", "get"], ["keyword", "if"],
["keyword", "implements"], ["punctuation", ";"],
["keyword", "import"],
["keyword", "in"], ["keyword", "library"],
["keyword", "new"], ["punctuation", ";"],
["keyword", "null"],
["keyword", "operator"], ["keyword", "part"], ["keyword", "rethrow"], ["keyword", "return"],
["keyword", "set"], ["keyword", "static"], ["keyword", "super"], ["keyword", "switch"], ["keyword", "this"],
["keyword", "throw"], ["keyword", "try"], ["keyword", "typedef"], ["keyword", "var"],
["keyword", "void"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"]
]
----------------------------------------------------
Checks for all keywords.

View File

@ -0,0 +1,20 @@
@deprecated
@override
@todo('seth', 'make this do something')
----------------------------------------------------
[
["metadata", "@deprecated"],
["metadata", "@override"],
["metadata", "@todo"],
["punctuation", "("],
["string", "'seth'"],
["punctuation", ","],
["string", "'make this do something'"],
["punctuation", ")"]
]
----------------------------------------------------
Checks for metadata.

View File

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

View File

@ -0,0 +1,25 @@
"" ''
r"" r''
"""""" ''''''
r"""""" r''''''
"fo\"o" 'fo\'o'
"""foo
bar"""
'''foo
bar'''
----------------------------------------------------
[
["string", "\"\""], ["string", "''"],
["string", "r\"\""], ["string", "r''"],
["string", "\"\"\"\"\"\""], ["string", "''''''"],
["string", "r\"\"\"\"\"\""], ["string", "r''''''"],
["string", "\"fo\\\"o\""], ["string", "'fo\\'o'"],
["string", "\"\"\"foo\r\nbar\"\"\""], ["string", "'''foo\r\nbar'''"]
]
----------------------------------------------------
Checks for single quoted and double quoted strings,
multi-line strings and "raw" strings.