Enum Class MustExecutePosition.Scope
- All Implemented Interfaces:
Serializable, Comparable<MustExecutePosition.Scope>, Constable
- Enclosing class:
MustExecutePosition
How far the walk climbs: to the enclosing BODY (
BODY, FE77), to the evaluation that owns the code in its
statement form (STATEMENT), or to the nearest conditionally evaluated operand too (EVALUATION).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDoes the code run every time its enclosing BODY runs.Does the code run every time the evaluation that owns it runs: its block statement (or initialiser), or the nearest conditionally evaluated operand it is part of (the operands IR generation wraps in their own owned region).Does the code run every time the block statement it is part of runs. -
Method Summary
Modifier and TypeMethodDescriptionstatic MustExecutePosition.ScopeReturns the enum constant of this class with the specified name.static MustExecutePosition.Scope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BODY
Does the code run every time its enclosing BODY runs. -
STATEMENT
Does the code run every time the block statement it is part of runs. -
EVALUATION
Does the code run every time the evaluation that owns it runs: its block statement (or initialiser), or the nearest conditionally evaluated operand it is part of (the operands IR generation wraps in their own owned region).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-