Module: processTargets/modifiers/ItemStage/getIterationScope
Functions
getIterationScope
▸ getIterationScope(context, target): Object
Get the iteration scope range for item scope. Try to find non-string surrounding scope with a fallback to line content.
Parameters
| Name | Type | Description |
|---|---|---|
context | ProcessedTargetsContext | The stage process context |
target | Target | The stage target |
Returns
Object
The stage iteration scope and optional surrounding pair boundaries
| Name | Type |
|---|---|
boundary? | [Range, Range] |
range | Range |