76 lines
5 KiB
Text
76 lines
5 KiB
Text
=== tests/cases/compiler/declFilePrivateMethodOverloads.ts ===
|
|
|
|
interface IContext {
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
someMethod();
|
|
>someMethod : Symbol(someMethod, Decl(declFilePrivateMethodOverloads.ts, 1, 20))
|
|
}
|
|
class c1 {
|
|
>c1 : Symbol(c1, Decl(declFilePrivateMethodOverloads.ts, 3, 1))
|
|
|
|
private _forEachBindingContext(bindingContext: IContext, fn: (bindingContext: IContext) => void);
|
|
>_forEachBindingContext : Symbol(_forEachBindingContext, Decl(declFilePrivateMethodOverloads.ts, 4, 10), Decl(declFilePrivateMethodOverloads.ts, 5, 101), Decl(declFilePrivateMethodOverloads.ts, 6, 113))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 5, 35))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 5, 60))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 5, 66))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
private _forEachBindingContext(bindingContextArray: Array<IContext>, fn: (bindingContext: IContext) => void);
|
|
>_forEachBindingContext : Symbol(_forEachBindingContext, Decl(declFilePrivateMethodOverloads.ts, 4, 10), Decl(declFilePrivateMethodOverloads.ts, 5, 101), Decl(declFilePrivateMethodOverloads.ts, 6, 113))
|
|
>bindingContextArray : Symbol(bindingContextArray, Decl(declFilePrivateMethodOverloads.ts, 6, 35))
|
|
>Array : Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 6, 72))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 6, 78))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
private _forEachBindingContext(context, fn: (bindingContext: IContext) => void): void {
|
|
>_forEachBindingContext : Symbol(_forEachBindingContext, Decl(declFilePrivateMethodOverloads.ts, 4, 10), Decl(declFilePrivateMethodOverloads.ts, 5, 101), Decl(declFilePrivateMethodOverloads.ts, 6, 113))
|
|
>context : Symbol(context, Decl(declFilePrivateMethodOverloads.ts, 7, 35))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 7, 43))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 7, 49))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
// Function here
|
|
}
|
|
|
|
private overloadWithArityDifference(bindingContext: IContext);
|
|
>overloadWithArityDifference : Symbol(overloadWithArityDifference, Decl(declFilePrivateMethodOverloads.ts, 9, 5), Decl(declFilePrivateMethodOverloads.ts, 11, 66), Decl(declFilePrivateMethodOverloads.ts, 12, 118))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 11, 40))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
private overloadWithArityDifference(bindingContextArray: Array<IContext>, fn: (bindingContext: IContext) => void);
|
|
>overloadWithArityDifference : Symbol(overloadWithArityDifference, Decl(declFilePrivateMethodOverloads.ts, 9, 5), Decl(declFilePrivateMethodOverloads.ts, 11, 66), Decl(declFilePrivateMethodOverloads.ts, 12, 118))
|
|
>bindingContextArray : Symbol(bindingContextArray, Decl(declFilePrivateMethodOverloads.ts, 12, 40))
|
|
>Array : Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 12, 77))
|
|
>bindingContext : Symbol(bindingContext, Decl(declFilePrivateMethodOverloads.ts, 12, 83))
|
|
>IContext : Symbol(IContext, Decl(declFilePrivateMethodOverloads.ts, 0, 0))
|
|
|
|
private overloadWithArityDifference(context): void {
|
|
>overloadWithArityDifference : Symbol(overloadWithArityDifference, Decl(declFilePrivateMethodOverloads.ts, 9, 5), Decl(declFilePrivateMethodOverloads.ts, 11, 66), Decl(declFilePrivateMethodOverloads.ts, 12, 118))
|
|
>context : Symbol(context, Decl(declFilePrivateMethodOverloads.ts, 13, 40))
|
|
|
|
// Function here
|
|
}
|
|
}
|
|
declare class c2 {
|
|
>c2 : Symbol(c2, Decl(declFilePrivateMethodOverloads.ts, 16, 1))
|
|
|
|
private overload1(context, fn);
|
|
>overload1 : Symbol(overload1, Decl(declFilePrivateMethodOverloads.ts, 17, 18))
|
|
>context : Symbol(context, Decl(declFilePrivateMethodOverloads.ts, 18, 22))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 18, 30))
|
|
|
|
private overload2(context);
|
|
>overload2 : Symbol(overload2, Decl(declFilePrivateMethodOverloads.ts, 18, 35), Decl(declFilePrivateMethodOverloads.ts, 20, 31))
|
|
>context : Symbol(context, Decl(declFilePrivateMethodOverloads.ts, 20, 22))
|
|
|
|
private overload2(context, fn);
|
|
>overload2 : Symbol(overload2, Decl(declFilePrivateMethodOverloads.ts, 18, 35), Decl(declFilePrivateMethodOverloads.ts, 20, 31))
|
|
>context : Symbol(context, Decl(declFilePrivateMethodOverloads.ts, 21, 22))
|
|
>fn : Symbol(fn, Decl(declFilePrivateMethodOverloads.ts, 21, 30))
|
|
}
|