Module: processTargets/modifiers/targetSequenceUtils
Classes
Functions
createRangeTargetFromIndices
▸ createRangeTargetFromIndices(isReversed
, targets
, startIndex
, endIndex
): Target
Construct a single range target between two targets in a list of targets, inclusive
Parameters
Name | Type | Description |
---|---|---|
isReversed | boolean | - |
targets | Target [] | The list of targets to index into |
startIndex | number | The index of the target in {@link targets} that will form the start of the range |
endIndex | number | The index of the target in {@link targets} that will form the end of the range |
Returns
Defined in
processTargets/modifiers/targetSequenceUtils.ts:22
getEveryScopeTargets
▸ getEveryScopeTargets(context
, target
, scopeType
): Target
[]
Parameters
Name | Type |
---|---|
context | ProcessedTargetsContext |
target | Target |
scopeType | ScopeType |
Returns
Target
[]
Defined in
processTargets/modifiers/targetSequenceUtils.ts:44