75 lines
2.1 KiB
Text
75 lines
2.1 KiB
Text
=== tests/cases/conformance/jsx/tsxEmit3.tsx ===
|
|
declare module JSX {
|
|
>JSX : Symbol(JSX, Decl(tsxEmit3.tsx, 0, 0))
|
|
|
|
interface Element { }
|
|
>Element : Symbol(Element, Decl(tsxEmit3.tsx, 0, 20))
|
|
|
|
interface IntrinsicElements { }
|
|
>IntrinsicElements : Symbol(IntrinsicElements, Decl(tsxEmit3.tsx, 1, 22))
|
|
}
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(tsxEmit3.tsx, 3, 1), Decl(tsxEmit3.tsx, 13, 1), Decl(tsxEmit3.tsx, 27, 1), Decl(tsxEmit3.tsx, 32, 1))
|
|
|
|
export class Foo { constructor() { } }
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
|
|
export module S {
|
|
>S : Symbol(S, Decl(tsxEmit3.tsx, 6, 39), Decl(tsxEmit3.tsx, 17, 14))
|
|
|
|
export class Bar { }
|
|
>Bar : Symbol(Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
|
|
// Emit Foo
|
|
// Foo, <Foo />;
|
|
}
|
|
}
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(tsxEmit3.tsx, 3, 1), Decl(tsxEmit3.tsx, 13, 1), Decl(tsxEmit3.tsx, 27, 1), Decl(tsxEmit3.tsx, 32, 1))
|
|
|
|
// Emit M.Foo
|
|
Foo, <Foo />;
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
|
|
export module S {
|
|
>S : Symbol(S, Decl(tsxEmit3.tsx, 6, 39), Decl(tsxEmit3.tsx, 17, 14))
|
|
|
|
// Emit M.Foo
|
|
Foo, <Foo />;
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
|
|
// Emit S.Bar
|
|
Bar, <Bar />;
|
|
>Bar : Symbol(Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
>Bar : Symbol(Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
}
|
|
|
|
}
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(tsxEmit3.tsx, 3, 1), Decl(tsxEmit3.tsx, 13, 1), Decl(tsxEmit3.tsx, 27, 1), Decl(tsxEmit3.tsx, 32, 1))
|
|
|
|
// Emit M.S.Bar
|
|
S.Bar, <S.Bar />;
|
|
>S.Bar : Symbol(S.Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
>S : Symbol(S, Decl(tsxEmit3.tsx, 6, 39), Decl(tsxEmit3.tsx, 17, 14))
|
|
>Bar : Symbol(S.Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
>Bar : Symbol(S.Bar, Decl(tsxEmit3.tsx, 7, 18))
|
|
}
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(tsxEmit3.tsx, 3, 1), Decl(tsxEmit3.tsx, 13, 1), Decl(tsxEmit3.tsx, 27, 1), Decl(tsxEmit3.tsx, 32, 1))
|
|
|
|
var M = 100;
|
|
>M : Symbol(M, Decl(tsxEmit3.tsx, 35, 4))
|
|
|
|
// Emit M_1.Foo
|
|
Foo, <Foo />;
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
>Foo : Symbol(Foo, Decl(tsxEmit3.tsx, 5, 10))
|
|
}
|
|
|