JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsClassDeclaration { decorators: JsDecoratorList [], abstract_token: missing (optional), class_token: CLASS_KW@0..6 "class" [] [Whitespace(" ")], id: JsIdentifierBinding { name_token: IDENT@6..7 "S" [] [], }, type_parameters: missing (optional), extends_clause: missing (optional), implements_clause: missing (optional), l_curly_token: L_CURLY@7..8 "{" [] [], members: JsClassMemberList [ JsBogusMember { items: [ L_CURLY@8..9 "{" [] [], ], }, ], r_curly_token: R_CURLY@9..10 "}" [] [], }, JsBogusStatement { items: [ R_CURLY@10..11 "}" [] [], ], }, ], eof_token: EOF@11..12 "" [Newline("\n")] [], } 0: JS_MODULE@0..12 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..11 0: JS_CLASS_DECLARATION@0..10 0: JS_DECORATOR_LIST@0..0 1: (empty) 2: CLASS_KW@0..6 "class" [] [Whitespace(" ")] 3: JS_IDENTIFIER_BINDING@6..7 0: IDENT@6..7 "S" [] [] 4: (empty) 5: (empty) 6: (empty) 7: L_CURLY@7..8 "{" [] [] 8: JS_CLASS_MEMBER_LIST@8..9 0: JS_BOGUS_MEMBER@8..9 0: L_CURLY@8..9 "{" [] [] 9: R_CURLY@9..10 "}" [] [] 1: JS_BOGUS_STATEMENT@10..11 0: R_CURLY@10..11 "}" [] [] 4: EOF@11..12 "" [Newline("\n")] [] -- block_stmt_in_class.js:1:9 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an identifier, a string literal, a number literal, a private field name, or a computed name but instead found '{'. > 1 │ class S{{}} │ ^ 2 │ i Expected an identifier, a string literal, a number literal, a private field name, or a computed name here. > 1 │ class S{{}} │ ^ 2 │ -- block_stmt_in_class.js:1:11 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a statement but instead found '}'. > 1 │ class S{{}} │ ^ 2 │ i Expected a statement here. > 1 │ class S{{}} │ ^ 2 │ -- class S{{}}