Package org.mozilla.javascript
Enum TopLevel.Builtins
- java.lang.Object
- 
- java.lang.Enum<TopLevel.Builtins>
- 
- org.mozilla.javascript.TopLevel.Builtins
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<TopLevel.Builtins>
 - Enclosing class:
- TopLevel
 
 public static enum TopLevel.Builtins extends java.lang.Enum<TopLevel.Builtins> An enumeration of built-in ECMAScript objects.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ArrayThe built-in Array type.BigIntThe built-in BigInt type.BooleanThe built-in Boolean type.ErrorThe built-in Error type.FunctionThe built-in Function type.GeneratorFunctionThe built-in GeneratorFunction type.NumberThe built-in Number type.ObjectThe built-in Object type.RegExpThe built-in RegExp type.StringThe built-in String type.SymbolThe built-in Symbol type.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static TopLevel.BuiltinsvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
Objectpublic static final TopLevel.Builtins Object The built-in Object type.
 - 
Arraypublic static final TopLevel.Builtins Array The built-in Array type.
 - 
Functionpublic static final TopLevel.Builtins Function The built-in Function type.
 - 
Stringpublic static final TopLevel.Builtins String The built-in String type.
 - 
Numberpublic static final TopLevel.Builtins Number The built-in Number type.
 - 
Booleanpublic static final TopLevel.Builtins Boolean The built-in Boolean type.
 - 
RegExppublic static final TopLevel.Builtins RegExp The built-in RegExp type.
 - 
Errorpublic static final TopLevel.Builtins Error The built-in Error type.
 - 
Symbolpublic static final TopLevel.Builtins Symbol The built-in Symbol type.
 - 
GeneratorFunctionpublic static final TopLevel.Builtins GeneratorFunction The built-in GeneratorFunction type.
 - 
BigIntpublic static final TopLevel.Builtins BigInt The built-in BigInt type.
 
- 
 - 
Method Detail- 
valuespublic static TopLevel.Builtins[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TopLevel.Builtins c : TopLevel.Builtins.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static TopLevel.Builtins valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-