swc/crates/swc_ecma_parser/tests/span/js/decl/class.js.span.swc-stderr
2023-10-25 22:59:03 +00:00

311 lines
6.0 KiB
Plaintext

x Module
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x ModuleItem
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x Stmt
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x Decl
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x ClassDecl
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
: ^^^
2 | foo = '1';
`----
x Class
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | ,-> class Foo extends A {
2 | | foo = '1';
3 | | static bar = 2;
4 | |
5 | | static { }
6 | | method() { }
7 | | async asyncMethod() { }
8 | `-> }
`----
x ClassMember
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^^^^^^^^
3 | static bar = 2;
`----
x ClassProp
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^^^^^^^^
3 | static bar = 2;
`----
x PropName
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^
3 | static bar = 2;
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^
3 | static bar = 2;
`----
x Expr
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^
3 | static bar = 2;
`----
x Lit
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^
3 | static bar = 2;
`----
x Str
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
2 | foo = '1';
: ^^^
3 | static bar = 2;
`----
x ClassMember
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^^^^^^^^^^^^^^^
`----
x ClassProp
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^^^^^^^^^^^^^^^
`----
x PropName
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^^^
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^^^
`----
x Expr
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^
`----
x Lit
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^
`----
x Number
,-[$DIR/tests/span/js/decl/class.js:2:1]
2 | foo = '1';
3 | static bar = 2;
: ^
`----
x ClassMember
,-[$DIR/tests/span/js/decl/class.js:4:1]
4 |
5 | static { }
: ^^^^^^^^^^
6 | method() { }
`----
x BlockStmt
,-[$DIR/tests/span/js/decl/class.js:4:1]
4 |
5 | static { }
: ^^^
6 | method() { }
`----
x ClassMember
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^^^^^^^^^^
7 | async asyncMethod() { }
`----
x ClassMethod
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^^^^^^^^^^
7 | async asyncMethod() { }
`----
x PropName
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^^^^
7 | async asyncMethod() { }
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^^^^
7 | async asyncMethod() { }
`----
x Function
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^^^^^^^^^^
7 | async asyncMethod() { }
`----
x BlockStmt
,-[$DIR/tests/span/js/decl/class.js:5:1]
5 | static { }
6 | method() { }
: ^^^
7 | async asyncMethod() { }
`----
x ClassMember
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^^^^^^^^^^^^^^^^^^^^^
8 | }
`----
x ClassMethod
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^^^^^^^^^^^^^^^^^^^^^
8 | }
`----
x PropName
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^^^^^^^^^
8 | }
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^^^^^^^^^
8 | }
`----
x Function
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^^^^^^^^^^^^^^^^^^^^^
8 | }
`----
x BlockStmt
,-[$DIR/tests/span/js/decl/class.js:6:1]
6 | method() { }
7 | async asyncMethod() { }
: ^^^
8 | }
`----
x Expr
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
: ^
2 | foo = '1';
`----
x Ident
,-[$DIR/tests/span/js/decl/class.js:1:1]
1 | class Foo extends A {
: ^
2 | foo = '1';
`----