Class PullAccessorSymbol

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(name: string): PullAccessorSymbol

Parameters

  • name: string

Returns

PullAccessorSymbol

Properties

private _getterSymbol: any

private _setterSymbol: any

public inResolution: boolean

public isOptional: boolean

public isPrinting: boolean

public isResolved: boolean

public isVarArg: boolean

public kind: PullElementKind

public name: string

public pullSymbolID: number

public type: PullTypeSymbol

Methods

public _getResolver(): PullTypeResolver

Returns

PullTypeResolver

public _resolveDeclaredSymbol(): PullSymbol

Returns

PullSymbol

public addDeclaration(decl: PullDecl)

Parameters

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 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 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 getGetter(): PullSymbol

Returns

PullSymbol

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 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 getSetter(): PullSymbol

Returns

PullSymbol

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 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 isError(): boolean

Returns

boolean

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

Parameters

  • inIsExternallyVisibleSymbols?: PullSymbol[] optional

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 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 setGetter(getter: PullSymbol)

Parameters

public setIsSynthesized(value?: boolean)

Parameters

  • value?: boolean optional

public setResolved()

public setRootSymbol(symbol: PullSymbol)

Parameters

public setSetter(setter: PullSymbol)

Parameters

public setUnresolved()

public startResolving()

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

Parameters

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

Returns

string