Skip to main content

Module: processTargets/modifiers/getLegacyScopeStage

Functions

getLegacyScopeStage

getLegacyScopeStage(modifier): ModifierStage

Any scope type that has not been fully migrated to the new ScopeHandler setup should have a branch in this switch statement. Once the scope type is fully migrated, remove the branch and the legacy modifier stage.

Note that it is possible for a scope type to be partially migrated. For example, we could support modern scope handlers for a certain scope type in Ruby, but not yet in Python.

Parameters

NameTypeDescription
modifierContainingScopeModifier | EveryScopeModifierThe modifier for which to get the modifier stage

Returns

ModifierStage

A scope stage implementing the modifier for the given scope type

Defined in

processTargets/modifiers/getLegacyScopeStage.ts:35