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,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.
|
@ -0,0 +1,13 @@
|
||||
#NoTrayIcon
|
||||
#OnAutoItStartRegister "Example"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["directive", "#NoTrayIcon"],
|
||||
["directive", "#OnAutoItStartRegister"], ["string", ["\"Example\""]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for directives.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
Reference in New Issue
Block a user