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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
source: crates/css_ast/tests/postcss_snapshots.rs
expression: result.output.unwrap()
---
StyleSheet(
rules: [
StyleRule(
rule: QualifiedRule(
prelude: SelectorList([
(CompoundSelector([
Tag(Html(A(Ident(Cursor(
kind: "Ident",
offset: SourceOffset(0),
len: 1,
))))),
]), None),
]),
block: Block(
open_curly: LeftCurly(Cursor(
kind: "LeftCurly",
offset: SourceOffset(2),
len: 1,
)),
declarations: [
Declaration(
name: Ident(Cursor(
kind: "Ident",
offset: SourceOffset(8),
len: 16,
)),
colon: Colon(Cursor(
kind: "Colon",
offset: SourceOffset(24),
len: 1,
)),
value: BackgroundImageStyleValue([
(r#Some(Url(Url(Url(Cursor(
kind: "Url",
offset: SourceOffset(26),
len: 83,
))))), None),
]),
important: None,
semicolon: Some(Semicolon(Cursor(
kind: "Semicolon",
offset: SourceOffset(109),
len: 1,
))),
),
Declaration(
name: Ident(Cursor(
kind: "Ident",
offset: SourceOffset(115),
len: 16,
)),
colon: Colon(Cursor(
kind: "Colon",
offset: SourceOffset(131),
len: 1,
)),
value: BackgroundImageStyleValue([
(r#Some(Url(UrlFunction(Function(Cursor(
kind: "Function",
offset: SourceOffset(133),
len: 4,
)), String(Cursor(
kind: "String",
offset: SourceOffset(137),
len: 17,
)), RightParen(Cursor(
kind: "RightParen",
offset: SourceOffset(154),
len: 1,
))))), None),
]),
important: None,
semicolon: Some(Semicolon(Cursor(
kind: "Semicolon",
offset: SourceOffset(155),
len: 1,
))),
),
Declaration(
name: Ident(Cursor(
kind: "Ident",
offset: SourceOffset(161),
len: 16,
)),
colon: Colon(Cursor(
kind: "Colon",
offset: SourceOffset(177),
len: 1,
)),
value: BackgroundImageStyleValue([
(r#Some(Url(UrlFunction(Function(Cursor(
kind: "Function",
offset: SourceOffset(179),
len: 4,
)), String(Cursor(
kind: "String",
offset: SourceOffset(184),
len: 17,
)), RightParen(Cursor(
kind: "RightParen",
offset: SourceOffset(202),
len: 1,
))))), None),
]),
important: None,
semicolon: Some(Semicolon(Cursor(
kind: "Semicolon",
offset: SourceOffset(203),
len: 1,
))),
),
],
rules: [],
close_curly: Some(RightCurly(Cursor(
kind: "RightCurly",
offset: SourceOffset(205),
len: 1,
))),
),
),
),
],
)