Class PullTypeEnclosingTypeWalker

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): PullTypeEnclosingTypeWalker

Returns

PullTypeEnclosingTypeWalker

Properties

private static _defaultEnclosingTypeWalkerState: any

private static _nonGenericEnclosingTypeWalkerState: any

private enclosingTypeWalkerState: any

Methods

public _canWalkStructure(): boolean

Returns

boolean

public _getCurrentSymbol(): PullSymbol

Returns

PullSymbol

private _popSymbol(): any

Returns

any

private _pushSymbol(symbol: any): any

Parameters

  • symbol: any

Returns

any

private _setEnclosingTypeOfParentDecl(decl: any, setSignature: any): any

Parameters

  • decl: any
  • setSignature: any

Returns

any

private canDeclBeUsedAsEnclosingType(decl: any): any

Parameters

  • decl: any

Returns

any

private canSymbolBeUsedAsEnclosingType(symbol: any): any

Parameters

  • symbol: any

Returns

any

private canSymbolOrDeclBeUsedAsEnclosingTypeHelper(name: any, kind: any): any

Parameters

  • name: any
  • kind: any

Returns

any

public endWalkingType(stateWhenStartedWalkingTypes: EnclosingTypeWalkerState)

Parameters

public getBothKindOfIndexSignatures(resolver: PullTypeResolver, context: PullTypeResolutionContext, includeAugmentedType: boolean): IndexSignatureInfo

Parameters

Returns

IndexSignatureInfo

public getEnclosingType(): PullTypeSymbol

Returns

PullTypeSymbol

public getGenerativeClassification(): GenerativeTypeClassification

Returns

GenerativeTypeClassification

public postWalkIndexSignatureReturnType(onlySignature?: boolean)

Parameters

  • onlySignature?: boolean optional

public postWalkMemberType()

public postWalkParameterType()

public postWalkReturnType()

public postWalkSignature()

public postWalkTypeArgument()

public postWalkTypeParameterConstraint()

public resetEnclosingTypeWalkerState(): EnclosingTypeWalkerState

Returns

EnclosingTypeWalkerState

private setDefaultTypeWalkerState(): any

Returns

any

public setEnclosingTypeForSymbol(symbol: PullSymbol): EnclosingTypeWalkerState

Parameters

Returns

EnclosingTypeWalkerState

public setEnclosingTypeWalkerState(enclosingTypeWalkerState: EnclosingTypeWalkerState)

Parameters

private setNonGenericEnclosingTypeWalkerState(): any

Returns

any

private setSymbolAsEnclosingType(type: any): any

Parameters

  • type: any

Returns

any

public startWalkingType(symbol: PullTypeSymbol): EnclosingTypeWalkerState

Parameters

Returns

EnclosingTypeWalkerState

public walkIndexSignatureReturnType(indexSigInfo: IndexSignatureInfo, useStringIndexSignature: boolean, onlySignature?: boolean)

Parameters

  • indexSigInfo: IndexSignatureInfo
  • useStringIndexSignature: boolean
  • onlySignature?: boolean optional

public walkMemberType(memberName: string, resolver: PullTypeResolver)

Parameters

public walkParameterType(iParam: number)

Parameters

  • iParam: number

public walkReturnType()

public walkSignature(kind: PullElementKind, index: number)

Parameters

public walkTypeArgument(index: number)

Parameters

  • index: number

public walkTypeParameterConstraint(index: number)

Parameters

  • index: number