mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
109 lines
1.8 KiB
Plaintext
109 lines
1.8 KiB
Plaintext
|
|
x Module
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x ModuleItem
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x LabeledStmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
: ^
|
|
2 | break a
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x WhileStmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
: ^^^^
|
|
2 | break a
|
|
`----
|
|
|
|
x Lit
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
: ^^^^
|
|
2 | break a
|
|
`----
|
|
|
|
x Bool
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
: ^^^^
|
|
2 | break a
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x BlockStmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | ,-> a: while (true) {
|
|
2 | | break a
|
|
3 | `-> }
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
2 | break a
|
|
: ^^^^^^^
|
|
3 | }
|
|
`----
|
|
|
|
x BreakStmt
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
2 | break a
|
|
: ^^^^^^^
|
|
3 | }
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/span/js/stmt/label.js:1:1]
|
|
1 | a: while (true) {
|
|
2 | break a
|
|
: ^
|
|
3 | }
|
|
`----
|