File: moduleAndInterfaceSharingName3.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 1,185 bytes parent folder | download | duplicates (7)
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
=== tests/cases/compiler/moduleAndInterfaceSharingName3.ts ===
module X {
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))

    export module Y {
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))

        export interface Z { }
>Z : Symbol(Z, Decl(moduleAndInterfaceSharingName3.ts, 1, 21))
    }
    export interface Y<T> { }
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
>T : Symbol(T, Decl(moduleAndInterfaceSharingName3.ts, 4, 23))
}
var z: X.Y.Z = null;
>z : Symbol(z, Decl(moduleAndInterfaceSharingName3.ts, 6, 3))
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
>Z : Symbol(X.Y.Z, Decl(moduleAndInterfaceSharingName3.ts, 1, 21))

var z2: X.Y<string>;
>z2 : Symbol(z2, Decl(moduleAndInterfaceSharingName3.ts, 7, 3))
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))