update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
17
dashboard-ui/bower_components/prism/tests/languages/groovy/annotation_feature.test
vendored
Normal file
17
dashboard-ui/bower_components/prism/tests/languages/groovy/annotation_feature.test
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
@BaseScript MyBaseClass baseScript
|
||||
@DelegatesTo(EmailSpec)
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["annotation", "@BaseScript"],
|
||||
" MyBaseClass baseScript\r\n",
|
||||
["annotation", "@DelegatesTo"],
|
||||
["punctuation", "("],
|
||||
"EmailSpec",
|
||||
["punctuation", ")"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for annotations.
|
61
dashboard-ui/bower_components/prism/tests/languages/groovy/keyword_feature.test
vendored
Normal file
61
dashboard-ui/bower_components/prism/tests/languages/groovy/keyword_feature.test
vendored
Normal file
|
@ -0,0 +1,61 @@
|
|||
as def in abstract
|
||||
assert boolean break
|
||||
byte case catch char
|
||||
class;
|
||||
const continue
|
||||
default do double else
|
||||
enum
|
||||
extends;
|
||||
final
|
||||
finally float for goto
|
||||
if
|
||||
implements;
|
||||
import
|
||||
instanceof;
|
||||
int
|
||||
interface;
|
||||
long native
|
||||
new;
|
||||
package private protected
|
||||
public return short
|
||||
static strictfp super
|
||||
switch synchronized this
|
||||
throw throws
|
||||
trait;
|
||||
transient
|
||||
try void volatile while
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "as"], ["keyword", "def"], ["keyword", "in"], ["keyword", "abstract"],
|
||||
["keyword", "assert"], ["keyword", "boolean"], ["keyword", "break"],
|
||||
["keyword", "byte"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"],
|
||||
["keyword", "class"], ["punctuation", ";"],
|
||||
["keyword", "const"], ["keyword", "continue"],
|
||||
["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"],
|
||||
["keyword", "enum"],
|
||||
["keyword", "extends"], ["punctuation", ";"],
|
||||
["keyword", "final"],
|
||||
["keyword", "finally"], ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"],
|
||||
["keyword", "if"],
|
||||
["keyword", "implements"], ["punctuation", ";"],
|
||||
["keyword", "import"],
|
||||
["keyword", "instanceof"], ["punctuation", ";"],
|
||||
["keyword", "int"],
|
||||
["keyword", "interface"], ["punctuation", ";"],
|
||||
["keyword", "long"], ["keyword", "native"],
|
||||
["keyword", "new"], ["punctuation", ";"],
|
||||
["keyword", "package"], ["keyword", "private"], ["keyword", "protected"],
|
||||
["keyword", "public"], ["keyword", "return"], ["keyword", "short"],
|
||||
["keyword", "static"], ["keyword", "strictfp"], ["keyword", "super"],
|
||||
["keyword", "switch"], ["keyword", "synchronized"], ["keyword", "this"],
|
||||
["keyword", "throw"], ["keyword", "throws"],
|
||||
["keyword", "trait"], ["punctuation", ";"],
|
||||
["keyword", "transient"],
|
||||
["keyword", "try"], ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
43
dashboard-ui/bower_components/prism/tests/languages/groovy/number_feature.test
vendored
Normal file
43
dashboard-ui/bower_components/prism/tests/languages/groovy/number_feature.test
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
0b0110
|
||||
0b0110_1111_0000
|
||||
0b01G 0b01L 0b01I
|
||||
0b01D 0b01F
|
||||
|
||||
0xBABE
|
||||
0xBad_Face
|
||||
0x1.8p1
|
||||
0xa.fp-2
|
||||
|
||||
42_000
|
||||
3.14_15_9
|
||||
1.2e3
|
||||
3E+1
|
||||
4E-2
|
||||
42g 42l 42i
|
||||
42d 42f
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "0b0110"],
|
||||
["number", "0b0110_1111_0000"],
|
||||
["number", "0b01G"], ["number", "0b01L"], ["number", "0b01I"],
|
||||
["number", "0b01D"], ["number", "0b01F"],
|
||||
|
||||
["number", "0xBABE"],
|
||||
["number", "0xBad_Face"],
|
||||
["number", "0x1.8p1"],
|
||||
["number", "0xa.fp-2"],
|
||||
|
||||
["number", "42_000"],
|
||||
["number", "3.14_15_9"],
|
||||
["number", "1.2e3"],
|
||||
["number", "3E+1"],
|
||||
["number", "4E-2"],
|
||||
["number", "42g"], ["number", "42l"], ["number", "42i"],
|
||||
["number", "42d"], ["number", "42f"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for binary, hexadecimal and decimal numbers.
|
45
dashboard-ui/bower_components/prism/tests/languages/groovy/operator_feature.test
vendored
Normal file
45
dashboard-ui/bower_components/prism/tests/languages/groovy/operator_feature.test
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
~
|
||||
= == =~ ==~
|
||||
? ?. ?:
|
||||
* ** *. *= **=
|
||||
. .@ .&
|
||||
5..8
|
||||
5..<8
|
||||
- -- -= ->
|
||||
+ ++ +=
|
||||
! !=
|
||||
< << <<= <= <=>
|
||||
> >> >>> >>= >>>= >=
|
||||
& && &=
|
||||
| || |=
|
||||
/
|
||||
/=
|
||||
^ ^=
|
||||
% %=
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "~"],
|
||||
["operator", "="], ["operator", "=="], ["operator", "=~"], ["operator", "==~"],
|
||||
["operator", "?"], ["operator", "?."], ["operator", "?:"],
|
||||
["operator", "*"], ["operator", "**"], ["operator", "*."], ["operator", "*="], ["operator", "**="],
|
||||
["operator", "."], ["operator", ".@"], ["operator", ".&"],
|
||||
["number", "5"], ["operator", ".."], ["number", "8"],
|
||||
["number", "5"], ["operator", "..<"], ["number", "8"],
|
||||
["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", "|="],
|
||||
["operator", "/"],
|
||||
["operator", "/="],
|
||||
["operator", "^"], ["operator", "^="],
|
||||
["operator", "%"], ["operator", "%="]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators.
|
13
dashboard-ui/bower_components/prism/tests/languages/groovy/shebang_feature.test
vendored
Normal file
13
dashboard-ui/bower_components/prism/tests/languages/groovy/shebang_feature.test
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!foobar
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["shebang", "#!foobar"],
|
||||
["shebang", "#!/usr/bin/env groovy"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Check for shebang comments.
|
25
dashboard-ui/bower_components/prism/tests/languages/groovy/spock-block_feature.test
vendored
Normal file
25
dashboard-ui/bower_components/prism/tests/languages/groovy/spock-block_feature.test
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
setup:
|
||||
given:
|
||||
when:
|
||||
then:
|
||||
and:
|
||||
cleanup:
|
||||
expect:
|
||||
where:
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["spock-block", "setup:"],
|
||||
["spock-block", "given:"],
|
||||
["spock-block", "when:"],
|
||||
["spock-block", "then:"],
|
||||
["spock-block", "and:"],
|
||||
["spock-block", "cleanup:"],
|
||||
["spock-block", "expect:"],
|
||||
["spock-block", "where:"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all spock blocks.
|
48
dashboard-ui/bower_components/prism/tests/languages/groovy/string_feature.test
vendored
Normal file
48
dashboard-ui/bower_components/prism/tests/languages/groovy/string_feature.test
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
""""""
|
||||
"""foo"""
|
||||
"""foo
|
||||
bar"""
|
||||
|
||||
''''''
|
||||
'''foo'''
|
||||
'''foo
|
||||
bar'''
|
||||
|
||||
""
|
||||
"fo\"o"
|
||||
''
|
||||
'fo\'o'
|
||||
|
||||
/foo/
|
||||
/fo\/o/
|
||||
|
||||
$/fo$/$o/$
|
||||
$/foo
|
||||
bar/$
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\"\"\"\"\""],
|
||||
["string", "\"\"\"foo\"\"\""],
|
||||
["string", "\"\"\"foo\r\nbar\"\"\""],
|
||||
["string", "''''''"],
|
||||
["string", "'''foo'''"],
|
||||
["string", "'''foo\r\nbar'''"],
|
||||
|
||||
["string", "\"\""],
|
||||
["string", "\"fo\\\"o\""],
|
||||
["string", "''"],
|
||||
["string", "'fo\\'o'"],
|
||||
|
||||
["string", "/foo/"],
|
||||
["string", "/fo\\/o/"],
|
||||
|
||||
["string", "$/fo$/$o/$"],
|
||||
["string", "$/foo\r\nbar/$"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single quoted, triple single quoted, double quoted,
|
||||
triple double quoted, slashy and dollar slashy strings.
|
Loading…
Add table
Add a link
Reference in a new issue