Interface: PrimitiveTargetDescriptor
typings/TargetDescriptor.PrimitiveTargetDescriptor
Hierarchy
PartialPrimitiveTargetDescriptor
↳
PrimitiveTargetDescriptor
Properties
mark
• mark: Mark
The mark, eg "air", "this", "that", etc
Overrides
PartialPrimitiveTargetDescriptor.mark
Defined in
typings/TargetDescriptor.ts:15
modifiers
• modifiers: Modifier
[]
Zero or more modifiers that will be applied in sequence to the output from the mark. Note that the modifiers will be applied in reverse order. For example, if the user says "take first char name air", then we will apply "name" to the output of "air" to select the name of the function or statement containing "air", then apply "first char" to select the first character of the name.
Overrides
PartialPrimitiveTargetDescriptor.modifiers
Defined in
typings/TargetDescriptor.ts:25
positionModifier
• Optional
positionModifier: PositionModifier
We separate the positional modifier from the other modifiers because it behaves differently and and makes the target behave like a destination for example for bring. This change is the first step toward #803
Defined in
typings/TargetDescriptor.ts:32
type
• type: "primitive"
Inherited from
PartialPrimitiveTargetDescriptor.type
Defined in
core/commandRunner/typings/PartialTargetDescriptor.types.ts:279