28 lines
862 B
Text
28 lines
862 B
Text
=== tests/cases/compiler/declInput3.ts ===
|
|
interface bar2 {
|
|
>bar2 : Symbol(bar2, Decl(declInput3.ts, 0, 0))
|
|
|
|
}
|
|
|
|
class bar {
|
|
>bar : Symbol(bar, Decl(declInput3.ts, 2, 1))
|
|
|
|
public f() { return ''; }
|
|
>f : Symbol(bar.f, Decl(declInput3.ts, 4, 11))
|
|
|
|
public g() { return {a: <bar>null, b: undefined, c: void 4 }; }
|
|
>g : Symbol(bar.g, Decl(declInput3.ts, 5, 27))
|
|
>a : Symbol(a, Decl(declInput3.ts, 6, 23))
|
|
>bar : Symbol(bar, Decl(declInput3.ts, 2, 1))
|
|
>b : Symbol(b, Decl(declInput3.ts, 6, 36))
|
|
>undefined : Symbol(undefined)
|
|
>c : Symbol(c, Decl(declInput3.ts, 6, 50))
|
|
|
|
public h(x = 4, y = null, z = '') { x++; }
|
|
>h : Symbol(bar.h, Decl(declInput3.ts, 6, 65))
|
|
>x : Symbol(x, Decl(declInput3.ts, 7, 11))
|
|
>y : Symbol(y, Decl(declInput3.ts, 7, 17))
|
|
>z : Symbol(z, Decl(declInput3.ts, 7, 27))
|
|
>x : Symbol(x, Decl(declInput3.ts, 7, 11))
|
|
}
|
|
|