File: innerModExport1.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 (35 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download | duplicates (5)
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
32
33
34
35
=== tests/cases/compiler/innerModExport1.ts ===
module Outer {
>Outer : Symbol(Outer, Decl(innerModExport1.ts, 0, 0))

    // inner mod 1
    var non_export_var: number;
>non_export_var : Symbol(non_export_var, Decl(innerModExport1.ts, 3, 7), Decl(innerModExport1.ts, 5, 11))

    module {
        var non_export_var = 0;
>non_export_var : Symbol(non_export_var, Decl(innerModExport1.ts, 3, 7), Decl(innerModExport1.ts, 5, 11))

        export var export_var = 1;
>export_var : Symbol(export_var, Decl(innerModExport1.ts, 6, 18))

        function NonExportFunc() { return 0; }
>NonExportFunc : Symbol(NonExportFunc, Decl(innerModExport1.ts, 6, 34))

        export function ExportFunc() { return 0; }
>ExportFunc : Symbol(ExportFunc, Decl(innerModExport1.ts, 8, 46))
    }

    export var outer_var_export = 0;
>outer_var_export : Symbol(outer_var_export, Decl(innerModExport1.ts, 13, 14))

    export function outerFuncExport() { return 0; }
>outerFuncExport : Symbol(outerFuncExport, Decl(innerModExport1.ts, 13, 36))

}

Outer.ExportFunc();
>Outer.ExportFunc : Symbol(Outer.ExportFunc, Decl(innerModExport1.ts, 8, 46))
>Outer : Symbol(Outer, Decl(innerModExport1.ts, 0, 0))
>ExportFunc : Symbol(Outer.ExportFunc, Decl(innerModExport1.ts, 8, 46))