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,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.