Enum Class RegExpBuiltins.RegExpBuiltin
java.lang.Object
java.lang.Enum<RegExpBuiltins.RegExpBuiltin>
com.oracle.truffle.js.builtins.RegExpBuiltins.RegExpBuiltin
- All Implemented Interfaces:
BuiltinEnum<RegExpBuiltins.RegExpBuiltin>, Serializable, Comparable<RegExpBuiltins.RegExpBuiltin>, Constable
- Enclosing class:
RegExpBuiltins
public static enum RegExpBuiltins.RegExpBuiltin
extends Enum<RegExpBuiltins.RegExpBuiltin>
implements BuiltinEnum<RegExpBuiltins.RegExpBuiltin>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.truffle.api.strings.TruffleStringgetKey()intbooleanisGetter()booleanisSetter()static RegExpBuiltins.RegExpBuiltinReturns the enum constant of this class with the specified name.static RegExpBuiltins.RegExpBuiltin[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface BuiltinEnum
args, asEnum, createNode, getECMAScriptVersion, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isNewTargetConstructor, isOptional, isWritable, prependAccessorPrefix
-
Enum Constant Details
-
input
-
set_input
-
lastMatch
-
lastParen
-
leftContext
-
rightContext
-
multiline
-
$1
-
$2
-
$3
-
$4
-
$5
-
$6
-
$7
-
$8
-
$9
-
-
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
-
getKey
public com.oracle.truffle.api.strings.TruffleString getKey()- Specified by:
getKeyin interfaceBuiltinEnum<RegExpBuiltins.RegExpBuiltin>
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBuiltinEnum<RegExpBuiltins.RegExpBuiltin>
-
isGetter
public boolean isGetter()- Specified by:
isGetterin interfaceBuiltinEnum<RegExpBuiltins.RegExpBuiltin>
-
isSetter
public boolean isSetter()- Specified by:
isSetterin interfaceBuiltinEnum<RegExpBuiltins.RegExpBuiltin>
-