File: structural1.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 (26 lines) | stat: -rw-r--r-- 697 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
=== tests/cases/compiler/structural1.ts ===
module M {
>M : Symbol(M, Decl(structural1.ts, 0, 0))

    export interface I {
>I : Symbol(I, Decl(structural1.ts, 0, 10))

        salt:number;
>salt : Symbol(I.salt, Decl(structural1.ts, 1, 24))

        pepper:number;
>pepper : Symbol(I.pepper, Decl(structural1.ts, 2, 20))
    }

    export function f(i:I) {
>f : Symbol(f, Decl(structural1.ts, 4, 5))
>i : Symbol(i, Decl(structural1.ts, 6, 22))
>I : Symbol(I, Decl(structural1.ts, 0, 10))
    }

    f({salt:2,pepper:0});
>f : Symbol(f, Decl(structural1.ts, 4, 5))
>salt : Symbol(salt, Decl(structural1.ts, 9, 7))
>pepper : Symbol(pepper, Decl(structural1.ts, 9, 14))
}