Class ContextualSignatureInstantiationTypeArgumentInferenceContext

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(resolver: PullTypeResolver, context: PullTypeResolutionContext, signatureBeingInferred: PullSignatureSymbol, contextualSignature: PullSignatureSymbol, shouldFixContextualSignatureParameterTypes: boolean): ContextualSignatureInstantiationTypeArgumentInferenceContext

Parameters

Returns

ContextualSignatureInstantiationTypeArgumentInferenceContext

Properties

public candidateCache: CandidateInferenceInfo[]

public context: PullTypeResolutionContext

private contextualSignature: any

public inferenceCache: IBitMatrix

public resolver: PullTypeResolver

private shouldFixContextualSignatureParameterTypes: any

public signatureBeingInferred: PullSignatureSymbol

Methods

public _finalizeInferredTypeArguments(): PullTypeSymbol[]

Returns

PullTypeSymbol[]

public addCandidateForInference(param: PullTypeParameterSymbol, candidate: PullTypeSymbol)

Parameters

public addInferenceRoot(param: PullTypeParameterSymbol)

Parameters

public alreadyRelatingTypes(objectType: PullTypeSymbol, parameterType: PullTypeSymbol): boolean

Parameters

Returns

boolean

public fixTypeParameter(typeParameter: PullTypeParameterSymbol)

Parameters

public getInferenceInfo(param: PullTypeParameterSymbol): CandidateInferenceInfo

Parameters

Returns

CandidateInferenceInfo

public inferTypeArguments(): PullTypeSymbol[]

Returns

PullTypeSymbol[]

public isInvocationInferenceContext(): boolean

Returns

boolean

public resetRelationshipCache()