mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
500 lines
10 KiB
Plaintext
500 lines
10 KiB
Plaintext
|
|
x Stylesheet
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | ,-> :root {
|
|
2 | | --main-color: #06c;
|
|
3 | | --accent-color: #006;
|
|
4 | | }
|
|
5 | |
|
|
6 | | .foo {
|
|
7 | | --fg-color: blue;
|
|
8 | | }
|
|
9 | |
|
|
10 | | #foo h1 {
|
|
11 | | color: var(--main-color);
|
|
12 | | }
|
|
13 | |
|
|
14 | | @--custom {}
|
|
15 | `-> @--library1-custom {}
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | ,-> :root {
|
|
2 | | --main-color: #06c;
|
|
3 | | --accent-color: #006;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | ,-> :root {
|
|
2 | | --main-color: #06c;
|
|
3 | | --accent-color: #006;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^^
|
|
`----
|
|
|
|
x SubclassSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^^
|
|
`----
|
|
|
|
x PseudoClassSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | :root {
|
|
: ^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:1:1]
|
|
1 | ,-> :root {
|
|
2 | | --main-color: #06c;
|
|
3 | | --accent-color: #006;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^
|
|
`----
|
|
|
|
x Hash { is_id: false, value: Atom('06c' type=inline), raw: Atom('06c' type=inline) }
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:2:5]
|
|
2 | --main-color: #06c;
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^
|
|
`----
|
|
|
|
x Hash { is_id: false, value: Atom('006' type=inline), raw: Atom('006' type=inline) }
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:3:5]
|
|
3 | --accent-color: #006;
|
|
: ^^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | ,-> .foo {
|
|
7 | | --fg-color: blue;
|
|
8 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | ,-> .foo {
|
|
7 | | --fg-color: blue;
|
|
8 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^^
|
|
`----
|
|
|
|
x SubclassSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^^
|
|
`----
|
|
|
|
x ClassSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | .foo {
|
|
: ^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:6:1]
|
|
6 | ,-> .foo {
|
|
7 | | --fg-color: blue;
|
|
8 | `-> }
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident { value: Atom('blue' type=inline), raw: Atom('blue' type=inline) }
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:7:5]
|
|
7 | --fg-color: blue;
|
|
: ^^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | ,-> #foo h1 {
|
|
11 | | color: var(--main-color);
|
|
12 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | ,-> #foo h1 {
|
|
11 | | color: var(--main-color);
|
|
12 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^
|
|
`----
|
|
|
|
x SubclassSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^
|
|
`----
|
|
|
|
x IdSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^^^
|
|
`----
|
|
|
|
x Combinator
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | #foo h1 {
|
|
: ^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:10:1]
|
|
10 | ,-> #foo h1 {
|
|
11 | | color: var(--main-color);
|
|
12 | `-> }
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Function
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:11:5]
|
|
11 | color: var(--main-color);
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^
|
|
`----
|
|
|
|
x WhiteSpace { value: Atom(' ' type=inline) }
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:14:1]
|
|
14 | @--custom {}
|
|
: ^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DashedIdent
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^
|
|
`----
|
|
|
|
x WhiteSpace { value: Atom(' ' type=inline) }
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/dashed-ident/input.css:15:1]
|
|
15 | @--library1-custom {}
|
|
: ^^
|
|
`----
|