Enum Class CompositeInstr.Activation
java.lang.Object
java.lang.Enum<CompositeInstr.Activation>
org.ek9lang.compiler.ir.instructions.CompositeInstr.Activation
- All Implemented Interfaces:
Serializable, Comparable<CompositeInstr.Activation>, Constable
- Enclosing interface:
CompositeInstr
How often a nested list runs each time its composite runs.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt most once (an arm, a handler, a set-up list).Once per loop iteration: a new activation each time (EK9_IR_OWNERSHIP_MODEL.md §3). -
Method Summary
Modifier and TypeMethodDescriptionstatic CompositeInstr.ActivationReturns the enum constant of this class with the specified name.static CompositeInstr.Activation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONCE
At most once (an arm, a handler, a set-up list). -
PER_ITERATION
Once per loop iteration: a new activation each time (EK9_IR_OWNERSHIP_MODEL.md §3).
-
-
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
-