mirror of
https://github.com/swc-project/swc.git
synced 2024-12-12 02:59:49 +03:00
589 lines
15 KiB
Plaintext
589 lines
15 KiB
Plaintext
|
|
x Stylesheet
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | ,-> div {
|
|
2 | | prop: [];
|
|
3 | | prop: [ ];
|
|
4 | | prop: [row1-start];
|
|
5 | | prop: [ row1-start-with-spaces-around ];
|
|
6 | | prop: [red #fff 12px];
|
|
7 | | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
8 | `-> }
|
|
`----
|
|
|
|
x Rule
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | ,-> div {
|
|
2 | | prop: [];
|
|
3 | | prop: [ ];
|
|
4 | | prop: [row1-start];
|
|
5 | | prop: [ row1-start-with-spaces-around ];
|
|
6 | | prop: [red #fff 12px];
|
|
7 | | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
8 | `-> }
|
|
`----
|
|
|
|
x QualifiedRule
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | ,-> div {
|
|
2 | | prop: [];
|
|
3 | | prop: [ ];
|
|
4 | | prop: [row1-start];
|
|
5 | | prop: [ row1-start-with-spaces-around ];
|
|
6 | | prop: [red #fff 12px];
|
|
7 | | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
8 | `-> }
|
|
`----
|
|
|
|
x SelectorList
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x ComplexSelector
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x CompoundSelector
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x TypeSelector
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x TagNameSelector
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x WqName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | ,-> div {
|
|
2 | | prop: [];
|
|
3 | | prop: [ ];
|
|
4 | | prop: [row1-start];
|
|
5 | | prop: [ row1-start-with-spaces-around ];
|
|
6 | | prop: [red #fff 12px];
|
|
7 | | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
8 | `-> }
|
|
`----
|
|
|
|
x LBrace
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:1:1]
|
|
1 | div {
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:2:5]
|
|
2 | prop: [];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:3:5]
|
|
3 | prop: [ ];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:4:5]
|
|
4 | prop: [row1-start];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:5:5]
|
|
5 | prop: [ row1-start-with-spaces-around ];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Color
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x HexColor
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Dimension
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Length
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:6:5]
|
|
6 | prop: [red #fff 12px];
|
|
: ^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x StyleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Declaration
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DeclarationName
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^
|
|
`----
|
|
|
|
x Percentage
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^
|
|
`----
|
|
|
|
x Percentage
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x SimpleBlock
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^^^
|
|
`----
|
|
|
|
x LBracket
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^
|
|
`----
|
|
|
|
x ComponentValue
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/fixture/value/square-brackets/input.css:7:5]
|
|
7 | prop: [row1-start] 25% [row1-end row2-start] 25% [row2-end];
|
|
: ^^^^^^^^
|
|
`----
|