Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
Formatting
IndentationNodeContext
Class IndentationNodeContext
Index
Constructor methods
constructor
Properties
_childIndentationAmountDelta
_depth
_fullStart
_hasSkippedOrMissingTokenChild
_indentationAmount
_node
_parent
Methods
childIndentationAmountDelta
clone
depth
end
fullStart
fullWidth
hasSkippedOrMissingTokenChild
indentationAmount
kind
node
parent
start
update
Constructor methods
constructor
(
parent
:
IndentationNodeContext
, node
:
SyntaxNode
, fullStart
:
number
, indentationAmount
:
number
, childIndentationAmountDelta
:
number
)
:
IndentationNodeContext
Parameters
parent:
IndentationNodeContext
node:
SyntaxNode
fullStart:
number
indentationAmount:
number
childIndentationAmountDelta:
number
Returns
IndentationNodeContext
Properties
private
_childIndentationAmountDelta
:
any
private
_depth
:
any
private
_fullStart
:
any
private
_hasSkippedOrMissingTokenChild
:
any
private
_indentationAmount
:
any
private
_node
:
any
private
_parent
:
any
Methods
public
childIndentationAmountDelta
(
)
:
number
Returns
number
public
clone
(
pool
:
IndentationNodeContextPool
)
:
IndentationNodeContext
Parameters
pool:
IndentationNodeContextPool
Returns
IndentationNodeContext
public
depth
(
)
:
number
Returns
number
public
end
(
)
:
number
Returns
number
public
fullStart
(
)
:
number
Returns
number
public
fullWidth
(
)
:
number
Returns
number
public
hasSkippedOrMissingTokenChild
(
)
:
boolean
Returns
boolean
public
indentationAmount
(
)
:
number
Returns
number
public
kind
(
)
:
SyntaxKind
Returns
SyntaxKind
public
node
(
)
:
SyntaxNode
Returns
SyntaxNode
public
parent
(
)
:
IndentationNodeContext
Returns
IndentationNodeContext
public
start
(
)
:
number
Returns
number
public
update
(
parent
:
IndentationNodeContext
, node
:
SyntaxNode
, fullStart
:
number
, indentationAmount
:
number
, childIndentationAmountDelta
:
number
)
Parameters
parent:
IndentationNodeContext
node:
SyntaxNode
fullStart:
number
indentationAmount:
number
childIndentationAmountDelta:
number
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
FormattingRequestKind
RuleAction
RuleFlags
RulesPosition
ITextSnapshot
ITextSnapshotLine
Formatter
FormattingContext
FormattingManager
IndentationNodeContext
constructor
_childIndentationAmountDelta
_depth
_fullStart
_hasSkippedOrMissingTokenChild
_indentationAmount
_node
_parent
childIndentationAmountDelta
clone
depth
end
fullStart
fullWidth
hasSkippedOrMissingTokenChild
indentationAmount
kind
node
parent
start
update
IndentationNodeContextPool
IndentationTrackingWalker
MultipleTokenIndenter
Rule
RuleDescriptor
RuleOperation
RuleOperationContext
Rules
RulesBucket
RulesBucketConstructionState
RulesMap
RulesProvider
SingleTokenIndenter
SnapshotPoint
TextEditInfo
TextSnapshot
TextSnapshotLine
TokenSpan