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..8 "B" [] [Whitespace(" ")], }, type_parameters: missing (optional), extends_clause: missing (optional), implements_clause: missing (optional), l_curly_token: L_CURLY@8..10 "{" [] [Whitespace(" ")], members: JsClassMemberList [ JsPropertyClassMember { modifiers: JsPropertyModifierList [], name: JsLiteralMemberName { value: IDENT@10..16 "lorem" [] [Whitespace(" ")], }, property_annotation: missing (optional), value: JsInitializerClause { eq_token: EQ@16..18 "=" [] [Whitespace(" ")], expression: missing (required), }, semicolon_token: SEMICOLON@18..20 ";" [] [Whitespace(" ")], }, ], r_curly_token: R_CURLY@20..21 "}" [] [], }, ], eof_token: EOF@21..22 "" [Newline("\n")] [], } 0: JS_MODULE@0..22 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..21 0: JS_CLASS_DECLARATION@0..21 0: JS_DECORATOR_LIST@0..0 1: (empty) 2: CLASS_KW@0..6 "class" [] [Whitespace(" ")] 3: JS_IDENTIFIER_BINDING@6..8 0: IDENT@6..8 "B" [] [Whitespace(" ")] 4: (empty) 5: (empty) 6: (empty) 7: L_CURLY@8..10 "{" [] [Whitespace(" ")] 8: JS_CLASS_MEMBER_LIST@10..20 0: JS_PROPERTY_CLASS_MEMBER@10..20 0: JS_PROPERTY_MODIFIER_LIST@10..10 1: JS_LITERAL_MEMBER_NAME@10..16 0: IDENT@10..16 "lorem" [] [Whitespace(" ")] 2: (empty) 3: JS_INITIALIZER_CLAUSE@16..18 0: EQ@16..18 "=" [] [Whitespace(" ")] 1: (empty) 4: SEMICOLON@18..20 ";" [] [Whitespace(" ")] 9: R_CURLY@20..21 "}" [] [] 4: EOF@21..22 "" [Newline("\n")] [] -- class_property_initializer.js:1:19 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression, or an assignment but instead found ';'. > 1 │ class B { lorem = ; } │ ^ 2 │ i Expected an expression, or an assignment here. > 1 │ class B { lorem = ; } │ ^ 2 │ -- class B { lorem = ; }