mirror of
https://github.com/swc-project/swc.git
synced 2024-12-13 01:58:38 +03:00
553 lines
12 KiB
Plaintext
553 lines
12 KiB
Plaintext
|
|
x Stylesheet
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | ,-> /* comment */a/* comment */
|
|
2 | | {
|
|
3 | | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
4 | | }
|
|
5 | |
|
|
6 | | /* a { color: black } */
|
|
7 | | /**/
|
|
8 | | /* */
|
|
9 | | div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | | }
|
|
16 | | /* b */
|
|
17 | |
|
|
18 | | a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | | }
|
|
22 | |
|
|
23 | | @media/* comment */screen/* comment */{}
|
|
24 | | @media /* comment */ screen /* comment */ {}
|
|
25 | |
|
|
26 | | /*!test*/
|
|
27 | | /*!te
|
|
28 | | st*/
|
|
29 | | /*!te
|
|
30 | |
|
|
31 | |
|
|
32 | | st*/
|
|
33 | | /*!te**st*/
|
|
34 | | /****************************/
|
|
35 | | /*************** FOO *****************/
|
|
36 | `-> /* comment *//* comment */
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | ,-> /* comment */a/* comment */
|
|
2 | | {
|
|
3 | | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | ,-> /* comment */a/* comment */
|
|
2 | | {
|
|
3 | | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | ,-> {
|
|
3 | | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:3:1]
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:9:1]
|
|
9 | div {
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:11:5]
|
|
11 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:13:5]
|
|
13 | background: red;
|
|
: ^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:19:5]
|
|
19 | color: black;
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x MediaQueryList
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaQuery
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaType
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x MediaQueryList
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaQuery
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaType
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:24:1]
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^
|
|
`----
|