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,26 @@
[ :i |
]
[ :a :b |
]
----------------------------------------------------
[
["punctuation", "["],
["block-arguments", [
["variable", ":i"],
["punctuation", "|"]
]],
["punctuation", "]"],
["punctuation", "["],
["block-arguments", [
["variable", ":a"],
["variable", ":b"],
["punctuation", "|"]
]],
["punctuation", "]"]
]
----------------------------------------------------
Checks for block arguments.

View File

@ -0,0 +1,17 @@
$a
$4
$.
$^
----------------------------------------------------
[
["character", "$a"],
["character", "$4"],
["character", "$."],
["character", "$^"]
]
----------------------------------------------------
Checks for characters.

View File

@ -0,0 +1,14 @@
"foobar"
"foo""bar
baz"
----------------------------------------------------
[
["comment", "\"foobar\""],
["comment", "\"foo\"\"bar\r\nbaz\""]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,13 @@
nil true false
self super new
----------------------------------------------------
[
["keyword", "nil"], ["keyword", "true"], ["keyword", "false"],
["keyword", "self"], ["keyword", "super"], ["keyword", "new"]
]
----------------------------------------------------
Checks for keywords.

View File

@ -0,0 +1,23 @@
42
3.14159
3e8
0.2e-4
2r10001111
2r10.1111e4
16rBADFACE
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "3e8"],
["number", "0.2e-4"],
["number", "2r10001111"],
["number", "2r10.1111e4"],
["number", "16rBADFACE"]
]
----------------------------------------------------
Checks for 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", "@"]
]
----------------------------------------------------
Checks for all operators.

View File

@ -0,0 +1,14 @@
'foobar'
'foo''bar
baz'
----------------------------------------------------
[
["string", "'foobar'"],
["string", "'foo''bar\r\nbaz'"]
]
----------------------------------------------------
Checks for strings.

View File

@ -0,0 +1,21 @@
#foo
#Foo42
#-
#+
#**
#(
----------------------------------------------------
[
["symbol", "#foo"],
["symbol", "#Foo42"],
["symbol", "#-"],
["symbol", "#+"],
["symbol", "#**"],
["symbol", "#"], ["punctuation", "("]
]
----------------------------------------------------
Checks for symbols.

View File

@ -0,0 +1,25 @@
| foo |
| x y myVar z cnt |
----------------------------------------------------
[
["temporary-variables", [
["punctuation", "|"],
["variable", "foo"],
["punctuation", "|"]
]],
["temporary-variables", [
["punctuation", "|"],
["variable", "x"],
["variable", "y"],
["variable", "myVar"],
["variable", "z"],
["variable", "cnt"],
["punctuation", "|"]
]]
]
----------------------------------------------------
Checks for temporary variables.