File: reversedRecusiveTypeInstantiation.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (33 lines) | stat: -rw-r--r-- 1,732 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
=== tests/cases/compiler/reversedRecusiveTypeInstantiation.ts ===
interface A<StringArgPos1, NumberArgPos2> {
>A : Symbol(A, Decl(reversedRecusiveTypeInstantiation.ts, 0, 0))
>StringArgPos1 : Symbol(StringArgPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 12))
>NumberArgPos2 : Symbol(NumberArgPos2, Decl(reversedRecusiveTypeInstantiation.ts, 0, 26))

   xPos1 : StringArgPos1
>xPos1 : Symbol(A.xPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 43))
>StringArgPos1 : Symbol(StringArgPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 12))

   yPos2 : NumberArgPos2
>yPos2 : Symbol(A.yPos2, Decl(reversedRecusiveTypeInstantiation.ts, 1, 24))
>NumberArgPos2 : Symbol(NumberArgPos2, Decl(reversedRecusiveTypeInstantiation.ts, 0, 26))

   zPos2Pos1 : A<NumberArgPos2, StringArgPos1>
>zPos2Pos1 : Symbol(A.zPos2Pos1, Decl(reversedRecusiveTypeInstantiation.ts, 2, 24))
>A : Symbol(A, Decl(reversedRecusiveTypeInstantiation.ts, 0, 0))
>NumberArgPos2 : Symbol(NumberArgPos2, Decl(reversedRecusiveTypeInstantiation.ts, 0, 26))
>StringArgPos1 : Symbol(StringArgPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 12))
}

var a : A<string, number>
>a : Symbol(a, Decl(reversedRecusiveTypeInstantiation.ts, 6, 3))
>A : Symbol(A, Decl(reversedRecusiveTypeInstantiation.ts, 0, 0))

a.zPos2Pos1.xPos1 = 1
>a.zPos2Pos1.xPos1 : Symbol(A.xPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 43))
>a.zPos2Pos1 : Symbol(A.zPos2Pos1, Decl(reversedRecusiveTypeInstantiation.ts, 2, 24))
>a : Symbol(a, Decl(reversedRecusiveTypeInstantiation.ts, 6, 3))
>zPos2Pos1 : Symbol(A.zPos2Pos1, Decl(reversedRecusiveTypeInstantiation.ts, 2, 24))
>xPos1 : Symbol(A.xPos1, Decl(reversedRecusiveTypeInstantiation.ts, 0, 43))