2022-03-30 09:07:40 +03:00
|
|
|
|
|
|
|
x Module
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x ModuleItem
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x Stmt
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x IfStmt
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x Expr
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
: ^^^^
|
2022-11-28 18:56:47 +03:00
|
|
|
2 | foo()
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Lit
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
: ^^^^
|
2022-11-28 18:56:47 +03:00
|
|
|
2 | foo()
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Bool
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
: ^^^^
|
2022-11-28 18:56:47 +03:00
|
|
|
2 | foo()
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Stmt
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x BlockStmt
|
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | ,-> if (true) {
|
|
|
|
2 | | foo()
|
|
|
|
3 | `-> }
|
|
|
|
`----
|
|
|
|
|
|
|
|
x Stmt
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x ExprStmt
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Expr
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x CallExpr
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Callee
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Expr
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|
|
|
|
|
|
|
|
x Ident
|
2022-11-28 18:56:47 +03:00
|
|
|
,-[$DIR/tests/span/js/stmt/if.js:1:1]
|
|
|
|
1 | if (true) {
|
|
|
|
2 | foo()
|
|
|
|
: ^^^
|
|
|
|
3 | }
|
2022-03-30 09:07:40 +03:00
|
|
|
`----
|