Skip to main content

Interface: OrdinalScopeModifier

core/commandRunner/typings/PartialTargetDescriptor.types.OrdinalScopeModifier

Refer to scopes by absolute index relative to iteration scope, eg "first funk" to refer to the first function in a class.

Properties

length

length: number

The number of scopes to include. Will always be positive. If greater than 1, will include scopes after start

Defined in

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


scopeType

scopeType: ScopeType

Defined in

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


start

start: number

The start of the range. Start from end of iteration scope if start is negative

Defined in

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


type

type: "ordinalScope"

Defined in

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