Enum Class AbstractModuleSourcePrototype
java.lang.Object
java.lang.Enum<AbstractModuleSourcePrototype>
com.oracle.truffle.js.builtins.AbstractModuleSourcePrototype
- All Implemented Interfaces:
BuiltinEnum<AbstractModuleSourcePrototype>,Serializable,Comparable<AbstractModuleSourcePrototype>,Constable
public enum AbstractModuleSourcePrototype
extends Enum<AbstractModuleSourcePrototype>
implements BuiltinEnum<AbstractModuleSourcePrototype>
Contains built-in methods of AsyncGenerator.prototype.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.strings.TruffleStringstatic final JSBuiltinsContainer -
Method Summary
Modifier and TypeMethodDescriptioncreateNode(JSContext context, JSBuiltin builtin, boolean construct, boolean newTarget) intReturns the enum constant of this class with the specified name.static AbstractModuleSourcePrototype[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.oracle.truffle.js.runtime.builtins.BuiltinEnum
args, asEnum, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isGetter, isNewTargetConstructor, isOptional, isSetter, isWritable, prependAccessorPrefix
-
Enum Constant Details
-
_toStringTag
-
-
Field Details
-
ABSTRACT_MODULE_SOURCE_PROTOTYPE
public static final com.oracle.truffle.api.strings.TruffleString ABSTRACT_MODULE_SOURCE_PROTOTYPE -
BUILTINS
-
-
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
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBuiltinEnum<AbstractModuleSourcePrototype>
-
createNode
public Object createNode(JSContext context, JSBuiltin builtin, boolean construct, boolean newTarget) - Specified by:
createNodein interfaceBuiltinEnum<AbstractModuleSourcePrototype>
-