Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
Formatting
TextSnapshotLine
Class TextSnapshotLine
Index
Constructor methods
constructor
Properties
_end
_lineBreak
_lineNumber
_snapshot
_start
Methods
end
endIncludingLineBreak
endIncludingLineBreakPosition
endPosition
getText
length
lineNumber
snapshot
start
startPosition
Constructor methods
constructor
(
_snapshot
:
ITextSnapshot
, _lineNumber
:
number
, _start
:
number
, _end
:
number
, _lineBreak
:
string
)
:
TextSnapshotLine
Parameters
_snapshot:
ITextSnapshot
_lineNumber:
number
_start:
number
_end:
number
_lineBreak:
string
Returns
TextSnapshotLine
Properties
private
_end
:
any
private
_lineBreak
:
any
private
_lineNumber
:
any
private
_snapshot
:
any
private
_start
:
any
Methods
public
end
(
)
:
SnapshotPoint
Returns
SnapshotPoint
public
endIncludingLineBreak
(
)
:
SnapshotPoint
Returns
SnapshotPoint
public
endIncludingLineBreakPosition
(
)
:
number
Returns
number
public
endPosition
(
)
:
number
Returns
number
public
getText
(
)
:
string
Returns
string
public
length
(
)
:
number
Returns
number
public
lineNumber
(
)
:
number
Returns
number
public
snapshot
(
)
:
ITextSnapshot
Returns
ITextSnapshot
public
start
(
)
:
SnapshotPoint
Returns
SnapshotPoint
public
startPosition
(
)
:
number
Returns
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
IndentationNodeContextPool
IndentationTrackingWalker
MultipleTokenIndenter
Rule
RuleDescriptor
RuleOperation
RuleOperationContext
Rules
RulesBucket
RulesBucketConstructionState
RulesMap
RulesProvider
SingleTokenIndenter
SnapshotPoint
TextEditInfo
TextSnapshot
TextSnapshotLine
constructor
_end
_lineBreak
_lineNumber
_snapshot
_start
end
endIncludingLineBreak
endIncludingLineBreakPosition
endPosition
getText
length
lineNumber
snapshot
start
startPosition
TokenSpan