|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TopLevel.Builtins> org.mozilla.javascript.TopLevel.Builtins
public static enum TopLevel.Builtins
An enumeration of built-in ECMAScript objects.
Enum Constant Summary | |
---|---|
Array
The built-in Array type. |
|
Boolean
The built-in Boolean type. |
|
Error
The built-in Error type. |
|
Function
The built-in Function 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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |