2022-03-30 09:07:40 +03:00
|
|
|
|
|
|
|
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;
|
|
|
|
: ^
|
|
|
|
`----
|