public static enum TopLevel.Builtins extends java.lang.Enum<TopLevel.Builtins>
Enum Constant and Description |
---|
Array
The built-in Array type.
|
BigInt
The built-in BigInt type.
|
Boolean
The built-in Boolean type.
|
Error
The built-in Error type.
|
Function
The built-in Function type.
|
GeneratorFunction
The built-in GeneratorFunction type.
|
Number
The built-in Number type.
|
Object
The built-in Object type.
|
RegExp
The built-in RegExp type.
|
String
The built-in String type.
|
Symbol
The built-in Symbol type.
|
Modifier and Type | Method and Description |
---|---|
static TopLevel.Builtins |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TopLevel.Builtins[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopLevel.Builtins Object
public static final TopLevel.Builtins Array
public static final TopLevel.Builtins Function
public static final TopLevel.Builtins String
public static final TopLevel.Builtins Number
public static final TopLevel.Builtins Boolean
public static final TopLevel.Builtins RegExp
public static final TopLevel.Builtins Error
public static final TopLevel.Builtins Symbol
public static final TopLevel.Builtins GeneratorFunction
public static final TopLevel.Builtins BigInt
public static TopLevel.Builtins[] values()
for (TopLevel.Builtins c : TopLevel.Builtins.values()) System.out.println(c);
public static TopLevel.Builtins valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null