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,33 @@
;
; foo
#comments-start
foobar()
#comments-end
#cs
foobar()
#ce
;#comments-start
foobar()
;#comments-end
;#cs
foobar()
;#ce
----------------------------------------------------
[
["comment", ";"],
["comment", "; foo"],
["comment", "#comments-start\r\n\tfoobar()\r\n#comments-end"],
["comment", "#cs\r\n\tfoobar()\r\n#ce"],
["comment", ";#comments-start"],
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
["comment", ";#comments-end"],
["comment", ";#cs"],
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
["comment", ";#ce"]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,13 @@
#NoTrayIcon
#OnAutoItStartRegister "Example"
----------------------------------------------------
[
["directive", "#NoTrayIcon"],
["directive", "#OnAutoItStartRegister"], ["string", ["\"Example\""]]
]
----------------------------------------------------
Checks for directives.

View File

@ -0,0 +1,15 @@
foo()
foo_bar()
foo_bar_42()
----------------------------------------------------
[
["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"],
["function", "foo_bar_42"], ["punctuation", "("], ["punctuation", ")"]
]
----------------------------------------------------
Checks for functions.

View File

@ -0,0 +1,83 @@
Case
Const
ContinueCase
ContinueLoop
Default
Dim
Do
Else
ElseIf
EndFunc
EndIf
EndSelect
EndSwitch
EndWith
Enum
Exit
ExitLoop
For
Func
Global
If
In
Local
Next
Null
ReDim
Select
Static
Step
Switch
Then
To
Until
Volatile
WEnd
While
With
----------------------------------------------------
[
["keyword", "Case"],
["keyword", "Const"],
["keyword", "ContinueCase"],
["keyword", "ContinueLoop"],
["keyword", "Default"],
["keyword", "Dim"],
["keyword", "Do"],
["keyword", "Else"],
["keyword", "ElseIf"],
["keyword", "EndFunc"],
["keyword", "EndIf"],
["keyword", "EndSelect"],
["keyword", "EndSwitch"],
["keyword", "EndWith"],
["keyword", "Enum"],
["keyword", "Exit"],
["keyword", "ExitLoop"],
["keyword", "For"],
["keyword", "Func"],
["keyword", "Global"],
["keyword", "If"],
["keyword", "In"],
["keyword", "Local"],
["keyword", "Next"],
["keyword", "Null"],
["keyword", "ReDim"],
["keyword", "Select"],
["keyword", "Static"],
["keyword", "Step"],
["keyword", "Switch"],
["keyword", "Then"],
["keyword", "To"],
["keyword", "Until"],
["keyword", "Volatile"],
["keyword", "WEnd"],
["keyword", "While"],
["keyword", "With"]
]
----------------------------------------------------
Checks for keywords.

View File

@ -0,0 +1,21 @@
42
3.14159
4e8
3.5E-9
0.7e+12
0xBadFace
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "4e8"],
["number", "3.5E-9"],
["number", "0.7e+12"],
["number", "0xBadFace"]
]
----------------------------------------------------
Checks for numbers.

View File

@ -0,0 +1,23 @@
< <= <>
> >=
+ += - -=
* *= / /=
& &=
? ^
And Or Not
----------------------------------------------------
[
["operator", "<"], ["operator", "<="], ["operator", "<>"],
["operator", ">"], ["operator", ">="],
["operator", "+"], ["operator", "+="], ["operator", "-"], ["operator", "-="],
["operator", "*"], ["operator", "*="], ["operator", "/"], ["operator", "/="],
["operator", "&"], ["operator", "&="],
["operator", "?"], ["operator", "^"],
["operator", "And"], ["operator", "Or"], ["operator", "Not"]
]
----------------------------------------------------
Checks for operators.

View File

@ -0,0 +1,37 @@
""
"foo""bar"
"foo %foo% bar $bar$ baz @baz@"
''
'foo''bar'
'foo %foo% bar $bar$ baz @baz@'
----------------------------------------------------
[
["string", ["\"\""]],
["string", ["\"foo\"\"bar\""]],
["string", [
"\"foo ",
["variable", "%foo%"],
" bar ",
["variable", "$bar$"],
" baz ",
["variable", "@baz@"],
"\""
]],
["string", ["''"]],
["string", ["'foo''bar'"]],
["string", [
"'foo ",
["variable", "%foo%"],
" bar ",
["variable", "$bar$"],
" baz ",
["variable", "@baz@"],
"'"
]]
]
----------------------------------------------------
Checks for strings and interpolation.

View File

@ -0,0 +1,15 @@
#include <foo.au3>
#include "foo.au3"
----------------------------------------------------
[
["directive", "#include"],
["url", "<foo.au3>"],
["directive", "#include"],
["url", "\"foo.au3\""]
]
----------------------------------------------------
Checks for files in includes.

View File

@ -0,0 +1,19 @@
$foo
$foo_bar_42
@ComputerName
@CPUArch
@TAB
----------------------------------------------------
[
["variable", "$foo"],
["variable", "$foo_bar_42"],
["variable", "@ComputerName"],
["variable", "@CPUArch"],
["variable", "@TAB"]
]
----------------------------------------------------
Checks for variables and macros.