Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
GetScriptLexicalStructureWalker
Class GetScriptLexicalStructureWalker
Hierarchy
PositionTrackingWalker
GetScriptLexicalStructureWalker
Index
Constructor methods
constructor
Properties
currentInterfaceDeclaration
currentMemberVariableDeclaration
currentScope
currentVariableStatement
fileName
kindStack
nameStack
parentScopes
Methods
addAdditionalSpan
collectItems
createItem
createScope
getKindModifiers
getListsOfAllScriptLexicalStructure
getModuleNames
getModuleNamesHelper
popScope
position
pushNewContainerScope
skip
visitArgumentList
visitArrayLiteralExpression
visitArrayType
visitBinaryExpression
visitBlock
visitBreakStatement
visitCallSignature
visitCaseSwitchClause
visitCastExpression
visitCatchClause
visitClassDeclaration
visitConditionalExpression
visitConstraint
visitConstructSignature
visitConstructorDeclaration
visitConstructorType
visitContinueStatement
visitDebuggerStatement
visitDefaultSwitchClause
visitDeleteExpression
visitDoStatement
visitElementAccessExpression
visitElseClause
visitEmptyStatement
visitEnumDeclaration
visitEnumElement
visitEqualsValueClause
visitExportAssignment
visitExpressionStatement
visitExternalModuleReference
visitFinallyClause
visitForInStatement
visitForStatement
visitFunctionDeclaration
visitFunctionExpression
visitFunctionPropertyAssignment
visitFunctionType
visitGenericType
visitGetAccessor
visitHeritageClause
visitIfStatement
visitImportDeclaration
visitIndexMemberDeclaration
visitIndexSignature
visitInterfaceDeclaration
visitInvocationExpression
visitLabeledStatement
visitList
visitMemberAccessExpression
visitMemberFunctionDeclaration
visitMemberVariableDeclaration
visitMethodSignature
visitModuleDeclaration
visitModuleDeclarationWorker
visitModuleNameModuleReference
visitNode
visitNodeOrToken
visitObjectCreationExpression
visitObjectLiteralExpression
visitObjectType
visitOmittedExpression
visitOptionalNode
visitOptionalNodeOrToken
visitParameter
visitParameterList
visitParenthesizedArrowFunctionExpression
visitParenthesizedExpression
visitPostfixUnaryExpression
visitPrefixUnaryExpression
visitPropertySignature
visitQualifiedName
visitReturnStatement
visitSeparatedList
visitSetAccessor
visitSimpleArrowFunctionExpression
visitSimplePropertyAssignment
visitSourceUnit
visitSwitchStatement
visitThrowStatement
visitToken
visitTryStatement
visitTypeAnnotation
visitTypeArgumentList
visitTypeOfExpression
visitTypeParameter
visitTypeParameterList
visitTypeQuery
visitVariableDeclaration
visitVariableDeclarator
visitVariableStatement
visitVoidExpression
visitWhileStatement
visitWithStatement
Constructor methods
constructor
(
fileName
:
string
)
:
GetScriptLexicalStructureWalker
Parameters
fileName:
string
Returns
GetScriptLexicalStructureWalker
Properties
private
currentInterfaceDeclaration
:
any
private
currentMemberVariableDeclaration
:
any
private
currentScope
:
any
private
currentVariableStatement
:
any
private
fileName
:
any
private
kindStack
:
any
private
nameStack
:
any
private
parentScopes
:
any
Methods
private
addAdditionalSpan
(
node
:
any
, key
:
any
)
:
any
Parameters
node:
any
key:
any
Returns
any
private
collectItems
(
items
:
any
, scope
?:
any
)
:
any
Parameters
items:
any
scope?:
any
optional
Returns
any
private
createItem
(
node
:
any
, modifiers
:
any
, kind
:
any
, name
:
any
)
:
any
Parameters
node:
any
modifiers:
any
kind:
any
name:
any
Returns
any
private
createScope
(
)
:
any
Returns
any
private
getKindModifiers
(
modifiers
:
any
)
:
any
Parameters
modifiers:
any
Returns
any
public
static
getListsOfAllScriptLexicalStructure
(
items
:
NavigateToItem
[]
, fileName
:
string
, unit
:
SourceUnitSyntax
)
Parameters
items:
NavigateToItem
[]
fileName:
string
unit:
SourceUnitSyntax
private
getModuleNames
(
node
:
any
)
:
any
Parameters
node:
any
Returns
any
private
getModuleNamesHelper
(
name
:
any
, result
:
any
)
:
any
Parameters
name:
any
result:
any
Returns
any
private
popScope
(
)
:
any
Returns
any
public
position
(
)
:
number
Returns
number
private
pushNewContainerScope
(
containerName
:
any
, kind
:
any
)
:
any
Parameters
containerName:
any
kind:
any
Returns
any
public
skip
(
element
:
ISyntaxElement
)
Parameters
element:
ISyntaxElement
public
visitArgumentList
(
node
:
ArgumentListSyntax
)
Parameters
node:
ArgumentListSyntax
public
visitArrayLiteralExpression
(
node
:
ArrayLiteralExpressionSyntax
)
Parameters
node:
ArrayLiteralExpressionSyntax
public
visitArrayType
(
node
:
ArrayTypeSyntax
)
Parameters
node:
ArrayTypeSyntax
public
visitBinaryExpression
(
node
:
BinaryExpressionSyntax
)
Parameters
node:
BinaryExpressionSyntax
public
visitBlock
(
node
:
BlockSyntax
)
Parameters
node:
BlockSyntax
public
visitBreakStatement
(
node
:
BreakStatementSyntax
)
Parameters
node:
BreakStatementSyntax
public
visitCallSignature
(
node
:
CallSignatureSyntax
)
Parameters
node:
CallSignatureSyntax
public
visitCaseSwitchClause
(
node
:
CaseSwitchClauseSyntax
)
Parameters
node:
CaseSwitchClauseSyntax
public
visitCastExpression
(
node
:
CastExpressionSyntax
)
Parameters
node:
CastExpressionSyntax
public
visitCatchClause
(
node
:
CatchClauseSyntax
)
Parameters
node:
CatchClauseSyntax
public
visitClassDeclaration
(
node
:
ClassDeclarationSyntax
)
Parameters
node:
ClassDeclarationSyntax
public
visitConditionalExpression
(
node
:
ConditionalExpressionSyntax
)
Parameters
node:
ConditionalExpressionSyntax
public
visitConstraint
(
node
:
ConstraintSyntax
)
Parameters
node:
ConstraintSyntax
public
visitConstructSignature
(
node
:
ConstructSignatureSyntax
)
Parameters
node:
ConstructSignatureSyntax
public
visitConstructorDeclaration
(
node
:
ConstructorDeclarationSyntax
)
Parameters
node:
ConstructorDeclarationSyntax
public
visitConstructorType
(
node
:
ConstructorTypeSyntax
)
Parameters
node:
ConstructorTypeSyntax
public
visitContinueStatement
(
node
:
ContinueStatementSyntax
)
Parameters
node:
ContinueStatementSyntax
public
visitDebuggerStatement
(
node
:
DebuggerStatementSyntax
)
Parameters
node:
DebuggerStatementSyntax
public
visitDefaultSwitchClause
(
node
:
DefaultSwitchClauseSyntax
)
Parameters
node:
DefaultSwitchClauseSyntax
public
visitDeleteExpression
(
node
:
DeleteExpressionSyntax
)
Parameters
node:
DeleteExpressionSyntax
public
visitDoStatement
(
node
:
DoStatementSyntax
)
Parameters
node:
DoStatementSyntax
public
visitElementAccessExpression
(
node
:
ElementAccessExpressionSyntax
)
Parameters
node:
ElementAccessExpressionSyntax
public
visitElseClause
(
node
:
ElseClauseSyntax
)
Parameters
node:
ElseClauseSyntax
public
visitEmptyStatement
(
node
:
EmptyStatementSyntax
)
Parameters
node:
EmptyStatementSyntax
public
visitEnumDeclaration
(
node
:
EnumDeclarationSyntax
)
Parameters
node:
EnumDeclarationSyntax
public
visitEnumElement
(
node
:
EnumElementSyntax
)
Parameters
node:
EnumElementSyntax
public
visitEqualsValueClause
(
node
:
EqualsValueClauseSyntax
)
Parameters
node:
EqualsValueClauseSyntax
public
visitExportAssignment
(
node
:
ExportAssignmentSyntax
)
Parameters
node:
ExportAssignmentSyntax
public
visitExpressionStatement
(
node
:
ExpressionStatementSyntax
)
Parameters
node:
ExpressionStatementSyntax
public
visitExternalModuleReference
(
node
:
ExternalModuleReferenceSyntax
)
Parameters
node:
ExternalModuleReferenceSyntax
public
visitFinallyClause
(
node
:
FinallyClauseSyntax
)
Parameters
node:
FinallyClauseSyntax
public
visitForInStatement
(
node
:
ForInStatementSyntax
)
Parameters
node:
ForInStatementSyntax
public
visitForStatement
(
node
:
ForStatementSyntax
)
Parameters
node:
ForStatementSyntax
public
visitFunctionDeclaration
(
node
:
FunctionDeclarationSyntax
)
Parameters
node:
FunctionDeclarationSyntax
public
visitFunctionExpression
(
node
:
FunctionExpressionSyntax
)
Parameters
node:
FunctionExpressionSyntax
public
visitFunctionPropertyAssignment
(
node
:
FunctionPropertyAssignmentSyntax
)
Parameters
node:
FunctionPropertyAssignmentSyntax
public
visitFunctionType
(
node
:
FunctionTypeSyntax
)
Parameters
node:
FunctionTypeSyntax
public
visitGenericType
(
node
:
GenericTypeSyntax
)
Parameters
node:
GenericTypeSyntax
public
visitGetAccessor
(
node
:
GetAccessorSyntax
)
Parameters
node:
GetAccessorSyntax
public
visitHeritageClause
(
node
:
HeritageClauseSyntax
)
Parameters
node:
HeritageClauseSyntax
public
visitIfStatement
(
node
:
IfStatementSyntax
)
Parameters
node:
IfStatementSyntax
public
visitImportDeclaration
(
node
:
ImportDeclarationSyntax
)
Parameters
node:
ImportDeclarationSyntax
public
visitIndexMemberDeclaration
(
node
:
IndexMemberDeclarationSyntax
)
Parameters
node:
IndexMemberDeclarationSyntax
public
visitIndexSignature
(
node
:
IndexSignatureSyntax
)
Parameters
node:
IndexSignatureSyntax
public
visitInterfaceDeclaration
(
node
:
InterfaceDeclarationSyntax
)
Parameters
node:
InterfaceDeclarationSyntax
public
visitInvocationExpression
(
node
:
InvocationExpressionSyntax
)
Parameters
node:
InvocationExpressionSyntax
public
visitLabeledStatement
(
node
:
LabeledStatementSyntax
)
Parameters
node:
LabeledStatementSyntax
public
visitList
(
list
:
ISyntaxList
)
Parameters
list:
ISyntaxList
public
visitMemberAccessExpression
(
node
:
MemberAccessExpressionSyntax
)
Parameters
node:
MemberAccessExpressionSyntax
public
visitMemberFunctionDeclaration
(
node
:
MemberFunctionDeclarationSyntax
)
Parameters
node:
MemberFunctionDeclarationSyntax
public
visitMemberVariableDeclaration
(
node
:
MemberVariableDeclarationSyntax
)
Parameters
node:
MemberVariableDeclarationSyntax
public
visitMethodSignature
(
node
:
MethodSignatureSyntax
)
Parameters
node:
MethodSignatureSyntax
public
visitModuleDeclaration
(
node
:
ModuleDeclarationSyntax
)
Parameters
node:
ModuleDeclarationSyntax
private
visitModuleDeclarationWorker
(
node
:
any
, names
:
any
, nameIndex
:
any
)
:
any
Parameters
node:
any
names:
any
nameIndex:
any
Returns
any
public
visitModuleNameModuleReference
(
node
:
ModuleNameModuleReferenceSyntax
)
Parameters
node:
ModuleNameModuleReferenceSyntax
public
visitNode
(
node
:
SyntaxNode
)
Parameters
node:
SyntaxNode
public
visitNodeOrToken
(
nodeOrToken
:
ISyntaxNodeOrToken
)
Parameters
nodeOrToken:
ISyntaxNodeOrToken
public
visitObjectCreationExpression
(
node
:
ObjectCreationExpressionSyntax
)
Parameters
node:
ObjectCreationExpressionSyntax
public
visitObjectLiteralExpression
(
node
:
ObjectLiteralExpressionSyntax
)
Parameters
node:
ObjectLiteralExpressionSyntax
public
visitObjectType
(
node
:
ObjectTypeSyntax
)
Parameters
node:
ObjectTypeSyntax
public
visitOmittedExpression
(
node
:
OmittedExpressionSyntax
)
Parameters
node:
OmittedExpressionSyntax
public
visitOptionalNode
(
node
:
SyntaxNode
)
Parameters
node:
SyntaxNode
public
visitOptionalNodeOrToken
(
nodeOrToken
:
ISyntaxNodeOrToken
)
Parameters
nodeOrToken:
ISyntaxNodeOrToken
public
visitParameter
(
node
:
ParameterSyntax
)
Parameters
node:
ParameterSyntax
public
visitParameterList
(
node
:
ParameterListSyntax
)
Parameters
node:
ParameterListSyntax
public
visitParenthesizedArrowFunctionExpression
(
node
:
ParenthesizedArrowFunctionExpressionSyntax
)
Parameters
node:
ParenthesizedArrowFunctionExpressionSyntax
public
visitParenthesizedExpression
(
node
:
ParenthesizedExpressionSyntax
)
Parameters
node:
ParenthesizedExpressionSyntax
public
visitPostfixUnaryExpression
(
node
:
PostfixUnaryExpressionSyntax
)
Parameters
node:
PostfixUnaryExpressionSyntax
public
visitPrefixUnaryExpression
(
node
:
PrefixUnaryExpressionSyntax
)
Parameters
node:
PrefixUnaryExpressionSyntax
public
visitPropertySignature
(
node
:
PropertySignatureSyntax
)
Parameters
node:
PropertySignatureSyntax
public
visitQualifiedName
(
node
:
QualifiedNameSyntax
)
Parameters
node:
QualifiedNameSyntax
public
visitReturnStatement
(
node
:
ReturnStatementSyntax
)
Parameters
node:
ReturnStatementSyntax
public
visitSeparatedList
(
list
:
ISeparatedSyntaxList
)
Parameters
list:
ISeparatedSyntaxList
public
visitSetAccessor
(
node
:
SetAccessorSyntax
)
Parameters
node:
SetAccessorSyntax
public
visitSimpleArrowFunctionExpression
(
node
:
SimpleArrowFunctionExpressionSyntax
)
Parameters
node:
SimpleArrowFunctionExpressionSyntax
public
visitSimplePropertyAssignment
(
node
:
SimplePropertyAssignmentSyntax
)
Parameters
node:
SimplePropertyAssignmentSyntax
public
visitSourceUnit
(
node
:
SourceUnitSyntax
)
Parameters
node:
SourceUnitSyntax
public
visitSwitchStatement
(
node
:
SwitchStatementSyntax
)
Parameters
node:
SwitchStatementSyntax
public
visitThrowStatement
(
node
:
ThrowStatementSyntax
)
Parameters
node:
ThrowStatementSyntax
public
visitToken
(
token
:
ISyntaxToken
)
Parameters
token:
ISyntaxToken
public
visitTryStatement
(
node
:
TryStatementSyntax
)
Parameters
node:
TryStatementSyntax
public
visitTypeAnnotation
(
node
:
TypeAnnotationSyntax
)
Parameters
node:
TypeAnnotationSyntax
public
visitTypeArgumentList
(
node
:
TypeArgumentListSyntax
)
Parameters
node:
TypeArgumentListSyntax
public
visitTypeOfExpression
(
node
:
TypeOfExpressionSyntax
)
Parameters
node:
TypeOfExpressionSyntax
public
visitTypeParameter
(
node
:
TypeParameterSyntax
)
Parameters
node:
TypeParameterSyntax
public
visitTypeParameterList
(
node
:
TypeParameterListSyntax
)
Parameters
node:
TypeParameterListSyntax
public
visitTypeQuery
(
node
:
TypeQuerySyntax
)
Parameters
node:
TypeQuerySyntax
public
visitVariableDeclaration
(
node
:
VariableDeclarationSyntax
)
Parameters
node:
VariableDeclarationSyntax
public
visitVariableDeclarator
(
node
:
VariableDeclaratorSyntax
)
Parameters
node:
VariableDeclaratorSyntax
public
visitVariableStatement
(
node
:
VariableStatementSyntax
)
Parameters
node:
VariableStatementSyntax
public
visitVoidExpression
(
node
:
VoidExpressionSyntax
)
Parameters
node:
VoidExpressionSyntax
public
visitWhileStatement
(
node
:
WhileStatementSyntax
)
Parameters
node:
WhileStatementSyntax
public
visitWithStatement
(
node
:
WithStatementSyntax
)
Parameters
node:
WithStatementSyntax
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
constructor
currentInterfaceDeclaration
currentMemberVariableDeclaration
currentScope
currentVariableStatement
fileName
kindStack
nameStack
parentScopes
addAdditionalSpan
collectItems
createItem
createScope
getKindModifiers
getListsOfAllScriptLexicalStructure
getModuleNames
getModuleNamesHelper
popScope
position
pushNewContainerScope
skip
visitArgumentList
visitArrayLiteralExpression
visitArrayType
visitBinaryExpression
visitBlock
visitBreakStatement
visitCallSignature
visitCaseSwitchClause
visitCastExpression
visitCatchClause
visitClassDeclaration
visitConditionalExpression
visitConstraint
visitConstructSignature
visitConstructorDeclaration
visitConstructorType
visitContinueStatement
visitDebuggerStatement
visitDefaultSwitchClause
visitDeleteExpression
visitDoStatement
visitElementAccessExpression
visitElseClause
visitEmptyStatement
visitEnumDeclaration
visitEnumElement
visitEqualsValueClause
visitExportAssignment
visitExpressionStatement
visitExternalModuleReference
visitFinallyClause
visitForInStatement
visitForStatement
visitFunctionDeclaration
visitFunctionExpression
visitFunctionPropertyAssignment
visitFunctionType
visitGenericType
visitGetAccessor
visitHeritageClause
visitIfStatement
visitImportDeclaration
visitIndexMemberDeclaration
visitIndexSignature
visitInterfaceDeclaration
visitInvocationExpression
visitLabeledStatement
visitList
visitMemberAccessExpression
visitMemberFunctionDeclaration
visitMemberVariableDeclaration
visitMethodSignature
visitModuleDeclaration
visitModuleDeclarationWorker
visitModuleNameModuleReference
visitNode
visitNodeOrToken
visitObjectCreationExpression
visitObjectLiteralExpression
visitObjectType
visitOmittedExpression
visitOptionalNode
visitOptionalNodeOrToken
visitParameter
visitParameterList
visitParenthesizedArrowFunctionExpression
visitParenthesizedExpression
visitPostfixUnaryExpression
visitPrefixUnaryExpression
visitPropertySignature
visitQualifiedName
visitReturnStatement
visitSeparatedList
visitSetAccessor
visitSimpleArrowFunctionExpression
visitSimplePropertyAssignment
visitSourceUnit
visitSwitchStatement
visitThrowStatement
visitToken
visitTryStatement
visitTypeAnnotation
visitTypeArgumentList
visitTypeOfExpression
visitTypeParameter
visitTypeParameterList
visitTypeQuery
visitVariableDeclaration
visitVariableDeclarator
visitVariableStatement
visitVoidExpression
visitWhileStatement
visitWithStatement
Indenter
KeywordCompletions
LanguageService
LanguageServiceCompiler
LanguageServiceShim
LanguageServiceShimHostAdapter
MatchKind
NavigateToItem
OutliningElementsCollector
ReferenceEntry
ResolvedCompletionEntry
ScriptElementKind
ScriptElementKindModifier
ShimBase
SignatureInfo
SignatureInfoHelpers
SpanInfo
SyntaxTreeCache
TextEdit
TypeInfo
TypeScriptServicesFactory
copyDataObject
forwardJSONCall
logInternalError
simpleForwardCall