update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
22
dashboard-ui/bower_components/prism/tests/languages/lua/comment_feature.test
vendored
Normal file
22
dashboard-ui/bower_components/prism/tests/languages/lua/comment_feature.test
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/local/bin/lua
|
||||
--
|
||||
-- Foobar
|
||||
--[[Foo
|
||||
bar]]
|
||||
--[====[Foo
|
||||
bar]=====] ]===]
|
||||
baz]====]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "#!/usr/local/bin/lua"],
|
||||
["comment", "--"],
|
||||
["comment", "-- Foobar"],
|
||||
["comment", "--[[Foo\r\nbar]]"],
|
||||
["comment", "--[====[Foo\r\nbar]=====] ]===]\r\nbaz]====]"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
17
dashboard-ui/bower_components/prism/tests/languages/lua/function_feature.test
vendored
Normal file
17
dashboard-ui/bower_components/prism/tests/languages/lua/function_feature.test
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
foo ()
|
||||
Foo_bar_42()
|
||||
foo {}
|
||||
Foo_bar_42{}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "foo"], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["function", "Foo_bar_42"], ["punctuation", "{"], ["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for functions.
|
53
dashboard-ui/bower_components/prism/tests/languages/lua/keyword_feature.test
vendored
Normal file
53
dashboard-ui/bower_components/prism/tests/languages/lua/keyword_feature.test
vendored
Normal file
|
@ -0,0 +1,53 @@
|
|||
and
|
||||
break
|
||||
do
|
||||
else
|
||||
elseif
|
||||
end
|
||||
false
|
||||
for
|
||||
function
|
||||
goto
|
||||
if
|
||||
in
|
||||
local
|
||||
nil
|
||||
not
|
||||
or
|
||||
repeat
|
||||
return
|
||||
then
|
||||
true
|
||||
until
|
||||
while
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "and"],
|
||||
["keyword", "break"],
|
||||
["keyword", "do"],
|
||||
["keyword", "else"],
|
||||
["keyword", "elseif"],
|
||||
["keyword", "end"],
|
||||
["keyword", "false"],
|
||||
["keyword", "for"],
|
||||
["keyword", "function"],
|
||||
["keyword", "goto"],
|
||||
["keyword", "if"],
|
||||
["keyword", "in"],
|
||||
["keyword", "local"],
|
||||
["keyword", "nil"],
|
||||
["keyword", "not"],
|
||||
["keyword", "or"],
|
||||
["keyword", "repeat"],
|
||||
["keyword", "return"],
|
||||
["keyword", "then"],
|
||||
["keyword", "true"],
|
||||
["keyword", "until"],
|
||||
["keyword", "while"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for keywords.
|
35
dashboard-ui/bower_components/prism/tests/languages/lua/number_feature.test
vendored
Normal file
35
dashboard-ui/bower_components/prism/tests/languages/lua/number_feature.test
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
0
|
||||
42
|
||||
3.14159
|
||||
3.
|
||||
.42
|
||||
4e14
|
||||
3.14e+8
|
||||
.7E-1
|
||||
4.e12
|
||||
0xBadFace
|
||||
0x0.1E
|
||||
0xA23p-4
|
||||
0X1.921FB54442D18P+1
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "0"],
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "3."],
|
||||
["number", ".42"],
|
||||
["number", "4e14"],
|
||||
["number", "3.14e+8"],
|
||||
["number", ".7E-1"],
|
||||
["number", "4.e12"],
|
||||
["number", "0xBadFace"],
|
||||
["number", "0x0.1E"],
|
||||
["number", "0xA23p-4"],
|
||||
["number", "0X1.921FB54442D18P+1"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for numbers.
|
25
dashboard-ui/bower_components/prism/tests/languages/lua/operator_feature.test
vendored
Normal file
25
dashboard-ui/bower_components/prism/tests/languages/lua/operator_feature.test
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
+ - * %
|
||||
^ & | #
|
||||
/ //
|
||||
< << <=
|
||||
> >> >=
|
||||
= ==
|
||||
~ ~=
|
||||
..
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "+"], ["operator", "-"], ["operator", "*"], ["operator", "%"],
|
||||
["operator", "^"], ["operator", "&"], ["operator", "|"], ["operator", "#"],
|
||||
["operator", "/"], ["operator", "//"],
|
||||
["operator", "<"], ["operator", "<<"], ["operator", "<="],
|
||||
["operator", ">"], ["operator", ">>"], ["operator", ">="],
|
||||
["operator", "="], ["operator", "=="],
|
||||
["operator", "~"], ["operator", "~="],
|
||||
["operator", ".."]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for operators.
|
32
dashboard-ui/bower_components/prism/tests/languages/lua/string_feature.test
vendored
Normal file
32
dashboard-ui/bower_components/prism/tests/languages/lua/string_feature.test
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
""
|
||||
"Fo\"obar"
|
||||
"Foo\
|
||||
bar\z
|
||||
baz"
|
||||
''
|
||||
'Fo\'obar'
|
||||
'Foo\
|
||||
bar\z
|
||||
baz'
|
||||
[[Foo
|
||||
bar]]
|
||||
[====[Foo
|
||||
bar]=====] ]===]
|
||||
baz]====]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"Fo\\\"obar\""],
|
||||
["string", "\"Foo\\\r\nbar\\z\r\nbaz\""],
|
||||
["string", "''"],
|
||||
["string", "'Fo\\'obar'"],
|
||||
["string", "'Foo\\\r\nbar\\z\r\nbaz'"],
|
||||
["string", "[[Foo\r\nbar]]"],
|
||||
["string", "[====[Foo\r\nbar]=====] ]===]\r\nbaz]====]"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
Loading…
Add table
Add a link
Reference in a new issue