swc/crates/swc_css_parser/tests/fixture/only/1/span.rust-debug
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

392 lines
10 KiB
Plaintext

x Stylesheet
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | ,-> @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | | .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | | }
5 | `-> }
`----
x Rule
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | ,-> @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | | .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | | }
5 | `-> }
`----
x AtRule
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | ,-> @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | | .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | | }
5 | `-> }
`----
x AtRuleName
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^
2 | .gradientWrapper {
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^
2 | .gradientWrapper {
`----
x MediaQueryList
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaQuery
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaType
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^
2 | .gradientWrapper {
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^
2 | .gradientWrapper {
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^
2 | .gradientWrapper {
`----
x MediaConditionWithoutOr
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaConditionWithoutOrType
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaInParens
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaFeature
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaFeaturePlain
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaFeatureName
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | .gradientWrapper {
`----
x MediaFeatureValue
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^
2 | .gradientWrapper {
`----
x Number
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^
2 | .gradientWrapper {
`----
x SimpleBlock
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | ,-> @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | | .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | | }
5 | `-> }
`----
x LBrace
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
: ^
2 | .gradientWrapper {
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | ,-> .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | `-> }
5 | }
`----
x Rule
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | ,-> .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | `-> }
5 | }
`----
x QualifiedRule
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | ,-> .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | `-> }
5 | }
`----
x SelectorList
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x ComplexSelector
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x CompoundSelector
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x SubclassSelector
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x ClassSelector
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^^^^^^^^^^^^^^^
3 | -chrome-: only(; z-index: 10;);
`----
x SimpleBlock
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | ,-> .gradientWrapper {
3 | | -chrome-: only(; z-index: 10;);
4 | `-> }
5 | }
`----
x LBrace
,-[$DIR/tests/fixture/only/1/input.css:1:1]
1 | @media screen and (-webkit-min-device-pixel-ratio:0) {
2 | .gradientWrapper {
: ^
3 | -chrome-: only(; z-index: 10;);
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | }
`----
x StyleBlock
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | }
`----
x Declaration
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | }
`----
x DeclarationName
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^
4 | }
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^^^^^^^^^^^^^
4 | }
`----
x Function
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^^^^^^^^^^^^^^
4 | }
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----
x Delimiter
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^
4 | }
`----
x Ident
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^^^^^^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----
x Colon
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^
4 | }
`----
x Integer
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^^
4 | }
`----
x ComponentValue
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----
x Delimiter
,-[$DIR/tests/fixture/only/1/input.css:2:1]
2 | .gradientWrapper {
3 | -chrome-: only(; z-index: 10;);
: ^
4 | }
`----