mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
658 lines
14 KiB
Plaintext
658 lines
14 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 */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
: ^
|
|
2 | {
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
2 | ,-> {
|
|
3 | | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
4 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:1:1]
|
|
1 | /* comment */a/* comment */
|
|
2 | {
|
|
: ^
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:2:1]
|
|
2 | {
|
|
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
|
: ^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
16 | /* b */
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
16 | /* b */
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^^^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | ,-> div {
|
|
10 | | /* inside */
|
|
11 | | color: black;
|
|
12 | | /* between */
|
|
13 | | background: red;
|
|
14 | | /* end */
|
|
15 | `-> }
|
|
16 | /* b */
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:8:1]
|
|
8 | /* */
|
|
9 | div {
|
|
: ^
|
|
10 | /* inside */
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:10:1]
|
|
10 | /* inside */
|
|
11 | color: black;
|
|
: ^^^^^
|
|
12 | /* between */
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^^^^^^^^^^^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^^^^^^^^^^^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^^^^^^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^^^^^^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:12:1]
|
|
12 | /* between */
|
|
13 | background: red;
|
|
: ^^^
|
|
14 | /* end */
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | ,-> a {
|
|
19 | | color: black;
|
|
20 | | /* c */
|
|
21 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:17:1]
|
|
17 |
|
|
18 | a {
|
|
: ^
|
|
19 | color: black;
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^^^^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:18:1]
|
|
18 | a {
|
|
19 | color: black;
|
|
: ^^^^^
|
|
20 | /* c */
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x MediaQueryList
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x MediaQuery
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x MediaType
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^^^^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:22:1]
|
|
22 |
|
|
23 | @media/* comment */screen/* comment */{}
|
|
: ^
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRule
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x AtRuleName
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^
|
|
`----
|
|
|
|
x MediaQueryList
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaQuery
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x MediaType
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^^
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/comment/input.css:23:1]
|
|
23 | @media/* comment */screen/* comment */{}
|
|
24 | @media /* comment */ screen /* comment */ {}
|
|
: ^
|
|
`----
|