Methods
M emitFiles(targetSourceFile: ts.SourceFile) ts.EmitResult
M getContextualType(node: ts.Expression) ts.Type
M getDeclarationDiagnostics(sourceFile: ts.SourceFile) ts.Diagnostic[]
M getDiagnostics(sourceFile: ts.SourceFile) ts.Diagnostic[]
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
M getEnumMemberValue(node: ts.EnumMember) number
M getFullyQualifiedName(symbol: ts.Symbol) string
M getGlobalDiagnostics() ts.Diagnostic[]
M getIndexTypeOfType(type: ts.Type, kind: ts.IndexKind) ts.Type
M getProgram() ts.Program
M getResolvedSignature(node: CallExpression|NewExpression|TaggedTemplateExpression, candidatesOutArray: ts.Signature[]) ts.Signature
Parameters:
Name | Type | Argument |
---|---|---|
node |
CallExpression | NewExpression | TaggedTemplateExpression | |
candidatesOutArray |
Array.<ts.Signature> |
<optional> |
M getReturnTypeOfSignature(signature: ts.Signature) ts.Type
M getSignatureFromDeclaration(declaration: ts.SignatureDeclaration) ts.Signature
M getSignaturesOfType(type: ts.Type, kind: ts.SignatureKind) ts.Signature[]
M getSymbolDisplayBuilder() ts.SymbolDisplayBuilder
M getSymbolsInScope(location: ts.Node, meaning: ts.SymbolFlags) ts.Symbol[]
M isArgumentsSymbol(symbol: ts.Symbol) boolean
M isEmitBlocked(sourceFile: ts.SourceFile) boolean
M isImplementationOfOverload(node: ts.FunctionLikeDeclaration) boolean
M isUndefinedSymbol(symbol: ts.Symbol) boolean
M isValidPropertyAccess(node: ts.PropertyAccessExpression|ts.QualifiedName, propertyName: string) boolean
Parameters:
Name | Type |
---|---|
node |
ts.PropertyAccessExpression | ts.QualifiedName |
propertyName |
string |
M symbolToString(symbol: ts.Symbol, enclosingDeclaration: ts.Node, meaning: ts.SymbolFlags) string
Parameters:
Name | Type | Argument |
---|---|---|
symbol |
ts.Symbol | |
enclosingDeclaration |
ts.Node |
<optional> |
meaning |
ts.SymbolFlags |
<optional> |
M typeToString(type: ts.Type, enclosingDeclaration: ts.Node, flags: ts.TypeFormatFlags) string
Parameters:
Name | Type | Argument |
---|---|---|
type |
ts.Type | |
enclosingDeclaration |
ts.Node |
<optional> |
flags |
ts.TypeFormatFlags |
<optional> |