Interface: RelativeScopeModifier
typings/targetDescriptor.types.RelativeScopeModifier
Refer to scopes by offset relative to input target, eg "next funk" to refer to the first function after the function containing the target input.
Properties
direction
• direction: Direction
Indicates which direction both offset and length go relative to input target
Defined in
typings/targetDescriptor.types.ts:240
length
• length: number
The number of scopes to include. Will always be positive. If greater than 1, will include scopes in the direction of direction
Defined in
typings/targetDescriptor.types.ts:236
offset
• offset: number
Indicates how many scopes away to start relative to the input target.
Note that if direction is "backward"
, then this scope will be the
end of the output range.
Defined in
typings/targetDescriptor.types.ts:232
scopeType
• scopeType: ScopeType
Defined in
typings/targetDescriptor.types.ts:227
type
• type: "relativeScope"
Defined in
typings/targetDescriptor.types.ts:225