update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
18
dashboard-ui/bower_components/prism/tests/languages/php/comment_feature.test
vendored
Normal file
18
dashboard-ui/bower_components/prism/tests/languages/php/comment_feature.test
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// foobar
|
||||
/**/
|
||||
/* foo
|
||||
bar */
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "//"],
|
||||
["comment", "// foobar"],
|
||||
["comment", "/**/"],
|
||||
["comment", "/* foo\r\nbar */"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-line and multi-line comments.
|
15
dashboard-ui/bower_components/prism/tests/languages/php/constant_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/php/constant_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
AZ
|
||||
PRISM
|
||||
FOOBAR_42
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["constant", "AZ"],
|
||||
["constant", "PRISM"],
|
||||
["constant", "FOOBAR_42"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for constants.
|
15
dashboard-ui/bower_components/prism/tests/languages/php/delimiter_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/php/delimiter_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<? ?>
|
||||
<?php ?>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["delimiter", "<?"],
|
||||
["delimiter", "?>"],
|
||||
["delimiter", "<?php"],
|
||||
["delimiter", "?>"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for delimiters.
|
76
dashboard-ui/bower_components/prism/tests/languages/php/keyword_feature.test
vendored
Normal file
76
dashboard-ui/bower_components/prism/tests/languages/php/keyword_feature.test
vendored
Normal file
|
@ -0,0 +1,76 @@
|
|||
and or xor array
|
||||
as break case
|
||||
cfunction
|
||||
class;
|
||||
const continue
|
||||
declare default
|
||||
die do else
|
||||
elseif enddeclare
|
||||
endfor endforeach
|
||||
endif endswitch
|
||||
endwhile
|
||||
extends;
|
||||
for foreach function
|
||||
include include_once
|
||||
global if
|
||||
new;
|
||||
return
|
||||
static switch
|
||||
use;
|
||||
require require_once
|
||||
var while abstract
|
||||
interface;
|
||||
public
|
||||
implements;
|
||||
private
|
||||
protected parent
|
||||
throw null echo
|
||||
print trait;
|
||||
namespace;
|
||||
final yield goto
|
||||
instanceof;
|
||||
finally
|
||||
try catch
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "and"], ["keyword", "or"], ["keyword", "xor"], ["keyword", "array"],
|
||||
["keyword", "as"], ["keyword", "break"], ["keyword", "case"],
|
||||
["keyword", "cfunction"],
|
||||
["keyword", "class"], ["punctuation", ";"],
|
||||
["keyword", "const"], ["keyword", "continue"],
|
||||
["keyword", "declare"], ["keyword", "default"],
|
||||
["keyword", "die"], ["keyword", "do"], ["keyword", "else"],
|
||||
["keyword", "elseif"], ["keyword", "enddeclare"],
|
||||
["keyword", "endfor"], ["keyword", "endforeach"],
|
||||
["keyword", "endif"], ["keyword", "endswitch"],
|
||||
["keyword", "endwhile"],
|
||||
["keyword", "extends"], ["punctuation", ";"],
|
||||
["keyword", "for"], ["keyword", "foreach"], ["keyword", "function"],
|
||||
["keyword", "include"], ["keyword", "include_once"],
|
||||
["keyword", "global"], ["keyword", "if"],
|
||||
["keyword", "new"], ["punctuation", ";"],
|
||||
["keyword", "return"],
|
||||
["keyword", "static"], ["keyword", "switch"],
|
||||
["keyword", "use"], ["punctuation", ";"],
|
||||
["keyword", "require"], ["keyword", "require_once"],
|
||||
["keyword", "var"], ["keyword", "while"], ["keyword", "abstract"],
|
||||
["keyword", "interface"], ["punctuation", ";"],
|
||||
["keyword", "public"],
|
||||
["keyword", "implements"], ["punctuation", ";"],
|
||||
["keyword", "private"],
|
||||
["keyword", "protected"], ["keyword", "parent"],
|
||||
["keyword", "throw"], ["keyword", "null"], ["keyword", "echo"],
|
||||
["keyword", "print"],
|
||||
["keyword", "trait"], ["punctuation", ";"],
|
||||
["keyword", "namespace"], ["punctuation", ";"],
|
||||
["keyword", "final"], ["keyword", "yield"], ["keyword", "goto"],
|
||||
["keyword", "instanceof"], ["punctuation", ";"],
|
||||
["keyword", "finally"],
|
||||
["keyword", "try"], ["keyword", "catch"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
29
dashboard-ui/bower_components/prism/tests/languages/php/package_feature.test
vendored
Normal file
29
dashboard-ui/bower_components/prism/tests/languages/php/package_feature.test
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
namespace \foo
|
||||
namespace \foo\bar\baz
|
||||
use \foo
|
||||
use \foo\bar\baz
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "namespace"],
|
||||
["package", [["punctuation", "\\"], "foo"]],
|
||||
["keyword", "namespace"],
|
||||
["package", [
|
||||
["punctuation", "\\"], "foo",
|
||||
["punctuation", "\\"], "bar",
|
||||
["punctuation", "\\"], "baz"
|
||||
]],
|
||||
["keyword", "use"],
|
||||
["package", [["punctuation", "\\"], "foo"]],
|
||||
["keyword", "use"],
|
||||
["package", [
|
||||
["punctuation", "\\"], "foo",
|
||||
["punctuation", "\\"], "bar",
|
||||
["punctuation", "\\"], "baz"
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for packages.
|
19
dashboard-ui/bower_components/prism/tests/languages/php/property_feature.test
vendored
Normal file
19
dashboard-ui/bower_components/prism/tests/languages/php/property_feature.test
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
$variable->property
|
||||
$foo->bar->baz
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["variable", "$variable"],
|
||||
["operator", "-"], ["operator", ">"],
|
||||
["property", "property"],
|
||||
["variable", "$foo"],
|
||||
["operator", "-"], ["operator", ">"],
|
||||
["property", "bar"],
|
||||
["operator", "-"], ["operator", ">"],
|
||||
["property", "baz"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for properties.
|
13
dashboard-ui/bower_components/prism/tests/languages/php/shell-comment_feature.test
vendored
Normal file
13
dashboard-ui/bower_components/prism/tests/languages/php/shell-comment_feature.test
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["shell-comment", "#"],
|
||||
["shell-comment", "# foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for shell-like comments.
|
15
dashboard-ui/bower_components/prism/tests/languages/php/variable_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/php/variable_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
$f
|
||||
$foo
|
||||
$foobar_42
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["variable", "$f"],
|
||||
["variable", "$foo"],
|
||||
["variable", "$foobar_42"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for variables.
|
Loading…
Add table
Add a link
Reference in a new issue