mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
0d63470eba
swc_css_ast: - Rename `Values` to `SpaceValues`. swc_css_parser: - Add `parse_str`. - Make `ErrorKind` `#[non_exhaustive]`. - Fix span. swc_css_visit: - Create visitors.
232 lines
4.1 KiB
Plaintext
232 lines
4.1 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | / a {
|
|
6 | | color: white; /* comment */
|
|
7 | | }
|
|
8 | |
|
|
... |
|
|
14 | | color: white;
|
|
15 | | }
|
|
| |__^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | / a {
|
|
6 | | color: white; /* comment */
|
|
7 | | }
|
|
| |_^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | / a {
|
|
6 | | color: white; /* comment */
|
|
7 | | }
|
|
| |_^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | a {
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | a {
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | a {
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:1
|
|
|
|
|
5 | a {
|
|
| ^
|
|
|
|
error: DeclBlock
|
|
--> $DIR/tests/fixture/rome/comment/input.css:5:3
|
|
|
|
|
5 | a {
|
|
| ___^
|
|
6 | | color: white; /* comment */
|
|
7 | | }
|
|
| |_^
|
|
|
|
error: Property
|
|
--> $DIR/tests/fixture/rome/comment/input.css:6:2
|
|
|
|
|
6 | color: white; /* comment */
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:6:2
|
|
|
|
|
6 | color: white; /* comment */
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/rome/comment/input.css:6:9
|
|
|
|
|
6 | color: white; /* comment */
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:6:9
|
|
|
|
|
6 | color: white; /* comment */
|
|
| ^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | / a {
|
|
10 | | color: /* comment */ white;
|
|
11 | | }
|
|
| |_^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | / a {
|
|
10 | | color: /* comment */ white;
|
|
11 | | }
|
|
| |_^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | a {
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | a {
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | a {
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:1
|
|
|
|
|
9 | a {
|
|
| ^
|
|
|
|
error: DeclBlock
|
|
--> $DIR/tests/fixture/rome/comment/input.css:9:3
|
|
|
|
|
9 | a {
|
|
| ___^
|
|
10 | | color: /* comment */ white;
|
|
11 | | }
|
|
| |_^
|
|
|
|
error: Property
|
|
--> $DIR/tests/fixture/rome/comment/input.css:10:2
|
|
|
|
|
10 | color: /* comment */ white;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:10:2
|
|
|
|
|
10 | color: /* comment */ white;
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/rome/comment/input.css:10:23
|
|
|
|
|
10 | color: /* comment */ white;
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:10:23
|
|
|
|
|
10 | color: /* comment */ white;
|
|
| ^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | / a /* comment */ {
|
|
14 | | color: white;
|
|
15 | | }
|
|
| |_^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | / a /* comment */ {
|
|
14 | | color: white;
|
|
15 | | }
|
|
| |_^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | a /* comment */ {
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | a /* comment */ {
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | a /* comment */ {
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:1
|
|
|
|
|
13 | a /* comment */ {
|
|
| ^
|
|
|
|
error: DeclBlock
|
|
--> $DIR/tests/fixture/rome/comment/input.css:13:17
|
|
|
|
|
13 | a /* comment */ {
|
|
| _________________^
|
|
14 | | color: white;
|
|
15 | | }
|
|
| |_^
|
|
|
|
error: Property
|
|
--> $DIR/tests/fixture/rome/comment/input.css:14:2
|
|
|
|
|
14 | color: white;
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:14:2
|
|
|
|
|
14 | color: white;
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/rome/comment/input.css:14:9
|
|
|
|
|
14 | color: white;
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/rome/comment/input.css:14:9
|
|
|
|
|
14 | color: white;
|
|
| ^^^^^
|
|
|