Methods

M getConstantValue(node: ts.PropertyAccessExpression|ts.ElementAccessExpression) number

Parameters:
Name Type
node ts.PropertyAccessExpression | ts.ElementAccessExpression
Returns: { number }

M getEnumMemberValue(node: ts.EnumMember) number

Parameters:
Name Type
node ts.EnumMember
Returns: { number }

M getExportAssignmentName(node: ts.SourceFile) string

Parameters:
Name Type
node ts.SourceFile
Returns: { string }

M getExpressionNamePrefix(node: ts.Identifier) string

Parameters:
Name Type
node ts.Identifier
Returns: { string }

M getLocalNameOfContainer(container: ts.ModuleDeclaration|ts.EnumDeclaration) string

Parameters:
Name Type
container ts.ModuleDeclaration | ts.EnumDeclaration
Returns: { string }

M getNodeCheckFlags(node: ts.Node) ts.NodeCheckFlags

Parameters:
Name Type
node ts.Node
Returns: { ts.NodeCheckFlags }

M getProgram() ts.Program

Returns: { ts.Program }

M hasSemanticErrors(sourceFile: ts.SourceFile) boolean

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Returns: { boolean }

M isDeclarationVisible(node: ts.Declaration) boolean

Parameters:
Name Type
node ts.Declaration
Returns: { boolean }

M isEmitBlocked(sourceFile: ts.SourceFile) boolean

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Returns: { boolean }

M isEntityNameVisible(entityName: Identifier|QualifiedName, enclosingDeclaration: ts.Node) ts.SymbolVisibilityResult

Parameters:
Name Type
entityName Identifier | QualifiedName
enclosingDeclaration ts.Node
Returns: { ts.SymbolVisibilityResult }

M isImplementationOfOverload(node: ts.FunctionLikeDeclaration) boolean

Parameters:
Name Type
node ts.FunctionLikeDeclaration
Returns: { boolean }

M isReferencedImportDeclaration(node: ts.ImportDeclaration) boolean

Parameters:
Name Type
node ts.ImportDeclaration
Returns: { boolean }

M isSymbolAccessible(symbol: ts.Symbol, enclosingDeclaration: ts.Node, meaning: ts.SymbolFlags) ts.SymbolAccessiblityResult

Parameters:
Name Type
symbol ts.Symbol
enclosingDeclaration ts.Node
meaning ts.SymbolFlags
Returns: { ts.SymbolAccessiblityResult }

M isTopLevelValueImportWithEntityName(node: ts.ImportDeclaration) boolean

Parameters:
Name Type
node ts.ImportDeclaration
Returns: { boolean }

M writeReturnTypeOfSignatureDeclaration(signatureDeclaration: ts.SignatureDeclaration, enclosingDeclaration: ts.Node, flags: ts.TypeFormatFlags, writer: ts.SymbolWriter) void

Parameters:
Name Type
signatureDeclaration ts.SignatureDeclaration
enclosingDeclaration ts.Node
flags ts.TypeFormatFlags
writer ts.SymbolWriter
Returns: { void }

M writeTypeOfDeclaration(declaration: ts.AccessorDeclaration|ParameterDeclaration|VariableDeclaration, enclosingDeclaration: ts.Node, flags: ts.TypeFormatFlags, writer: ts.SymbolWriter) void

Parameters:
Name Type
declaration ts.AccessorDeclaration | ParameterDeclaration | VariableDeclaration
enclosingDeclaration ts.Node
flags ts.TypeFormatFlags
writer ts.SymbolWriter
Returns: { void }