File: dottedNamesInSystem.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (22 lines) | stat: -rw-r--r-- 856 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
=== tests/cases/compiler/dottedNamesInSystem.ts ===
export namespace A.B.C {
>A : Symbol(A, Decl(dottedNamesInSystem.ts, 0, 0))
>B : Symbol(B, Decl(dottedNamesInSystem.ts, 0, 19))
>C : Symbol(C, Decl(dottedNamesInSystem.ts, 0, 21))

    export function foo() {}
>foo : Symbol(foo, Decl(dottedNamesInSystem.ts, 0, 24))
}

export function bar() {
>bar : Symbol(bar, Decl(dottedNamesInSystem.ts, 2, 1))

    return A.B.C.foo();
>A.B.C.foo : Symbol(A.B.C.foo, Decl(dottedNamesInSystem.ts, 0, 24))
>A.B.C : Symbol(A.B.C, Decl(dottedNamesInSystem.ts, 0, 21))
>A.B : Symbol(A.B, Decl(dottedNamesInSystem.ts, 0, 19))
>A : Symbol(A, Decl(dottedNamesInSystem.ts, 0, 0))
>B : Symbol(A.B, Decl(dottedNamesInSystem.ts, 0, 19))
>C : Symbol(A.B.C, Decl(dottedNamesInSystem.ts, 0, 21))
>foo : Symbol(A.B.C.foo, Decl(dottedNamesInSystem.ts, 0, 24))
}