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 "A" [] [Whitespace(" ")], }, type_parameters: missing (optional), extends_clause: missing (optional), implements_clause: missing (optional), l_curly_token: L_CURLY@8..10 "{" [] [Whitespace(" ")], members: JsClassMemberList [ JsMethodClassMember { modifiers: JsMethodModifierList [], async_token: missing (optional), star_token: missing (optional), name: JsLiteralMemberName { value: IDENT@10..14 "test" [] [], }, question_mark_token: QUESTION@14..15 "?" [] [], type_parameters: missing (optional), parameters: JsParameters { l_paren_token: L_PAREN@15..16 "(" [] [], items: JsParameterList [], r_paren_token: R_PAREN@16..18 ")" [] [Whitespace(" ")], }, return_type_annotation: missing (optional), body: JsFunctionBody { l_curly_token: L_CURLY@18..19 "{" [] [], directives: JsDirectiveList [], statements: JsStatementList [], r_curly_token: R_CURLY@19..21 "}" [] [Whitespace(" ")], }, }, ], r_curly_token: R_CURLY@21..22 "}" [] [], }, ], eof_token: EOF@22..23 "" [Newline("\n")] [], } 0: JS_MODULE@0..23 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..22 0: JS_CLASS_DECLARATION@0..22 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 "A" [] [Whitespace(" ")] 4: (empty) 5: (empty) 6: (empty) 7: L_CURLY@8..10 "{" [] [Whitespace(" ")] 8: JS_CLASS_MEMBER_LIST@10..21 0: JS_METHOD_CLASS_MEMBER@10..21 0: JS_METHOD_MODIFIER_LIST@10..10 1: (empty) 2: (empty) 3: JS_LITERAL_MEMBER_NAME@10..14 0: IDENT@10..14 "test" [] [] 4: QUESTION@14..15 "?" [] [] 5: (empty) 6: JS_PARAMETERS@15..18 0: L_PAREN@15..16 "(" [] [] 1: JS_PARAMETER_LIST@16..16 2: R_PAREN@16..18 ")" [] [Whitespace(" ")] 7: (empty) 8: JS_FUNCTION_BODY@18..21 0: L_CURLY@18..19 "{" [] [] 1: JS_DIRECTIVE_LIST@19..19 2: JS_STATEMENT_LIST@19..19 3: R_CURLY@19..21 "}" [] [Whitespace(" ")] 9: R_CURLY@21..22 "}" [] [] 4: EOF@22..23 "" [Newline("\n")] []