Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
SyntaxTreeCache
Class SyntaxTreeCache
Index
Constructor methods
constructor
Properties
_currentFileName
_currentFileScriptSnapshot
_currentFileSyntaxTree
_currentFileVersion
_host
_hostCache
Methods
createSyntaxTree
ensureInvariants
getCurrentFileSyntaxTree
updateSyntaxTree
Constructor methods
constructor
(
_host
:
ILanguageServiceHost
)
:
SyntaxTreeCache
Parameters
_host:
ILanguageServiceHost
Returns
SyntaxTreeCache
Properties
private
_currentFileName
:
any
private
_currentFileScriptSnapshot
:
any
private
_currentFileSyntaxTree
:
any
private
_currentFileVersion
:
any
private
_host
:
any
private
_hostCache
:
any
Methods
private
createSyntaxTree
(
fileName
:
any
, scriptSnapshot
:
any
)
:
any
Parameters
fileName:
any
scriptSnapshot:
any
Returns
any
private
ensureInvariants
(
fileName
:
any
, editRange
:
any
, incrementalTree
:
any
, oldScriptSnapshot
:
any
, newScriptSnapshot
:
any
)
:
any
Parameters
fileName:
any
editRange:
any
incrementalTree:
any
oldScriptSnapshot:
any
newScriptSnapshot:
any
Returns
any
public
getCurrentFileSyntaxTree
(
fileName
:
string
)
:
SyntaxTree
Parameters
fileName:
string
Returns
SyntaxTree
private
updateSyntaxTree
(
fileName
:
any
, scriptSnapshot
:
any
, previousSyntaxTree
:
any
, previousFileVersion
:
any
)
:
any
Parameters
fileName:
any
scriptSnapshot:
any
previousSyntaxTree:
any
previousFileVersion:
any
Returns
any
Globals
TypeScript
TypeScript.ASTHelpers
TypeScript.BitMatrix
TypeScript.BitVector
TypeScript.Collections
TypeScript.CompilerDiagnostics
TypeScript.DeclarationCreator
TypeScript.Indentation
TypeScript.IntegerUtilities
TypeScript.LineMap1
TypeScript.Parser
TypeScript.PullHelpers
TypeScript.PullInstantiationHelpers
TypeScript.ScriptSnapshot
TypeScript.Services
TypeScript.Services.Breakpoints
TypeScript.Services.Formatting
TypeScript.Services.Formatting.Shared
TypeScript.SimpleText
TypeScript.Syntax
TypeScript.SyntaxFacts
TypeScript.TextFactory
TypeScript.TextUtilities
typescript-services
EndOfLineState
TokenClass
CachedCompletionEntryDetails
CompletionEntry
CompletionEntryDetails
IClassifierHost
ICoreServicesHost
ILanguageService
ILanguageServiceHost
ILanguageServiceShim
ILanguageServiceShimHost
ILanguageServicesDiagnostics
IPartiallyWrittenTypeArgumentListInformation
IScriptSnapshotShim
IShim
IShimFactory
ActualSignatureInfo
BraceMatcher
ClassificationInfo
ClassificationResult
Classifier
ClassifierShim
CompletionHelpers
CompletionInfo
CompletionSession
CoreServices
CoreServicesShim
DeclReferenceCompletionEntry
DefinitionInfo
DiagnosticCategory
EditorOptions
FindReferenceHelpers
FormalParameterInfo
FormalSignatureItemInfo
FormalTypeParameterInfo
FormatCodeOptions
GetScriptLexicalStructureWalker
Indenter
KeywordCompletions
LanguageService
LanguageServiceCompiler
LanguageServiceShim
LanguageServiceShimHostAdapter
MatchKind
NavigateToItem
OutliningElementsCollector
ReferenceEntry
ResolvedCompletionEntry
ScriptElementKind
ScriptElementKindModifier
ShimBase
SignatureInfo
SignatureInfoHelpers
SpanInfo
SyntaxTreeCache
constructor
_currentFileName
_currentFileScriptSnapshot
_currentFileSyntaxTree
_currentFileVersion
_host
_hostCache
createSyntaxTree
ensureInvariants
getCurrentFileSyntaxTree
updateSyntaxTree
TextEdit
TypeInfo
TypeScriptServicesFactory
copyDataObject
forwardJSONCall
logInternalError
simpleForwardCall