56 lines
2.1 KiB
Text
56 lines
2.1 KiB
Text
=== tests/cases/compiler/exportImportAndClodule.ts ===
|
|
module K {
|
|
>K : Symbol(K, Decl(exportImportAndClodule.ts, 0, 0))
|
|
|
|
export class L {
|
|
>L : Symbol(L, Decl(exportImportAndClodule.ts, 0, 10), Decl(exportImportAndClodule.ts, 3, 5))
|
|
|
|
constructor(public name: string) { }
|
|
>name : Symbol(name, Decl(exportImportAndClodule.ts, 2, 20))
|
|
}
|
|
export module L {
|
|
>L : Symbol(L, Decl(exportImportAndClodule.ts, 0, 10), Decl(exportImportAndClodule.ts, 3, 5))
|
|
|
|
export var y = 12;
|
|
>y : Symbol(y, Decl(exportImportAndClodule.ts, 5, 18))
|
|
|
|
export interface Point {
|
|
>Point : Symbol(Point, Decl(exportImportAndClodule.ts, 5, 26))
|
|
|
|
x: number;
|
|
>x : Symbol(x, Decl(exportImportAndClodule.ts, 6, 32))
|
|
|
|
y: number;
|
|
>y : Symbol(y, Decl(exportImportAndClodule.ts, 7, 22))
|
|
}
|
|
}
|
|
}
|
|
module M {
|
|
>M : Symbol(M, Decl(exportImportAndClodule.ts, 11, 1))
|
|
|
|
export import D = K.L;
|
|
>D : Symbol(D, Decl(exportImportAndClodule.ts, 12, 10))
|
|
>K : Symbol(K, Decl(exportImportAndClodule.ts, 0, 0))
|
|
>L : Symbol(D, Decl(exportImportAndClodule.ts, 0, 10), Decl(exportImportAndClodule.ts, 3, 5))
|
|
}
|
|
var o: { name: string };
|
|
>o : Symbol(o, Decl(exportImportAndClodule.ts, 15, 3), Decl(exportImportAndClodule.ts, 16, 3))
|
|
>name : Symbol(name, Decl(exportImportAndClodule.ts, 15, 8))
|
|
|
|
var o = new M.D('Hello');
|
|
>o : Symbol(o, Decl(exportImportAndClodule.ts, 15, 3), Decl(exportImportAndClodule.ts, 16, 3))
|
|
>M.D : Symbol(M.D, Decl(exportImportAndClodule.ts, 12, 10))
|
|
>M : Symbol(M, Decl(exportImportAndClodule.ts, 11, 1))
|
|
>D : Symbol(M.D, Decl(exportImportAndClodule.ts, 12, 10))
|
|
|
|
var p: { x: number; y: number; }
|
|
>p : Symbol(p, Decl(exportImportAndClodule.ts, 17, 3), Decl(exportImportAndClodule.ts, 18, 3))
|
|
>x : Symbol(x, Decl(exportImportAndClodule.ts, 17, 8))
|
|
>y : Symbol(y, Decl(exportImportAndClodule.ts, 17, 19))
|
|
|
|
var p: M.D.Point;
|
|
>p : Symbol(p, Decl(exportImportAndClodule.ts, 17, 3), Decl(exportImportAndClodule.ts, 18, 3))
|
|
>M : Symbol(M, Decl(exportImportAndClodule.ts, 11, 1))
|
|
>D : Symbol(M.D, Decl(exportImportAndClodule.ts, 12, 10))
|
|
>Point : Symbol(K.L.Point, Decl(exportImportAndClodule.ts, 5, 26))
|
|
|