TypeScript/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.symbols
2015-04-15 16:44:20 -07:00

257 lines
16 KiB
Plaintext

=== tests/cases/compiler/genericClassPropertyInheritanceSpecialization.ts ===
interface KnockoutObservableBase<T> {
>KnockoutObservableBase : Symbol(KnockoutObservableBase, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 0))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 33))
peek(): T;
>peek : Symbol(peek, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 37))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 33))
(): T;
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 33))
(value: T): void;
>value : Symbol(value, Decl(genericClassPropertyInheritanceSpecialization.ts, 3, 5))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 33))
}
interface KnockoutObservable<T> extends KnockoutObservableBase<T> {
>KnockoutObservable : Symbol(KnockoutObservable, Decl(genericClassPropertyInheritanceSpecialization.ts, 4, 1))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 6, 29))
>KnockoutObservableBase : Symbol(KnockoutObservableBase, Decl(genericClassPropertyInheritanceSpecialization.ts, 0, 0))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 6, 29))
equalityComparer(a: T, b: T): boolean;
>equalityComparer : Symbol(equalityComparer, Decl(genericClassPropertyInheritanceSpecialization.ts, 6, 67))
>a : Symbol(a, Decl(genericClassPropertyInheritanceSpecialization.ts, 7, 21))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 6, 29))
>b : Symbol(b, Decl(genericClassPropertyInheritanceSpecialization.ts, 7, 26))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 6, 29))
valueHasMutated(): void;
>valueHasMutated : Symbol(valueHasMutated, Decl(genericClassPropertyInheritanceSpecialization.ts, 7, 42))
valueWillMutate(): void;
>valueWillMutate : Symbol(valueWillMutate, Decl(genericClassPropertyInheritanceSpecialization.ts, 8, 28))
}
interface KnockoutObservableArray<T> extends KnockoutObservable<T[]> {
>KnockoutObservableArray : Symbol(KnockoutObservableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 10, 1))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>KnockoutObservable : Symbol(KnockoutObservable, Decl(genericClassPropertyInheritanceSpecialization.ts, 4, 1))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
indexOf(searchElement: T, fromIndex?: number): number;
>indexOf : Symbol(indexOf, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 70))
>searchElement : Symbol(searchElement, Decl(genericClassPropertyInheritanceSpecialization.ts, 13, 12))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>fromIndex : Symbol(fromIndex, Decl(genericClassPropertyInheritanceSpecialization.ts, 13, 29))
slice(start: number, end?: number): T[];
>slice : Symbol(slice, Decl(genericClassPropertyInheritanceSpecialization.ts, 13, 58))
>start : Symbol(start, Decl(genericClassPropertyInheritanceSpecialization.ts, 14, 10))
>end : Symbol(end, Decl(genericClassPropertyInheritanceSpecialization.ts, 14, 24))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
splice(start: number, deleteCount?: number, ...items: T[]): T[];
>splice : Symbol(splice, Decl(genericClassPropertyInheritanceSpecialization.ts, 14, 44))
>start : Symbol(start, Decl(genericClassPropertyInheritanceSpecialization.ts, 15, 11))
>deleteCount : Symbol(deleteCount, Decl(genericClassPropertyInheritanceSpecialization.ts, 15, 25))
>items : Symbol(items, Decl(genericClassPropertyInheritanceSpecialization.ts, 15, 47))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
pop(): T;
>pop : Symbol(pop, Decl(genericClassPropertyInheritanceSpecialization.ts, 15, 68))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
push(...items: T[]): void;
>push : Symbol(push, Decl(genericClassPropertyInheritanceSpecialization.ts, 16, 13))
>items : Symbol(items, Decl(genericClassPropertyInheritanceSpecialization.ts, 17, 9))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
shift(): T;
>shift : Symbol(shift, Decl(genericClassPropertyInheritanceSpecialization.ts, 17, 30))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
unshift(...items: T[]): number;
>unshift : Symbol(unshift, Decl(genericClassPropertyInheritanceSpecialization.ts, 18, 15))
>items : Symbol(items, Decl(genericClassPropertyInheritanceSpecialization.ts, 19, 12))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
reverse(): T[];
>reverse : Symbol(reverse, Decl(genericClassPropertyInheritanceSpecialization.ts, 19, 35))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
sort(compareFunction?: (a: T, b: T) => number): void;
>sort : Symbol(sort, Decl(genericClassPropertyInheritanceSpecialization.ts, 20, 19))
>compareFunction : Symbol(compareFunction, Decl(genericClassPropertyInheritanceSpecialization.ts, 21, 9))
>a : Symbol(a, Decl(genericClassPropertyInheritanceSpecialization.ts, 21, 28))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>b : Symbol(b, Decl(genericClassPropertyInheritanceSpecialization.ts, 21, 33))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
replace(oldItem: T, newItem: T): void;
>replace : Symbol(replace, Decl(genericClassPropertyInheritanceSpecialization.ts, 21, 57))
>oldItem : Symbol(oldItem, Decl(genericClassPropertyInheritanceSpecialization.ts, 22, 12))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>newItem : Symbol(newItem, Decl(genericClassPropertyInheritanceSpecialization.ts, 22, 23))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
remove(item: T): T[];
>remove : Symbol(remove, Decl(genericClassPropertyInheritanceSpecialization.ts, 22, 42))
>item : Symbol(item, Decl(genericClassPropertyInheritanceSpecialization.ts, 23, 11))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
removeAll(items?: T[]): T[];
>removeAll : Symbol(removeAll, Decl(genericClassPropertyInheritanceSpecialization.ts, 23, 25))
>items : Symbol(items, Decl(genericClassPropertyInheritanceSpecialization.ts, 24, 14))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
destroy(item: T): void;
>destroy : Symbol(destroy, Decl(genericClassPropertyInheritanceSpecialization.ts, 24, 32))
>item : Symbol(item, Decl(genericClassPropertyInheritanceSpecialization.ts, 25, 12))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
destroyAll(items?: T[]): void;
>destroyAll : Symbol(destroyAll, Decl(genericClassPropertyInheritanceSpecialization.ts, 25, 27))
>items : Symbol(items, Decl(genericClassPropertyInheritanceSpecialization.ts, 26, 15))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 12, 34))
}
interface KnockoutObservableArrayStatic {
>KnockoutObservableArrayStatic : Symbol(KnockoutObservableArrayStatic, Decl(genericClassPropertyInheritanceSpecialization.ts, 27, 1))
fn: KnockoutObservableArray<any>;
>fn : Symbol(fn, Decl(genericClassPropertyInheritanceSpecialization.ts, 29, 41))
>KnockoutObservableArray : Symbol(KnockoutObservableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 10, 1))
<T>(value?: T[]): KnockoutObservableArray<T>;
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 32, 5))
>value : Symbol(value, Decl(genericClassPropertyInheritanceSpecialization.ts, 32, 8))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 32, 5))
>KnockoutObservableArray : Symbol(KnockoutObservableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 10, 1))
>T : Symbol(T, Decl(genericClassPropertyInheritanceSpecialization.ts, 32, 5))
}
declare module ko {
>ko : Symbol(ko, Decl(genericClassPropertyInheritanceSpecialization.ts, 33, 1))
export var observableArray: KnockoutObservableArrayStatic;
>observableArray : Symbol(observableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 36, 14))
>KnockoutObservableArrayStatic : Symbol(KnockoutObservableArrayStatic, Decl(genericClassPropertyInheritanceSpecialization.ts, 27, 1))
}
module Portal.Controls.Validators {
>Portal : Symbol(Portal, Decl(genericClassPropertyInheritanceSpecialization.ts, 37, 1))
>Controls : Symbol(Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 14))
>Validators : Symbol(Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 23))
export class Validator<TValue> {
>Validator : Symbol(Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 35))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 41, 27))
private _subscription;
>_subscription : Symbol(_subscription, Decl(genericClassPropertyInheritanceSpecialization.ts, 41, 36))
public message: KnockoutObservable<string>;
>message : Symbol(message, Decl(genericClassPropertyInheritanceSpecialization.ts, 42, 30))
>KnockoutObservable : Symbol(KnockoutObservable, Decl(genericClassPropertyInheritanceSpecialization.ts, 4, 1))
public validationState: KnockoutObservable<number>;
>validationState : Symbol(validationState, Decl(genericClassPropertyInheritanceSpecialization.ts, 43, 51))
>KnockoutObservable : Symbol(KnockoutObservable, Decl(genericClassPropertyInheritanceSpecialization.ts, 4, 1))
public validate: KnockoutObservable<TValue>;
>validate : Symbol(validate, Decl(genericClassPropertyInheritanceSpecialization.ts, 44, 59))
>KnockoutObservable : Symbol(KnockoutObservable, Decl(genericClassPropertyInheritanceSpecialization.ts, 4, 1))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 41, 27))
constructor(message?: string) { }
>message : Symbol(message, Decl(genericClassPropertyInheritanceSpecialization.ts, 46, 20))
public destroy(): void { }
>destroy : Symbol(destroy, Decl(genericClassPropertyInheritanceSpecialization.ts, 46, 41))
public _validate(value: TValue): number {return 0 }
>_validate : Symbol(_validate, Decl(genericClassPropertyInheritanceSpecialization.ts, 47, 34))
>value : Symbol(value, Decl(genericClassPropertyInheritanceSpecialization.ts, 48, 25))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 41, 27))
}
}
module PortalFx.ViewModels.Controls.Validators {
>PortalFx : Symbol(PortalFx, Decl(genericClassPropertyInheritanceSpecialization.ts, 50, 1))
>ViewModels : Symbol(ViewModels, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 16))
>Controls : Symbol(Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 27))
>Validators : Symbol(Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 36))
export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> {
>Validator : Symbol(Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 48))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 54, 27))
>Portal.Controls.Validators.Validator : Symbol(Portal.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 35))
>Portal.Controls.Validators : Symbol(Portal.Controls.Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 23))
>Portal.Controls : Symbol(Portal.Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 14))
>Portal : Symbol(Portal, Decl(genericClassPropertyInheritanceSpecialization.ts, 37, 1))
>Controls : Symbol(Portal.Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 14))
>Validators : Symbol(Portal.Controls.Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 23))
>Validator : Symbol(Portal.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 35))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 54, 27))
constructor(message?: string) {
>message : Symbol(message, Decl(genericClassPropertyInheritanceSpecialization.ts, 56, 20))
super(message);
>super : Symbol(Portal.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 35))
>message : Symbol(message, Decl(genericClassPropertyInheritanceSpecialization.ts, 56, 20))
}
}
}
interface Contract<TValue> {
>Contract : Symbol(Contract, Decl(genericClassPropertyInheritanceSpecialization.ts, 61, 1))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 63, 19))
validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>;
>validators : Symbol(validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 63, 28))
>KnockoutObservableArray : Symbol(KnockoutObservableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 10, 1))
>PortalFx : Symbol(PortalFx, Decl(genericClassPropertyInheritanceSpecialization.ts, 50, 1))
>ViewModels : Symbol(PortalFx.ViewModels, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 16))
>Controls : Symbol(PortalFx.ViewModels.Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 27))
>Validators : Symbol(PortalFx.ViewModels.Controls.Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 36))
>Validator : Symbol(PortalFx.ViewModels.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 48))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 63, 19))
}
class ViewModel<TValue> implements Contract<TValue> {
>ViewModel : Symbol(ViewModel, Decl(genericClassPropertyInheritanceSpecialization.ts, 66, 1))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 69, 16))
>Contract : Symbol(Contract, Decl(genericClassPropertyInheritanceSpecialization.ts, 61, 1))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 69, 16))
public validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>();
>validators : Symbol(validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 69, 53))
>KnockoutObservableArray : Symbol(KnockoutObservableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 10, 1))
>PortalFx : Symbol(PortalFx, Decl(genericClassPropertyInheritanceSpecialization.ts, 50, 1))
>ViewModels : Symbol(PortalFx.ViewModels, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 16))
>Controls : Symbol(PortalFx.ViewModels.Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 27))
>Validators : Symbol(PortalFx.ViewModels.Controls.Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 36))
>Validator : Symbol(PortalFx.ViewModels.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 48))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 69, 16))
>ko.observableArray : Symbol(ko.observableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 36, 14))
>ko : Symbol(ko, Decl(genericClassPropertyInheritanceSpecialization.ts, 33, 1))
>observableArray : Symbol(ko.observableArray, Decl(genericClassPropertyInheritanceSpecialization.ts, 36, 14))
>PortalFx : Symbol(PortalFx, Decl(genericClassPropertyInheritanceSpecialization.ts, 50, 1))
>ViewModels : Symbol(PortalFx.ViewModels, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 16))
>Controls : Symbol(PortalFx.ViewModels.Controls, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 27))
>Validators : Symbol(PortalFx.ViewModels.Controls.Validators, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 36))
>Validator : Symbol(PortalFx.ViewModels.Controls.Validators.Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 48))
>TValue : Symbol(TValue, Decl(genericClassPropertyInheritanceSpecialization.ts, 69, 16))
}