Enum Class InputClassProbeInstr.Kind

java.lang.Object
java.lang.Enum<InputClassProbeInstr.Kind>
org.ek9lang.compiler.ir.instructions.InputClassProbeInstr.Kind
All Implemented Interfaces:
Serializable, Comparable<InputClassProbeInstr.Kind>, Constable
Enclosing class:
InputClassProbeInstr

public static enum InputClassProbeInstr.Kind extends Enum<InputClassProbeInstr.Kind>
What this instruction is: an entry probe, or one edge of a §5.3 assert window.
  • Enum Constant Details

    • PROBE

      public static final InputClassProbeInstr.Kind PROBE
      Classify the receiver + arguments at construct entry.
    • ASSERT_WINDOW_ENTER

      public static final InputClassProbeInstr.Kind ASSERT_WINDOW_ENTER
      Open the assert window — emitted before an assert condition's instructions.
    • ASSERT_WINDOW_EXIT

      public static final InputClassProbeInstr.Kind ASSERT_WINDOW_EXIT
      Close the assert window — emitted after an assert condition's instructions.
  • Method Details

    • values

      public static InputClassProbeInstr.Kind[] 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 InputClassProbeInstr.Kind 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