forked from reworkcss/css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathast.json
More file actions
82 lines (82 loc) · 1.77 KB
/
ast.json
File metadata and controls
82 lines (82 loc) · 1.77 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"type": "stylesheet",
"stylesheet": {
"rules": [
{
"type": "rule",
"selectors": [
".foo:matches(.bar,.baz)",
".foo:matches(.bar, .baz)",
".foo:matches(.bar , .baz)",
".foo:matches(.bar ,.baz)"
],
"declarations": [
{
"type": "declaration",
"property": "prop",
"value": "value",
"position": {
"start": {
"line": 5,
"column": 3
},
"end": {
"line": 5,
"column": 14
},
"source": "input.css"
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 6,
"column": 2
},
"source": "input.css"
}
},
{
"type": "rule",
"selectors": [
".foo:matches(.bar,.baz,.foobar)",
".foo:matches(.bar, .baz,)",
".foo:matches(,.bar , .baz)"
],
"declarations": [
{
"type": "declaration",
"property": "anotherprop",
"value": "anothervalue",
"position": {
"start": {
"line": 11,
"column": 3
},
"end": {
"line": 11,
"column": 28
},
"source": "input.css"
}
}
],
"position": {
"start": {
"line": 8,
"column": 1
},
"end": {
"line": 12,
"column": 2
},
"source": "input.css"
}
}
]
}
}