Enum Class IsArrayNode.Kind

java.lang.Object
java.lang.Enum<IsArrayNode.Kind>
com.oracle.truffle.js.nodes.access.IsArrayNode.Kind
All Implemented Interfaces:
Serializable, Comparable<IsArrayNode.Kind>, Constable
Enclosing class:
IsArrayNode

protected static enum IsArrayNode.Kind extends Enum<IsArrayNode.Kind>
  • Enum Constant Details

    • FastOrTypedArray

      public static final IsArrayNode.Kind FastOrTypedArray
      Fast Array, Arguments, or Typed Array exotic object.
    • FastArray

      public static final IsArrayNode.Kind FastArray
      Fast Array exotic object.
    • Array

      public static final IsArrayNode.Kind Array
      Array exotic object.
    • AnyArray

      public static final IsArrayNode.Kind AnyArray
      Array, Typed Array, or Arguments exotic object, or Object.prototype.
  • Method Details

    • values

      public static IsArrayNode.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 IsArrayNode.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