-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathone_declaration.json
40 lines (35 loc) · 1.33 KB
/
one_declaration.json
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
[
"", ["error", "empty"],
" /**/\n", ["error", "empty"],
" ;", ["error", "invalid"],
"foo", ["error", "invalid"],
"@foo:", ["error", "invalid"],
"#foo:", ["error", "invalid"],
".foo:", ["error", "invalid"],
"foo*:", ["error", "invalid"],
"foo.. 9000", ["error", "invalid"],
"foo:", ["declaration", "foo", [], false],
"foo :", ["declaration", "foo", [], false],
"\n/**/ foo: ", ["declaration", "foo", [" "], false],
"foo:;", ["declaration", "foo", [";"], false],
" /**/ foo /**/ :", ["declaration", "foo", [], false],
"foo:;bar:;", ["declaration", "foo", [";", ["ident", "bar"], ":", ";"], false],
"foo: 9000 !Important", ["declaration", "foo", [
" ", ["number", "9000", 9000, "integer"], " "
], true],
"foo: 9000 ! /**/\t IMPORTant /**/\f", ["declaration", "foo", [
" ", ["number", "9000", 9000, "integer"], " "
], true],
"foo: 9000 /* Dotted capital I */!İmportant", ["declaration", "foo", [
" ", ["number", "9000", 9000, "integer"], " ", "!", ["ident", "İmportant"]
], false],
"foo: 9000 !important!", ["declaration", "foo", [
" ", ["number", "9000", 9000, "integer"], " ", "!", ["ident", "important"], "!"
], false],
"foo: 9000 important", ["declaration", "foo", [
" ", ["number", "9000", 9000, "integer"], " ", ["ident", "important"]
], false],
"foo:important", ["declaration", "foo", [
["ident", "important"]
], false]
]