File: commentOnAmbientModule.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 (37 lines) | stat: -rw-r--r-- 801 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
32
33
34
35
36
37
=== tests/cases/compiler/b.ts ===
///<reference path="a.ts"/>
declare module E {
>E : Symbol(E, Decl(b.ts, 0, 0))

    class foobar extends D.bar {
>foobar : Symbol(foobar, Decl(b.ts, 1, 18))
>D.bar : Symbol(D.bar, Decl(a.ts, 11, 18))
>D : Symbol(D, Decl(a.ts, 8, 1))
>bar : Symbol(D.bar, Decl(a.ts, 11, 18))

        foo();
>foo : Symbol(foobar.foo, Decl(b.ts, 2, 32))
    }
}
=== tests/cases/compiler/a.ts ===
/*!=========
    Keep this pinned comment
   =========
*/

/*! Don't keep this pinned comment */
declare module C {
>C : Symbol(C, Decl(a.ts, 0, 0))

    function foo();
>foo : Symbol(foo, Decl(a.ts, 6, 18))
}

// Don't keep this comment.
declare module D {
>D : Symbol(D, Decl(a.ts, 8, 1))

    class bar { }
>bar : Symbol(bar, Decl(a.ts, 11, 18))
}