Class: CascadingStage
processTargets/modifiers/CascadingStage.CascadingStage
Tries each of the given modifiers in turn until one of them doesn't throw an error, returning the output from the first modifier not throwing an error.
Implements
Constructors
constructor
• new CascadingStage(modifier
)
Parameters
Name | Type |
---|---|
modifier | CascadingModifier |
Defined in
processTargets/modifiers/CascadingStage.ts:14
Properties
nestedStages_
• Private
Optional
nestedStages_: ModifierStage
[]
Defined in
processTargets/modifiers/CascadingStage.ts:12
Accessors
nestedStages
• Private
get
nestedStages(): ModifierStage
[]
Returns
Defined in
processTargets/modifiers/CascadingStage.ts:16
Methods
run
▸ run(context
, target
): Target
[]
Parameters
Name | Type |
---|---|
context | ProcessedTargetsContext |
target | Target |
Returns
Target
[]
Implementation of
Defined in
processTargets/modifiers/CascadingStage.ts:24