Enum IRBytecodeAdapter.BlockPassType

java.lang.Object
java.lang.Enum<IRBytecodeAdapter.BlockPassType>
org.jruby.ir.targets.IRBytecodeAdapter.BlockPassType
All Implemented Interfaces:
Serializable, Comparable<IRBytecodeAdapter.BlockPassType>, java.lang.constant.Constable
Enclosing class:
IRBytecodeAdapter

public static enum IRBytecodeAdapter.BlockPassType extends Enum<IRBytecodeAdapter.BlockPassType>
  • Enum Constant Details

  • Field Details

    • given

      private final boolean given
    • literal

      private final boolean literal
  • Constructor Details

    • BlockPassType

      private BlockPassType(boolean given, boolean literal)
  • Method Details

    • values

      public static IRBytecodeAdapter.BlockPassType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IRBytecodeAdapter.BlockPassType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • given

      public boolean given()
    • literal

      public boolean literal()
    • fromIR

      public static IRBytecodeAdapter.BlockPassType fromIR(ClosureAcceptingInstr callInstr)