swc/crates/swc_ecma_parser/tests/span/js/decl/static-blocks.js.spans

135 lines
2.3 KiB
Plaintext
Raw Normal View History

x Module
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x ModuleItem
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x Stmt
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x Decl
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x ClassDecl
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x Ident
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | class Foo {
: ^^^
`----
x Class
,-[$DIR/tests/span/js/decl/static-blocks.js:1:1]
1 | ,-> class Foo {
2 | | static {
3 | | 1 + 1;
4 | | }
5 | `-> }
`----
x ClassMember
,-[$DIR/tests/span/js/decl/static-blocks.js:2:5]
2 | ,-> static {
3 | | 1 + 1;
4 | `-> }
`----
x BlockStmt
,-[$DIR/tests/span/js/decl/static-blocks.js:2:5]
2 | ,-> static {
3 | | 1 + 1;
4 | `-> }
`----
x Stmt
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^^^^^^
`----
x ExprStmt
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^^^^^^
`----
x Expr
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^^^^^
`----
x BinExpr
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^^^^^
`----
x Expr
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----
x Lit
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----
x Number
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----
x Expr
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----
x Lit
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----
x Number
,-[$DIR/tests/span/js/decl/static-blocks.js:3:9]
3 | 1 + 1;
: ^
`----