swc/css/parser/tests/fixture/styled-jsx/selector/1/span.rust-debug
Alexander Akait 0b76d29ae4
feat(css/ast): Add SelectorList (#2639)
swc_css_ast:
 - Add `SelectorLsit`.
 - Use `SelectorList` instead of `Vec<ComplexSelector>`.
2021-11-04 09:54:55 +00:00

136 lines
2.9 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | / :global(.foo + a) {
2 | | color: red;
3 | | }
| |__^
error: Rule
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | / :global(.foo + a) {
2 | | color: red;
3 | | }
| |_^
error: StyleRule
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | / :global(.foo + a) {
2 | | color: red;
3 | | }
| |_^
error: SelectorList
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | :global(.foo + a) {
| ^^^^^^^^^^^^^^^^^
error: ComplexSelector
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | :global(.foo + a) {
| ^^^^^^^^^^^^^^^^^
error: CompoundSelector
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | :global(.foo + a) {
| ^^^^^^^^^^^^^^^^^
error: SubclassSelector
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | :global(.foo + a) {
| ^^^^^^^^^^^^^^^^^
error: PseudoSelector
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:1
|
1 | :global(.foo + a) {
| ^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:2
|
1 | :global(.foo + a) {
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:9
|
1 | :global(.foo + a) {
| ^^^^^^^^
error: Delim { value: '.' }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:9
|
1 | :global(.foo + a) {
| ^
error: Ident { value: Atom('foo' type=inline), raw: Atom('foo' type=inline) }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:10
|
1 | :global(.foo + a) {
| ^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:13
|
1 | :global(.foo + a) {
| ^
error: Delim { value: '+' }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:14
|
1 | :global(.foo + a) {
| ^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:15
|
1 | :global(.foo + a) {
| ^
error: Ident { value: Atom('a' type=inline), raw: Atom('a' type=inline) }
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:16
|
1 | :global(.foo + a) {
| ^
error: Block
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:1:19
|
1 | :global(.foo + a) {
| ___________________^
2 | | color: red;
3 | | }
| |_^
error: Declaration
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:2:5
|
2 | color: red;
| ^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:2:5
|
2 | color: red;
| ^^^^^
error: Value
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:2:12
|
2 | color: red;
| ^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/1/input.css:2:12
|
2 | color: red;
| ^^^