update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
58
dashboard-ui/bower_components/prism/tests/languages/parser/expression_feature.test
vendored
Normal file
58
dashboard-ui/bower_components/prism/tests/languages/parser/expression_feature.test
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
((3-(9-2))*4)
|
||||
^eval(4+2)
|
||||
|
||||
<div class="foo-^eval(4+2)">
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["expression", [
|
||||
["punctuation", "("],
|
||||
["punctuation", "("],
|
||||
["number", "3"],
|
||||
["operator", "-"],
|
||||
["punctuation", "("],
|
||||
["number", "9"],
|
||||
["operator", "-"],
|
||||
["number", "2"],
|
||||
["punctuation", ")"],
|
||||
["punctuation", ")"],
|
||||
["operator", "*"],
|
||||
["number", "4"],
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
["keyword", "^eval"],
|
||||
|
||||
["expression", [
|
||||
["punctuation", "("],
|
||||
["number", "4"],
|
||||
["operator", "+"],
|
||||
["number", "2"],
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", ["class"]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"foo-",
|
||||
["keyword", "^eval"],
|
||||
["expression", [
|
||||
["punctuation", "("],
|
||||
["number", "4"], ["operator", "+"], ["number", "2"],
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for expressions, up to 3 levels of depth.
|
Loading…
Add table
Add a link
Reference in a new issue