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

public static enum CompositeInstr.Activation extends Enum<CompositeInstr.Activation>
How often a nested list runs each time its composite runs.
  • Enum Constant Details

    • ONCE

      public static final CompositeInstr.Activation ONCE
      At most once (an arm, a handler, a set-up list).
    • PER_ITERATION

      public static final CompositeInstr.Activation PER_ITERATION
      Once per loop iteration: a new activation each time (EK9_IR_OWNERSHIP_MODEL.md §3).
  • Method Details

    • values

      public static CompositeInstr.Activation[] 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

      public static CompositeInstr.Activation valueOf(String name)
      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 name
      NullPointerException - if the argument is null