File: functionMergedWithModule.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 (31 lines) | stat: -rw-r--r-- 1,231 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
26
27
28
29
30
31
=== tests/cases/compiler/functionMergedWithModule.ts ===
function foo(title: string) {
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
>title : Symbol(title, Decl(functionMergedWithModule.ts, 0, 13))

    var x = 10;
>x : Symbol(x, Decl(functionMergedWithModule.ts, 1, 7))
}

module foo.Bar {
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
>Bar : Symbol(Bar, Decl(functionMergedWithModule.ts, 4, 11))

    export function f() {
>f : Symbol(f, Decl(functionMergedWithModule.ts, 4, 16))
    }
}

module foo.Baz {
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
>Baz : Symbol(Baz, Decl(functionMergedWithModule.ts, 9, 11))

    export function g() {
>g : Symbol(g, Decl(functionMergedWithModule.ts, 9, 16))

        Bar.f();
>Bar.f : Symbol(Bar.f, Decl(functionMergedWithModule.ts, 4, 16))
>Bar : Symbol(Bar, Decl(functionMergedWithModule.ts, 4, 11))
>f : Symbol(Bar.f, Decl(functionMergedWithModule.ts, 4, 16))
    }
}