use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
TRUE
|
||||
FALSE
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "TRUE"],
|
||||
["boolean", "FALSE"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
@ -0,0 +1,13 @@
|
||||
#
|
||||
# foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "#"],
|
||||
["comment", "# foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,15 @@
|
||||
...
|
||||
..1
|
||||
..42
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["ellipsis", "..."],
|
||||
["ellipsis", "..1"],
|
||||
["ellipsis", "..42"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for ellipsis and special identifiers.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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 %.
|
@ -0,0 +1,17 @@
|
||||
""
|
||||
"fo\"obar"
|
||||
''
|
||||
'fo\'obar'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"fo\\\"obar\""],
|
||||
["string", "''"],
|
||||
["string", "'fo\\'obar'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-quoted and double-quoted strings.
|
Reference in New Issue
Block a user