Class PullInstantiatedSignatureSymbol

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(rootSignature: PullSignatureSymbol, _typeParameterArgumentMap: TypeArgumentMap): PullInstantiatedSignatureSymbol

Parameters

Returns

PullInstantiatedSignatureSymbol

Properties

private _typeParameterArgumentMap: any

public _typeParameters: PullTypeParameterSymbol[]

public functionType: PullTypeSymbol

public hasBeenChecked: boolean

public hasOptionalParam: boolean

public hasVarArgs: boolean

public inResolution: boolean

public inWrapCheck: boolean

public inWrapInfiniteExpandingReferenceCheck: boolean

public isOptional: boolean

public isPrinting: boolean

public isResolved: boolean

public isVarArg: boolean

public kind: PullElementKind

public name: string

public nonOptionalParamCount: number

public parameters: PullSymbol[]

public pullSymbolID: number

public returnType: PullTypeSymbol

public type: PullTypeSymbol

Methods

public _getResolver(): PullTypeResolver

Returns

PullTypeResolver

public _resolveDeclaredSymbol(): PullSymbol

Returns

PullSymbol

public _wrapsSomeTypeParameterIntoInfinitelyExpandingTypeReference(enclosingType: PullTypeSymbol, knownWrapMap: IBitMatrix): boolean

Parameters

Returns

boolean

public _wrapsSomeTypeParameterIntoInfinitelyExpandingTypeReferenceWorker(enclosingType: PullTypeSymbol, knownWrapMap: IBitMatrix): boolean

Parameters

Returns

boolean

public addDeclaration(decl: PullDecl)

Parameters

public addParameter(parameter: PullSymbol, isOptional?: boolean)

Parameters

  • parameter: PullSymbol
  • isOptional?: boolean optional

public addSpecialization(specializedVersionOfThisSignature: PullSignatureSymbol, typeArgumentMap: TypeArgumentMap)

Parameters

public addTypeParameter(typeParameter: PullTypeParameterSymbol)

Parameters

public addTypeParametersFromReturnType()

public allDeclsHaveFlag(flag: PullElementFlags): boolean

Parameters

Returns

boolean

public anyDeclHasFlag(flag: PullElementFlags): boolean

Parameters

Returns

boolean

public docComments(useConstructorAsClass?: boolean): string

Parameters

  • useConstructorAsClass?: boolean optional

Returns

string

public findTypeParameter(name: string): PullTypeParameterSymbol

Parameters

  • name: string

Returns

PullTypeParameterSymbol

public forAllCorrespondingParameterTypesInThisAndOtherSignature(otherSignature: PullSignatureSymbol, predicate: (thisSignatureParameterType: TypeScript.PullTypeSymbol, otherSignatureParameterType: TypeScript.PullTypeSymbol, iterationIndex: number) => boolean): boolean

Parameters

  • otherSignature: PullSignatureSymbol
  • predicate: (thisSignatureParameterType: TypeScript.PullTypeSymbol, otherSignatureParameterType: TypeScript.PullTypeSymbol, iterationIndex: number) => boolean

Returns

boolean

public forAllParameterTypes(length: number, predicate: (parameterType: TypeScript.PullTypeSymbol, iterationIndex: number) => boolean): boolean

Parameters

  • length: number
  • predicate: (parameterType: TypeScript.PullTypeSymbol, iterationIndex: number) => boolean

Returns

boolean

public fullName(scopeSymbol?: PullSymbol): string

Parameters

Returns

string

public getAliasSymbolName(scopeSymbol: PullSymbol, aliasNameGetter: (symbol: TypeScript.PullTypeAliasSymbol) => string, aliasPartsNameGetter: (symbol: TypeScript.PullTypeAliasSymbol) => string, skipInternalAlias?: boolean): string

Parameters

  • scopeSymbol: PullSymbol
  • aliasNameGetter: (symbol: TypeScript.PullTypeAliasSymbol) => string
  • aliasPartsNameGetter: (symbol: TypeScript.PullTypeAliasSymbol) => string
  • skipInternalAlias?: boolean optional

Returns

string

public getAllowedToReferenceTypeParameters(): PullTypeParameterSymbol[]

Returns

PullTypeParameterSymbol[]

public getContainer(): PullTypeSymbol

Returns

PullTypeSymbol

public getDeclarations(): PullDecl[]

Returns

PullDecl[]

public getDisplayName(scopeSymbol?: PullSymbol, useConstraintInName?: boolean, skipInternalAliasName?: boolean): string

Parameters

  • scopeSymbol?: PullSymbol optional
  • useConstraintInName?: boolean optional
  • skipInternalAliasName?: boolean optional

Returns

string

public getEnclosingSignature(): PullSignatureSymbol

Returns

PullSignatureSymbol

public getExternalAliasedSymbols(scopeSymbol: PullSymbol): PullTypeAliasSymbol[]

Parameters

Returns

PullTypeAliasSymbol[]

public getIsSpecialized(): boolean

Returns

boolean

public getIsSynthesized(): any

Returns

any

public getName(scopeSymbol?: PullSymbol, useConstraintInName?: boolean): string

Parameters

  • scopeSymbol?: PullSymbol optional
  • useConstraintInName?: boolean optional

Returns

string

public getNameAndTypeName(scopeSymbol?: PullSymbol): string

Parameters

Returns

string

public getNameAndTypeNameEx(scopeSymbol?: PullSymbol): MemberName

Parameters

Returns

MemberName

public getNamePartForFullName(): string

Returns

string

public getParameterTypeAtIndex(iParam: number): PullTypeSymbol

Parameters

  • iParam: number

Returns

PullTypeSymbol

public getRootSymbol(): PullSymbol

Returns

PullSymbol

public getScopedName(scopeSymbol?: PullSymbol, skipTypeParametersInName?: boolean, useConstraintInName?: boolean, skipInternalAliasName?: boolean): string

Parameters

  • scopeSymbol?: PullSymbol optional
  • skipTypeParametersInName?: boolean optional
  • useConstraintInName?: boolean optional
  • skipInternalAliasName?: boolean optional

Returns

string

public getScopedNameEx(scopeSymbol?: PullSymbol, skipTypeParametersInName?: boolean, useConstraintInName?: boolean, getPrettyTypeName?: boolean, getTypeParamMarkerInfo?: boolean, skipInternalAliasName?: boolean): MemberName

Parameters

  • scopeSymbol?: PullSymbol optional
  • skipTypeParametersInName?: boolean optional
  • useConstraintInName?: boolean optional
  • getPrettyTypeName?: boolean optional
  • getTypeParamMarkerInfo?: boolean optional
  • skipInternalAliasName?: boolean optional

Returns

MemberName

public getSignatureTypeNameEx(prefix: string, shortform: boolean, brackets: boolean, scopeSymbol?: PullSymbol, getParamMarkerInfo?: boolean, getTypeParamMarkerInfo?: boolean): MemberNameArray

Parameters

  • prefix: string
  • shortform: boolean
  • brackets: boolean
  • scopeSymbol?: PullSymbol optional
  • getParamMarkerInfo?: boolean optional
  • getTypeParamMarkerInfo?: boolean optional

Returns

MemberNameArray

public getSpecialization(typeArgumentMap: TypeArgumentMap): PullSignatureSymbol

Parameters

Returns

PullSignatureSymbol

public getTypeName(scopeSymbol?: PullSymbol, getPrettyTypeName?: boolean): string

Parameters

  • scopeSymbol?: PullSymbol optional
  • getPrettyTypeName?: boolean optional

Returns

string

public getTypeNameEx(scopeSymbol?: PullSymbol, getPrettyTypeName?: boolean): MemberName

Parameters

  • scopeSymbol?: PullSymbol optional
  • getPrettyTypeName?: boolean optional

Returns

MemberName

public getTypeParameterArgumentMap(): TypeArgumentMap

Returns

TypeArgumentMap

public getTypeParameters(): PullTypeParameterSymbol[]

Returns

PullTypeParameterSymbol[]

public getWrappingTypeParameterID(typeParameterArgumentMap: TypeArgumentMap): number

Parameters

Returns

number

public getWrappingTypeParameterIDWorker(typeParameterArgumentMap: TypeArgumentMap): number

Parameters

Returns

number

public hasDeclaration(decl: PullDecl): boolean

Parameters

Returns

boolean

public isAccessor(): boolean

Returns

boolean

public isAlias(): boolean

Returns

boolean

public isAny(): boolean

Returns

boolean

public isArrayNamedTypeReference(): boolean

Returns

boolean

public isContainer(): boolean

Returns

boolean

public isDefinition(): boolean

Returns

boolean

public isError(): boolean

Returns

boolean

public isExternallyVisible(inIsExternallyVisibleSymbols?: PullSymbol[]): boolean

Parameters

  • inIsExternallyVisibleSymbols?: PullSymbol[] optional

Returns

boolean

public isGeneric(): boolean

Returns

boolean

public isInterface(): boolean

Returns

boolean

public isMethod(): boolean

Returns

boolean

public isPrimitive(): boolean

Returns

boolean

public isProperty(): boolean

Returns

boolean

public isSignature(): boolean

Returns

boolean

public isStringConstantOverloadSignature(): boolean

Returns

boolean

public isType(): boolean

Returns

boolean

public isTypeReference(): boolean

Returns

boolean

public pathToRoot(): PullSymbol[]

Returns

PullSymbol[]

public setContainer(containerSymbol: PullTypeSymbol)

Parameters

public setEnclosingSignature(signature: PullSignatureSymbol)

Parameters

public setIsSynthesized(value?: boolean)

Parameters

  • value?: boolean optional

public setResolved()

public setRootSymbol(symbol: PullSymbol)

Parameters

public setUnresolved()

public startResolving()

public toString(scopeSymbol?: PullSymbol, useConstraintInName?: boolean): string

Parameters

  • scopeSymbol?: PullSymbol optional
  • useConstraintInName?: boolean optional

Returns

string

public wrapsSomeTypeParameter(typeParameterArgumentMap: TypeArgumentMap): boolean

Parameters

Returns

boolean