Extends
Properties
P flags: ts.NodeFlags
P grammarDiagnostics: ts.Diagnostic[]
P kind: ts.SyntaxKind
P languageVersion: ts.ScriptTarget
P locals: ts.SymbolTable
P localSymbol: ts.Symbol
P modifiers: ts.ModifiersArray
P nextContainer: ts.Node
P parent: ts.Node
P parseDiagnostics: ts.Diagnostic[]
P parserContextFlags: ts.ParserContextFlags
P referencedFiles: ts.FileReference[]
P referenceDiagnostics: ts.Diagnostic[]
P semanticDiagnostics: ts.Diagnostic[]
P statements: ts.NodeArray<ts.ModuleElement>
P symbol: ts.Symbol
Methods
M getChildAt(index: number, sourceFile: ts.SourceFile) ts.Node
Parameters:
Name | Type | Argument |
---|---|---|
index |
number | |
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getChildCount(sourceFile: ts.SourceFile) number
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getChildren(sourceFile: ts.SourceFile) ts.Node[]
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getFirstToken(sourceFile: ts.SourceFile) ts.Node
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getFullText(sourceFile: ts.SourceFile) string
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getLastToken(sourceFile: ts.SourceFile) ts.Node
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getLeadingTriviaWidth(sourceFile: ts.SourceFile) number
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getLineAndCharacterFromPosition(position: number) ts.LineAndCharacter
M getNamedDeclarations() ts.Declaration[]
Parameters:
Name | Type |
---|---|
line |
number |
character |
number |
M getScriptSnapshot() ts.IScriptSnapshot
M getSourceFile() ts.SourceFile
M getStart(sourceFile: ts.SourceFile) number
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getSyntacticDiagnostics() ts.Diagnostic[]
M getText(sourceFile: ts.SourceFile) string
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M getWidth(sourceFile: ts.SourceFile) number
Parameters:
Name | Type | Argument |
---|---|---|
sourceFile |
ts.SourceFile |
<optional> |
- Inherited From:
M update(scriptSnapshot: ts.IScriptSnapshot, version: string, isOpen: boolean, textChangeRange: ts.TextChangeRange) ts.SourceFile
Parameters:
Name | Type |
---|---|
scriptSnapshot |
ts.IScriptSnapshot |
version |
string |
isOpen |
boolean |
textChangeRange |
ts.TextChangeRange |