mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
264 lines
4.6 KiB
Plaintext
264 lines
4.6 KiB
Plaintext
|
|
x Module
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x ModuleItem
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x Decl
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x FnDecl
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x Ident
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
: ^^^
|
|
2 | yield 1
|
|
`----
|
|
|
|
x Function
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x BlockStmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | ,-> function* foo() {
|
|
2 | | yield 1
|
|
3 | | yield* [1, 2, 3]
|
|
4 | `-> }
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^^^^^^^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x ExprStmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^^^^^^^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^^^^^^^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x YieldExpr
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^^^^^^^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x Lit
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/span/js/expr/yield.js:1:1]
|
|
1 | function* foo() {
|
|
2 | yield 1
|
|
: ^
|
|
3 | yield* [1, 2, 3]
|
|
`----
|
|
|
|
x Stmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x ExprStmt
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x YieldExpr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x ArrayLit
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^^^^^^^^^
|
|
4 | }
|
|
`----
|
|
|
|
x ExprOrSpread
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Lit
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x ExprOrSpread
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Lit
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x ExprOrSpread
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Expr
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Lit
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|
|
|
|
x Number
|
|
,-[$DIR/tests/span/js/expr/yield.js:2:1]
|
|
2 | yield 1
|
|
3 | yield* [1, 2, 3]
|
|
: ^
|
|
4 | }
|
|
`----
|