Skip to main content

Interface: RelativeScopeModifier

core/commandRunner/typings/PartialTargetDescriptor.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

core/commandRunner/typings/PartialTargetDescriptor.types.ts:239


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

core/commandRunner/typings/PartialTargetDescriptor.types.ts:235


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

core/commandRunner/typings/PartialTargetDescriptor.types.ts:231


scopeType

scopeType: ScopeType

Defined in

core/commandRunner/typings/PartialTargetDescriptor.types.ts:226


type

type: "relativeScope"

Defined in

core/commandRunner/typings/PartialTargetDescriptor.types.ts:224