File: moduleAndInterfaceSharingName.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 (24 lines) | stat: -rw-r--r-- 1,094 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
=== tests/cases/compiler/moduleAndInterfaceSharingName.ts ===
module X {
>X : Symbol(X, Decl(moduleAndInterfaceSharingName.ts, 0, 0))

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

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

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