Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
SlidingWindow
Class SlidingWindow
Index
Constructor methods
constructor
Properties
_pinCount
currentRelativeItemIndex
defaultValue
firstPinnedAbsoluteIndex
source
sourceLength
window
windowAbsoluteStartIndex
windowCount
Methods
absoluteIndex
addMoreItemsToWindow
currentItem
disgardAllItemsFromCurrentIndexOnwards
getAndPinAbsoluteIndex
isAtEndOfSource
moveToNextItem
peekItemN
pinCount
releaseAndUnpinAbsoluteIndex
rewindToPinnedIndex
setAbsoluteIndex
tryShiftOrGrowWindow
windowAbsoluteEndIndex
Constructor methods
constructor
(
source
:
ISlidingWindowSource
, window
:
Array<any>
, defaultValue
:
any
, sourceLength
?:
number
)
:
SlidingWindow
Parameters
source:
ISlidingWindowSource
window:
Array<any>
defaultValue:
any
sourceLength?:
number
optional
Returns
SlidingWindow
Properties
private
_pinCount
:
any
public
currentRelativeItemIndex
:
number
private
defaultValue
:
any
private
firstPinnedAbsoluteIndex
:
any
private
source
:
any
private
sourceLength
:
any
public
window
:
Array<any>
public
windowAbsoluteStartIndex
:
number
public
windowCount
:
number
Methods
public
absoluteIndex
(
)
:
number
Returns
number
private
addMoreItemsToWindow
(
argument
:
any
)
:
any
Parameters
argument:
any
Returns
any
public
currentItem
(
argument
:
any
)
:
any
Parameters
argument:
any
Returns
any
public
disgardAllItemsFromCurrentIndexOnwards
(
)
public
getAndPinAbsoluteIndex
(
)
:
number
Returns
number
public
isAtEndOfSource
(
)
:
boolean
Returns
boolean
public
moveToNextItem
(
)
public
peekItemN
(
n
:
number
)
:
any
Parameters
n:
number
Returns
any
public
pinCount
(
)
:
number
Returns
number
public
releaseAndUnpinAbsoluteIndex
(
absoluteIndex
:
number
)
Parameters
absoluteIndex:
number
public
rewindToPinnedIndex
(
absoluteIndex
:
number
)
Parameters
absoluteIndex:
number
public
setAbsoluteIndex
(
absoluteIndex
:
number
)
Parameters
absoluteIndex:
number
private
tryShiftOrGrowWindow
(
)
:
any
Returns
any
private
windowAbsoluteEndIndex
(
)
:
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
DiagnosticCode
Environment
LocalizedDiagnosticMessages
astTranslationTime
compilerDirectoryExistsTime
compilerDirectoryNameTime
compilerFileExistsTime
compilerResolvePathTime
declCacheHit
declCacheMiss
declarationEmitFunctionDeclarationGetSymbolTime
declarationEmitGetAccessorFunctionTime
declarationEmitGetBaseTypeTime
declarationEmitGetBoundDeclTypeTime
declarationEmitGetImportDeclarationSymbolTime
declarationEmitGetTypeParameterSymbolTime
declarationEmitIsExternallyVisibleTime
declarationEmitIsOverloadedCallSignatureTime
declarationEmitTime
declarationEmitTypeSignatureTime
diagnosticInformationMap
emitTime
emitWriteFileTime
fileResolutionGetDefaultLibraryTime
fileResolutionIOTime
fileResolutionImportFileSearchTime
fileResolutionScanImportsTime
fileResolutionTime
ioHostCreateDirectoryStructureTime
ioHostDirectoryNameTime
ioHostResolvePathTime
ioHostWriteFileTime
nSpecializationsCreated
nSpecializedSignaturesCreated
nSpecializedTypeParameterCreated
nodeCreateBufferTime
nodeMakeDirectoryTime
nodeWriteFileSyncTime
pullSymbolID
sentinelEmptyArray
sourceCharactersCompiled
symbolCacheHit
symbolCacheMiss
syntaxDiagnosticsTime
syntaxTreeParseTime
tripleSlashReferenceRegExp
typeCheckTime
AssertionLevel
ByteOrderMark
CharacterCodes
Constants
DiagnosticCategory
EmitContainer
EmitOutputResult
GenerativeTypeClassification
GetAllMembersVisiblity
LanguageVersion
ModuleGenTarget
OutputFileType
PullElementFlags
PullElementKind
SyntaxConstants
SyntaxKind
TypeRelationshipFlags
DiagnosticInfo
IASTSpan
IArrowFunctionExpressionSyntax
IAstWalker
IBitMatrix
IBitVector
ICallExpression
IClassElementSyntax
IEnvironment
IExpressionSyntax
IFileReference
IHashTable
IIndexable
IIterationStatementSyntax
ILineAndCharacter
ILogger
IMemberDeclarationSyntax
IMemberExpressionSyntax
IModuleElementSyntax
IModuleReferenceSyntax
INameSyntax
IParameters
IPostfixExpressionSyntax
IPreProcessedFileInfo
IPrimaryExpressionSyntax
IPropertyAssignmentSyntax
IPullTypeCollection
IReferenceResolverHost
IResolvedFile
IScriptSnapshot
ISeparatedSyntaxList
ISimpleText
ISlidingWindowSource
IStatementSyntax
ISwitchClauseSyntax
ISyntaxElement
ISyntaxList
ISyntaxNode
ISyntaxNodeOrToken
ISyntaxToken
ISyntaxTrivia
ISyntaxTriviaList
ISyntaxVisitor
IText
ITextLine
ITokenInfo
ITokenInformation
ITypeMemberSyntax
ITypeSyntax
IUnaryExpressionSyntax
IndexSignatureInfo
InstantiableSymbol
Iterator
PullCallSymbolInfo
PullSymbolInfo
PullVisibleSymbolsInfo
TypeArgumentMap
AST
ASTSpan
ArgumentList
ArgumentListSyntax
ArrayLiteralExpression
ArrayLiteralExpressionSyntax
ArrayType
ArrayTypeSyntax
ArrayUtilities
AstWalkOptions
AstWalkerFactory
Base64VLQFormat
BinaryExpression
BinaryExpressionSyntax
Block
BlockSyntax
BloomFilter
BreakStatement
BreakStatementSyntax
BuiltInType
CallSignature
CallSignatureSyntax
CandidateInferenceInfo
CaseSwitchClause
CaseSwitchClauseSyntax
CastExpression
CastExpressionSyntax
CatchClause
CatchClauseSyntax
CharacterInfo
ClassDeclaration
ClassDeclarationSyntax
Comment
CompilationSettings
CompileResult
ConditionalExpression
ConditionalExpressionSyntax
Constraint
ConstraintSyntax
ConstructSignature
ConstructSignatureSyntax
ConstructorDeclaration
ConstructorDeclarationSyntax
ConstructorType
ConstructorTypeSyntax
ContextualSignatureInstantiationTypeArgumentInferenceContext
ContinueStatement
ContinueStatementSyntax
Debug
DebuggerStatement
DebuggerStatementSyntax
DeclarationEmitter
DefaultSwitchClause
DefaultSwitchClauseSyntax
DeleteExpression
DeleteExpressionSyntax
DepthLimitedWalker
Diagnostic
DoStatement
DoStatementSyntax
Document
ElementAccessExpression
ElementAccessExpressionSyntax
ElseClause
ElseClauseSyntax
EmitOptions
EmitOutput
EmitState
Emitter
EmptyStatement
EmptyStatementSyntax
EnclosingTypeWalkerState
EnumDeclaration
EnumDeclarationSyntax
EnumElement
EnumElementSyntax
EqualsValueClause
EqualsValueClauseSyntax
Errors
ExportAssignment
ExportAssignmentSyntax
ExpressionStatement
ExpressionStatementSyntax
ExternalModuleReference
ExternalModuleReferenceSyntax
FileInformation
FinallyClause
FinallyClauseSyntax
ForInStatement
ForInStatementSyntax
ForStatement
ForStatementSyntax
FunctionDeclaration
FunctionDeclarationSyntax
FunctionExpression
FunctionExpressionSyntax
FunctionPropertyAssignment
FunctionPropertyAssignmentSyntax
FunctionType
FunctionTypeSyntax
GenericType
GenericTypeSyntax
GetAccessor
GetAccessorSyntax
Hash
HeritageClause
HeritageClauseSyntax
IASTToken
ISeparatedSyntaxList2
ISyntaxList2
IdentiferNameHashTable
Identifier
IdentifierWalker
IfStatement
IfStatementSyntax
ImmutableCompilationSettings
ImportDeclaration
ImportDeclarationSyntax
Indenter
IndexMemberDeclaration
IndexMemberDeclarationSyntax
IndexSignature
IndexSignatureSyntax
InterfaceDeclaration
InterfaceDeclarationSyntax
InvocationExpression
InvocationExpressionSyntax
InvocationTypeArgumentInferenceContext
LabeledStatement
LabeledStatementSyntax
LineAndCharacter
LineMap
LiteralExpression
Location
MathPrototype
MemberAccessExpression
MemberAccessExpressionSyntax
MemberFunctionDeclaration
MemberFunctionDeclarationSyntax
MemberName
MemberNameArray
MemberNameString
MemberVariableDeclaration
MemberVariableDeclarationSyntax
MethodSignature
MethodSignatureSyntax
ModuleDeclaration
ModuleDeclarationSyntax
ModuleNameModuleReference
ModuleNameModuleReferenceSyntax
NormalPullDecl
NullLogger
NumericLiteral
ObjectCreationExpression
ObjectCreationExpressionSyntax
ObjectLiteralExpression
ObjectLiteralExpressionSyntax
ObjectType
ObjectTypeSyntax
OmittedExpression
OmittedExpressionSyntax
OutputFile
Parameter
ParameterList
ParameterListSyntax
ParameterSyntax
ParenthesizedArrowFunctionExpression
ParenthesizedArrowFunctionExpressionSyntax
ParenthesizedExpression
ParenthesizedExpressionSyntax
ParseOptions
PositionTrackingWalker
PositionedElement
PositionedList
PositionedNode
PositionedNodeOrToken
PositionedSeparatedList
PositionedSkippedToken
PositionedToken
PostfixUnaryExpression
PostfixUnaryExpressionSyntax
PrefixUnaryExpression
PrefixUnaryExpressionSyntax
PropertySignature
PropertySignatureSyntax
PullAccessorSymbol
PullAdditionalCallResolutionData
PullAdditionalObjectLiteralResolutionData
PullContainerSymbol
PullContextualTypeContext
PullDecl
PullDeclGroup
PullEnumElementDecl
PullErrorTypeSymbol
PullFunctionExpressionDecl
PullInstantiatedSignatureSymbol
PullInstantiatedTypeParameterSymbol
PullInstantiatedTypeReferenceSymbol
PullPrimitiveTypeSymbol
PullSignatureSymbol
PullStringConstantTypeSymbol
PullSymbol
PullSymbolBinder
PullSynthesizedDecl
PullTypeAliasSymbol
PullTypeEnclosingTypeWalker
PullTypeParameterSymbol
PullTypeReferenceSymbol
PullTypeResolutionContext
PullTypeResolver
PullTypeSymbol
QualifiedName
QualifiedNameSyntax
ReferenceResolutionResult
ReferenceResolver
RegularExpressionLiteral
ReturnStatement
ReturnStatementSyntax
RootPullDecl
Scanner
ScannerUtilities
SemanticInfoChain
SetAccessor
SetAccessorSyntax
SimpleArrowFunctionExpression
SimpleArrowFunctionExpressionSyntax
SimplePropertyAssignment
SimplePropertyAssignmentSyntax
SlidingWindow
constructor
_pinCount
currentRelativeItemIndex
defaultValue
firstPinnedAbsoluteIndex
source
sourceLength
window
windowAbsoluteStartIndex
windowCount
absoluteIndex
addMoreItemsToWindow
currentItem
disgardAllItemsFromCurrentIndexOnwards
getAndPinAbsoluteIndex
isAtEndOfSource
moveToNextItem
peekItemN
pinCount
releaseAndUnpinAbsoluteIndex
rewindToPinnedIndex
setAbsoluteIndex
tryShiftOrGrowWindow
windowAbsoluteEndIndex
SourceMapEntry
SourceMapPosition
SourceMapper
SourceMapping
SourceUnit
SourceUnitSyntax
StringHashTable
StringLiteral
StringUtilities
SuperExpression
SwitchStatement
SwitchStatementSyntax
SyntaxDedenter
SyntaxIndenter
SyntaxInformationMap
SyntaxNode
SyntaxNodeInvariantsChecker
SyntaxRewriter
SyntaxTokenReplacer
SyntaxTree
SyntaxTreeToAstVisitor
SyntaxUtilities
SyntaxVisitor
SyntaxWalker
TextChangeRange
TextSpan
TextWriter
ThisExpression
ThrowStatement
ThrowStatementSyntax
Timer
TryStatement
TryStatementSyntax
TypeAnnotation
TypeAnnotationSyntax
TypeArgumentInferenceContext
TypeArgumentList
TypeArgumentListSyntax
TypeComparisonInfo
TypeOfExpression
TypeOfExpressionSyntax
TypeParameter
TypeParameterList
TypeParameterListSyntax
TypeParameterSyntax
TypeQuery
TypeQuerySyntax
TypeScriptCompiler
Unicode
VariableDeclaration
VariableDeclarationSyntax
VariableDeclarator
VariableDeclaratorSyntax
VariableStatement
VariableStatementSyntax
VoidExpression
VoidExpressionSyntax
WhileStatement
WhileStatementSyntax
WithStatement
WithStatementSyntax
WrapsTypeParameterCache
changePathToDTS
compareDataObjects
convertToDirectoryPath
createIntrinsicsObject
filePath
filePathComponents
getAstWalkerFactory
getDeclareFilePath
getDiagnosticMessage
getIDForTypeSubstitutions
getLastConstructor
getLocalizedText
getParseOptions
getPathComponents
getPrettyName
getPropertyAssignmentNameTextFromIdentifier
getReferencedFiles
getRelativePathToFixedPath
getRootFilePath
getTrimmedTextLines
hasFlag
hasModifier
isDTSFile
isDoubleQuoted
isQuoted
isRelative
isRooted
isSingleQuoted
isTSFile
isTypesOnlyLocation
lastParameterIsRest
newLine
normalizePath
preProcessFile
quoteStr
stripStartAndEndQuotes
structuralEqualsIncludingPosition
structuralEqualsNotIncludingPosition
switchToForwardSlashes
timeFunction
trimModName