forked from PrismJS/prism
/
value_feature.test
49 lines (41 loc) · 950 Bytes
/
value_feature.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
foo= value 2
foo="something" "some thing" "…"
foo= "something" "some thing" "…"
foo=value 2 \
value 2 continued
foo=value 3\
# this line is ignored
; this line is ignored too
value 3 continued
----------------------------------------------------
[
["key", "foo"], ["operator", "="], ["value", ["value 2"]],
["key", "foo"],
["operator", "="],
["value", [
["quoted", "\"something\""],
["quoted", "\"some thing\""],
["quoted", "\"…\""]
]],
["key", "foo"],
["operator", "="],
["value", [
["quoted", "\"something\""],
["quoted", "\"some thing\""],
["quoted", "\"…\""]
]],
["key", "foo"],
["operator", "="],
["value", [
"value 2 ", ["punctuation", "\\"],
"\r\n value 2 continued"
]],
["key", "foo"],
["operator", "="],
["value", [
"value 3", ["punctuation", "\\"],
["comment", "# this line is ignored"],
["comment", "; this line is ignored too"],
"\r\n value 3 continued"
]]
]