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,13 @@
TRUE
FALSE
----------------------------------------------------
[
["boolean", "TRUE"],
["boolean", "FALSE"]
]
----------------------------------------------------
Checks for booleans.

View File

@ -0,0 +1,13 @@
#
# foobar
----------------------------------------------------
[
["comment", "#"],
["comment", "# foobar"]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,15 @@
...
..1
..42
----------------------------------------------------
[
["ellipsis", "..."],
["ellipsis", "..1"],
["ellipsis", "..42"]
]
----------------------------------------------------
Checks for ellipsis and special identifiers.

View File

@ -0,0 +1,25 @@
if else repeat
while function
for in next
break NULL NA
NA_integer_
NA_real_
NA_complex_
NA_character_
----------------------------------------------------
[
["keyword", "if"], ["keyword", "else"], ["keyword", "repeat"],
["keyword", "while"], ["keyword", "function"],
["keyword", "for"], ["keyword", "in"], ["keyword", "next"],
["keyword", "break"], ["keyword", "NULL"], ["keyword", "NA"],
["keyword", "NA_integer_"],
["keyword", "NA_real_"],
["keyword", "NA_complex_"],
["keyword", "NA_character_"]
]
----------------------------------------------------
Checks for all keywords.

View File

@ -0,0 +1,39 @@
NaN Inf
0xBadFace
0xf4.42
0x21.2p2
0xffP+4
0xeap-1
42
42L
3.14159
3.2E4
4e+8
0.1e-12
2i
4.1i
1e-2i
----------------------------------------------------
[
["number", "NaN"], ["number", "Inf"],
["number", "0xBadFace"],
["number", "0xf4.42"],
["number", "0x21.2p2"],
["number", "0xffP+4"],
["number", "0xeap-1"],
["number", "42"],
["number", "42L"],
["number", "3.14159"],
["number", "3.2E4"],
["number", "4e+8"],
["number", "0.1e-12"],
["number", "2i"],
["number", "4.1i"],
["number", "1e-2i"]
]
----------------------------------------------------
Checks for hexadecimal, decimal and complex numbers.

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", ":"], ["operator", "::"]
]
----------------------------------------------------
Checks for all operators.

View File

@ -0,0 +1,15 @@
%% %*% %/%
%in% %o% %x%
%foobar%
----------------------------------------------------
[
["percent-operator", "%%"], ["percent-operator", "%*%"], ["percent-operator", "%/%"],
["percent-operator", "%in%"], ["percent-operator", "%o%"], ["percent-operator", "%x%"],
["percent-operator", "%foobar%"]
]
----------------------------------------------------
Checks for user-defined operators and operators starting with %.

View File

@ -0,0 +1,17 @@
""
"fo\"obar"
''
'fo\'obar'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "''"],
["string", "'fo\\'obar'"]
]
----------------------------------------------------
Checks for single-quoted and double-quoted strings.