Extends

Properties

P _declarationBrand: any

Type:
  • any
Inherited From:

P amdDependencies: string[]

Type:
  • Array.<string>

P amdModuleName: string

Type:
  • string

P end: number

Type:
  • number
Inherited From:

P endOfFileToken: ts.Node

Type:

P externalModuleIndicator: ts.Node

Type:

P filename: string

Type:
  • string

P flags: ts.NodeFlags

Type:
Inherited From:

P grammarDiagnostics: ts.Diagnostic[]

Type:

P hasNoDefaultLib: boolean

Type:
  • boolean

P id: number

Type:
  • number
Inherited From:

P identifierCount: number

Type:
  • number

P identifiers: ts.Map<string>

Type:

P isOpen: boolean

Type:
  • boolean

P kind: ts.SyntaxKind

Type:
Inherited From:

P languageVersion: ts.ScriptTarget

P locals: ts.SymbolTable

Type:
Inherited From:

P localSymbol: ts.Symbol

Type:
Inherited From:

P modifiers: ts.ModifiersArray

Type:
Inherited From:

P name: Identifier|LiteralExpression|ComputedPropertyName

Type:
  • Identifier | LiteralExpression | ComputedPropertyName
Inherited From:

P nextContainer: ts.Node

Type:
Inherited From:

P nodeCount: number

Type:
  • number

P parent: ts.Node

Type:
Inherited From:

P parseDiagnostics: ts.Diagnostic[]

Type:

P parserContextFlags: ts.ParserContextFlags

P pos: number

Type:
  • number
Inherited From:

P referencedFiles: ts.FileReference[]

Type:

P referenceDiagnostics: ts.Diagnostic[]

Type:

P semanticDiagnostics: ts.Diagnostic[]

Type:

P symbol: ts.Symbol

Type:
Inherited From:

P symbolCount: number

Type:
  • number

P text: string

Type:
  • string

P version: string

Type:
  • string

Methods

M getChildAt(index: number, sourceFile: ts.SourceFile) ts.Node

Parameters:
Name Type Argument
index number
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { ts.Node }

M getChildCount(sourceFile: ts.SourceFile) number

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { number }

M getChildren(sourceFile: ts.SourceFile) ts.Node[]

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { Array.<ts.Node> }

M getEnd() number

Inherited From:
Returns: { number }

M getFirstToken(sourceFile: ts.SourceFile) ts.Node

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { ts.Node }

M getFullStart() number

Inherited From:
Returns: { number }

M getFullText(sourceFile: ts.SourceFile) string

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { string }

M getFullWidth() number

Inherited From:
Returns: { number }

M getLastToken(sourceFile: ts.SourceFile) ts.Node

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { ts.Node }

M getLeadingTriviaWidth(sourceFile: ts.SourceFile) number

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { number }

M getLineAndCharacterFromPosition(position: number) ts.LineAndCharacter

Parameters:
Name Type
position number
Returns: { ts.LineAndCharacter }

M getLineStarts() number[]

Returns: { Array.<number> }

M getNamedDeclarations() ts.Declaration[]

Returns: { Array.<ts.Declaration> }

M getPositionFromLineAndCharacter(line: number, character: number) number

Parameters:
Name Type
line number
character number
Returns: { number }

M getScriptSnapshot() ts.IScriptSnapshot

Returns: { ts.IScriptSnapshot }

M getSourceFile() ts.SourceFile

Inherited From:
Returns: { ts.SourceFile }

M getStart(sourceFile: ts.SourceFile) number

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { number }

M getSyntacticDiagnostics() ts.Diagnostic[]

Returns: { Array.<ts.Diagnostic> }

M getText(sourceFile: ts.SourceFile) string

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { string }

M getWidth(sourceFile: ts.SourceFile) number

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Inherited From:
Returns: { number }

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
Returns: { ts.SourceFile }