File: classDeclarationLoop.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (23 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
=== tests/cases/conformance/classes/classDeclarations/classDeclarationLoop.ts ===
const arr = [];
>arr : Symbol(arr, Decl(classDeclarationLoop.ts, 0, 5))

for (let i = 0; i < 10; ++i) {
>i : Symbol(i, Decl(classDeclarationLoop.ts, 1, 8))
>i : Symbol(i, Decl(classDeclarationLoop.ts, 1, 8))
>i : Symbol(i, Decl(classDeclarationLoop.ts, 1, 8))

    class C {
>C : Symbol(C, Decl(classDeclarationLoop.ts, 1, 30))

        prop = i;
>prop : Symbol(C.prop, Decl(classDeclarationLoop.ts, 2, 13))
>i : Symbol(i, Decl(classDeclarationLoop.ts, 1, 8))
    }
    arr.push(C);
>arr.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
>arr : Symbol(arr, Decl(classDeclarationLoop.ts, 0, 5))
>push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
>C : Symbol(C, Decl(classDeclarationLoop.ts, 1, 30))
}