JsModule { interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsClassDeclaration { 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: JS_DIRECTIVE_LIST@0..0 2: JS_MODULE_ITEM_LIST@0..11 0: JS_CLASS_DECLARATION@0..10 0: (empty) 1: CLASS_KW@0..6 "class" [] [Whitespace(" ")] 2: JS_IDENTIFIER_BINDING@6..7 0: IDENT@6..7 "S" [] [] 3: (empty) 4: (empty) 5: (empty) 6: L_CURLY@7..8 "{" [] [] 7: JS_CLASS_MEMBER_LIST@8..9 0: JS_BOGUS_MEMBER@8..9 0: L_CURLY@8..9 "{" [] [] 8: R_CURLY@9..10 "}" [] [] 1: JS_BOGUS_STATEMENT@10..11 0: R_CURLY@10..11 "}" [] [] 3: 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{{}}