Module PullHelpers

Index

Interfaces

Classes

Functions

Functions

diagnosticFromDecl(decl: PullDecl, diagnosticKey: string, _arguments?: Array<any>, additionalLocations?: Location[]): Diagnostic

Parameters

  • decl: PullDecl
  • diagnosticKey: string
  • _arguments?: Array<any> optional
  • additionalLocations?: Location[] optional

Returns

Diagnostic

getAccessorSymbol(getterOrSetter: AST, semanticInfoChain: SemanticInfoChain): PullAccessorSymbol

Parameters

Returns

PullAccessorSymbol

getGetterAndSetterFunction(funcDecl: AST, semanticInfoChain: SemanticInfoChain): { getter: TypeScript.GetAccessor; setter: TypeScript.SetAccessor; }

Parameters

Returns

{ getter: TypeScript.GetAccessor; setter: TypeScript.SetAccessor; }

getRootType(type: PullTypeSymbol): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

getSignatureForFuncDecl(functionDecl: PullDecl): { signature: TypeScript.PullSignatureSymbol; allSignatures: TypeScript.PullSignatureSymbol[]; }

Parameters

Returns

{ signature: TypeScript.PullSignatureSymbol; allSignatures: TypeScript.PullSignatureSymbol[]; }

isExportedSymbolInClodule(symbol: PullSymbol): boolean

Parameters

Returns

boolean

isNameNumeric(name: string): boolean

Parameters

  • name: string

Returns

boolean

isSymbolDeclaredInScopeChain(symbol: PullSymbol, scopeSymbol: PullSymbol): boolean

Parameters

Returns

boolean

isSymbolLocal(symbol: PullSymbol): boolean

Parameters

Returns

boolean

resolveDeclaredSymbolToUseType(symbol: PullSymbol)

Parameters

symbolIsEnum(source: PullSymbol): boolean

Parameters

Returns

boolean

symbolIsModule(symbol: PullSymbol): boolean

Parameters

Returns

boolean

typeSymbolsAreIdentical(a: PullTypeSymbol, b: PullTypeSymbol): boolean

Parameters

Returns

boolean

walkPullTypeSymbolStructure(typeSymbol: PullTypeSymbol, walker: PullTypeSymbolStructureWalker)

Parameters