1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
=== tests/cases/compiler/innerModExport2.ts ===
module Outer {
>Outer : Symbol(Outer, Decl(innerModExport2.ts, 0, 0))
// inner mod 1
var non_export_var: number;
>non_export_var : Symbol(non_export_var, Decl(innerModExport2.ts, 3, 7), Decl(innerModExport2.ts, 5, 11))
module {
var non_export_var = 0;
>non_export_var : Symbol(non_export_var, Decl(innerModExport2.ts, 3, 7), Decl(innerModExport2.ts, 5, 11))
export var export_var = 1;
>export_var : Symbol(export_var, Decl(innerModExport2.ts, 6, 18))
function NonExportFunc() { return 0; }
>NonExportFunc : Symbol(NonExportFunc, Decl(innerModExport2.ts, 6, 34))
export function ExportFunc() { return 0; }
>ExportFunc : Symbol(ExportFunc, Decl(innerModExport2.ts, 8, 46))
}
var export_var: number;
>export_var : Symbol(export_var, Decl(innerModExport2.ts, 6, 18), Decl(innerModExport2.ts, 12, 7))
export var outer_var_export = 0;
>outer_var_export : Symbol(outer_var_export, Decl(innerModExport2.ts, 14, 14))
export function outerFuncExport() { return 0; }
>outerFuncExport : Symbol(outerFuncExport, Decl(innerModExport2.ts, 14, 36))
}
Outer.NonExportFunc();
>Outer : Symbol(Outer, Decl(innerModExport2.ts, 0, 0))
|