Class PullContextualTypeContext

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(contextualType: PullTypeSymbol, provisional: boolean, isInferentiallyTyping: boolean, typeArgumentInferenceContext: TypeArgumentInferenceContext): PullContextualTypeContext

Parameters

Returns

PullContextualTypeContext

Properties

private astSymbolMap: any

public contextualType: PullTypeSymbol

public hasProvisionalErrors: boolean

public isInferentiallyTyping: boolean

public provisional: boolean

public provisionallyTypedSymbols: PullSymbol[]

public typeArgumentInferenceContext: TypeArgumentInferenceContext

Methods

public getSymbolForAST(ast: AST): PullSymbol

Parameters

Returns

PullSymbol

public invalidateProvisionallyTypedSymbols()

public recordProvisionallyTypedSymbol(symbol: PullSymbol)

Parameters

public setSymbolForAST(ast: AST, symbol: PullSymbol)

Parameters