use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
* foobar;
|
||||
foo; * foobar;
|
||||
/* foo
|
||||
bar */
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "* foobar;"],
|
||||
"\r\nfoo", ["punctuation", ";"],
|
||||
["comment", "* foobar;"],
|
||||
["comment", "/* foo\r\nbar */"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,38 @@
|
||||
datalines;
|
||||
1993 2,819 1,120 422 391 63 98
|
||||
1994 2,477 1,160 500 172 47 70
|
||||
;
|
||||
|
||||
lines;
|
||||
foo bar baz
|
||||
;
|
||||
|
||||
cards;
|
||||
foo
|
||||
bar
|
||||
baz
|
||||
;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["datalines", [
|
||||
["keyword", "datalines"], ["punctuation", ";"],
|
||||
"\r\n1993 2,819 1,120 422 391 63 98\r\n1994 2,477 1,160 500 172 47 70\r\n",
|
||||
["punctuation", ";"]
|
||||
]],
|
||||
["datalines", [
|
||||
["keyword", "lines"], ["punctuation", ";"],
|
||||
"\r\nfoo bar baz\r\n",
|
||||
["punctuation", ";"]
|
||||
]],
|
||||
["datalines", [
|
||||
["keyword", "cards"], ["punctuation", ";"],
|
||||
"\r\nfoo\r\nbar\r\nbaz\r\n",
|
||||
["punctuation", ";"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for datalines.
|
@ -0,0 +1,15 @@
|
||||
'1jan2013'd
|
||||
'9:25:19pm't
|
||||
'18jan2003:9:27:05am'dt
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["datetime", "'1jan2013'd"],
|
||||
["datetime", "'9:25:19pm't"],
|
||||
["datetime", "'18jan2003:9:27:05am'dt"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for date, times and datetimes.
|
@ -0,0 +1,13 @@
|
||||
data else format if
|
||||
input proc run then
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "data"], ["keyword", "else"], ["keyword", "format"], ["keyword", "if"],
|
||||
["keyword", "input"], ["keyword", "proc run"], ["keyword", "then"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
@ -0,0 +1,21 @@
|
||||
42
|
||||
3.14159
|
||||
3.2e10
|
||||
0.4e-8
|
||||
1.4E+2
|
||||
BadFacex
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "3.2e10"],
|
||||
["number", "0.4e-8"],
|
||||
["number", "1.4E+2"],
|
||||
["number", "BadFacex"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for decimal and hexadecimal numbers.
|
@ -0,0 +1,37 @@
|
||||
* **
|
||||
| ||
|
||||
! !!
|
||||
¦ ¦¦
|
||||
< <> <=
|
||||
> >< >=
|
||||
~ ~=
|
||||
¬ ¬=
|
||||
^ ^=
|
||||
= / +
|
||||
- &
|
||||
|
||||
eq ne gt lt
|
||||
ge le in not
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["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", "eq"], ["operator", "ne"], ["operator", "gt"], ["operator", "lt"],
|
||||
["operator", "ge"], ["operator", "le"], ["operator", "in"], ["operator", "not"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for operators.
|
@ -0,0 +1,23 @@
|
||||
""
|
||||
"fo""o"
|
||||
"foo
|
||||
bar"
|
||||
''
|
||||
'fo''o'
|
||||
'foo
|
||||
bar'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"fo\"\"o\""],
|
||||
["string", "\"foo\r\nbar\""],
|
||||
["string", "''"],
|
||||
["string", "'fo''o'"],
|
||||
["string", "'foo\r\nbar'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-quoted and double-quoted strings.
|
Reference in New Issue
Block a user