swc/crates/swc_ecma_parser/tests/span/js/stmt/debugger.js.spans
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

74 lines
1021 B
Plaintext

x Module
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | ,-> debugger;
2 | | ;
3 | `-> ;
`----
x ModuleItem
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
: ^^^^^^^^^
2 | ;
`----
x Stmt
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
: ^^^^^^^^^
2 | ;
`----
x DebuggerStmt
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
: ^^^^^^^^^
2 | ;
`----
x ModuleItem
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
2 | ;
: ^
3 | ;
`----
x Stmt
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
2 | ;
: ^
3 | ;
`----
x EmptyStmt
,-[$DIR/tests/span/js/stmt/debugger.js:1:1]
1 | debugger;
2 | ;
: ^
3 | ;
`----
x ModuleItem
,-[$DIR/tests/span/js/stmt/debugger.js:2:1]
2 | ;
3 | ;
: ^
`----
x Stmt
,-[$DIR/tests/span/js/stmt/debugger.js:2:1]
2 | ;
3 | ;
: ^
`----
x EmptyStmt
,-[$DIR/tests/span/js/stmt/debugger.js:2:1]
2 | ;
3 | ;
: ^
`----