JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ TsImportEqualsDeclaration { import_token: IMPORT_KW@0..7 "import" [] [Whitespace(" ")], type_token: missing (optional), id: JsIdentifierBinding { name_token: IDENT@7..9 "x" [] [Whitespace(" ")], }, eq_token: EQ@9..11 "=" [] [Whitespace(" ")], module_reference: TsExternalModuleReference { require_token: REQUIRE_KW@11..18 "require" [] [], l_paren_token: L_PAREN@18..19 "(" [] [], source: JsModuleSource { value_token: JS_STRING_LITERAL@19..27 "\"./test\"" [] [], }, r_paren_token: R_PAREN@27..28 ")" [] [], }, semicolon_token: SEMICOLON@28..29 ";" [] [], }, TsModuleDeclaration { module_or_namespace: NAMESPACE_KW@29..40 "namespace" [Newline("\n")] [Whitespace(" ")], name: TsQualifiedModuleName { left: TsIdentifierBinding { name_token: IDENT@40..41 "a" [] [], }, dot_token: DOT@41..42 "." [] [], right: JsName { value_token: IDENT@42..44 "b" [] [Whitespace(" ")], }, }, body: TsModuleBlock { l_curly_token: L_CURLY@44..45 "{" [] [], items: JsModuleItemList [], r_curly_token: R_CURLY@45..46 "}" [] [], }, }, TsImportEqualsDeclaration { import_token: IMPORT_KW@46..54 "import" [Newline("\n")] [Whitespace(" ")], type_token: missing (optional), id: JsIdentifierBinding { name_token: IDENT@54..56 "y" [] [Whitespace(" ")], }, eq_token: EQ@56..58 "=" [] [Whitespace(" ")], module_reference: JsReferenceIdentifier { value_token: IDENT@58..59 "a" [] [], }, semicolon_token: SEMICOLON@59..60 ";" [] [], }, TsImportEqualsDeclaration { import_token: IMPORT_KW@60..68 "import" [Newline("\n")] [Whitespace(" ")], type_token: missing (optional), id: JsIdentifierBinding { name_token: IDENT@68..70 "z" [] [Whitespace(" ")], }, eq_token: EQ@70..72 "=" [] [Whitespace(" ")], module_reference: TsQualifiedName { left: JsReferenceIdentifier { value_token: IDENT@72..73 "a" [] [], }, dot_token: DOT@73..74 "." [] [], right: JsName { value_token: IDENT@74..75 "b" [] [], }, }, semicolon_token: SEMICOLON@75..76 ";" [] [], }, TsImportEqualsDeclaration { import_token: IMPORT_KW@76..84 "import" [Newline("\n")] [Whitespace(" ")], type_token: TYPE_KW@84..89 "type" [] [Whitespace(" ")], id: JsIdentifierBinding { name_token: IDENT@89..91 "A" [] [Whitespace(" ")], }, eq_token: EQ@91..93 "=" [] [Whitespace(" ")], module_reference: TsExternalModuleReference { require_token: REQUIRE_KW@93..100 "require" [] [], l_paren_token: L_PAREN@100..101 "(" [] [], source: JsModuleSource { value_token: JS_STRING_LITERAL@101..106 "\"./a\"" [] [], }, r_paren_token: R_PAREN@106..107 ")" [] [], }, semicolon_token: SEMICOLON@107..108 ";" [] [], }, JsExport { decorators: JsDecoratorList [], export_token: EXPORT_KW@108..116 "export" [Newline("\n")] [Whitespace(" ")], export_clause: TsImportEqualsDeclaration { import_token: IMPORT_KW@116..123 "import" [] [Whitespace(" ")], type_token: missing (optional), id: JsIdentifierBinding { name_token: IDENT@123..125 "n" [] [Whitespace(" ")], }, eq_token: EQ@125..127 "=" [] [Whitespace(" ")], module_reference: JsReferenceIdentifier { value_token: IDENT@127..128 "a" [] [], }, semicolon_token: SEMICOLON@128..129 ";" [] [], }, }, ], eof_token: EOF@129..130 "" [Newline("\n")] [], } 0: JS_MODULE@0..130 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..129 0: TS_IMPORT_EQUALS_DECLARATION@0..29 0: IMPORT_KW@0..7 "import" [] [Whitespace(" ")] 1: (empty) 2: JS_IDENTIFIER_BINDING@7..9 0: IDENT@7..9 "x" [] [Whitespace(" ")] 3: EQ@9..11 "=" [] [Whitespace(" ")] 4: TS_EXTERNAL_MODULE_REFERENCE@11..28 0: REQUIRE_KW@11..18 "require" [] [] 1: L_PAREN@18..19 "(" [] [] 2: JS_MODULE_SOURCE@19..27 0: JS_STRING_LITERAL@19..27 "\"./test\"" [] [] 3: R_PAREN@27..28 ")" [] [] 5: SEMICOLON@28..29 ";" [] [] 1: TS_MODULE_DECLARATION@29..46 0: NAMESPACE_KW@29..40 "namespace" [Newline("\n")] [Whitespace(" ")] 1: TS_QUALIFIED_MODULE_NAME@40..44 0: TS_IDENTIFIER_BINDING@40..41 0: IDENT@40..41 "a" [] [] 1: DOT@41..42 "." [] [] 2: JS_NAME@42..44 0: IDENT@42..44 "b" [] [Whitespace(" ")] 2: TS_MODULE_BLOCK@44..46 0: L_CURLY@44..45 "{" [] [] 1: JS_MODULE_ITEM_LIST@45..45 2: R_CURLY@45..46 "}" [] [] 2: TS_IMPORT_EQUALS_DECLARATION@46..60 0: IMPORT_KW@46..54 "import" [Newline("\n")] [Whitespace(" ")] 1: (empty) 2: JS_IDENTIFIER_BINDING@54..56 0: IDENT@54..56 "y" [] [Whitespace(" ")] 3: EQ@56..58 "=" [] [Whitespace(" ")] 4: JS_REFERENCE_IDENTIFIER@58..59 0: IDENT@58..59 "a" [] [] 5: SEMICOLON@59..60 ";" [] [] 3: TS_IMPORT_EQUALS_DECLARATION@60..76 0: IMPORT_KW@60..68 "import" [Newline("\n")] [Whitespace(" ")] 1: (empty) 2: JS_IDENTIFIER_BINDING@68..70 0: IDENT@68..70 "z" [] [Whitespace(" ")] 3: EQ@70..72 "=" [] [Whitespace(" ")] 4: TS_QUALIFIED_NAME@72..75 0: JS_REFERENCE_IDENTIFIER@72..73 0: IDENT@72..73 "a" [] [] 1: DOT@73..74 "." [] [] 2: JS_NAME@74..75 0: IDENT@74..75 "b" [] [] 5: SEMICOLON@75..76 ";" [] [] 4: TS_IMPORT_EQUALS_DECLARATION@76..108 0: IMPORT_KW@76..84 "import" [Newline("\n")] [Whitespace(" ")] 1: TYPE_KW@84..89 "type" [] [Whitespace(" ")] 2: JS_IDENTIFIER_BINDING@89..91 0: IDENT@89..91 "A" [] [Whitespace(" ")] 3: EQ@91..93 "=" [] [Whitespace(" ")] 4: TS_EXTERNAL_MODULE_REFERENCE@93..107 0: REQUIRE_KW@93..100 "require" [] [] 1: L_PAREN@100..101 "(" [] [] 2: JS_MODULE_SOURCE@101..106 0: JS_STRING_LITERAL@101..106 "\"./a\"" [] [] 3: R_PAREN@106..107 ")" [] [] 5: SEMICOLON@107..108 ";" [] [] 5: JS_EXPORT@108..129 0: JS_DECORATOR_LIST@108..108 1: EXPORT_KW@108..116 "export" [Newline("\n")] [Whitespace(" ")] 2: TS_IMPORT_EQUALS_DECLARATION@116..129 0: IMPORT_KW@116..123 "import" [] [Whitespace(" ")] 1: (empty) 2: JS_IDENTIFIER_BINDING@123..125 0: IDENT@123..125 "n" [] [Whitespace(" ")] 3: EQ@125..127 "=" [] [Whitespace(" ")] 4: JS_REFERENCE_IDENTIFIER@127..128 0: IDENT@127..128 "a" [] [] 5: SEMICOLON@128..129 ";" [] [] 4: EOF@129..130 "" [Newline("\n")] []