public enum V8ScopeType extends java.lang.Enum<V8ScopeType>
Enum Constant and Description |
---|
Block |
Catch |
Closure |
Eval |
Global |
Local |
Module |
Script |
With |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
java.lang.String |
getName() |
static V8ScopeType |
parse(int id) |
static V8ScopeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static V8ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8ScopeType Global
public static final V8ScopeType Local
public static final V8ScopeType With
public static final V8ScopeType Closure
public static final V8ScopeType Catch
public static final V8ScopeType Block
public static final V8ScopeType Script
public static final V8ScopeType Eval
public static final V8ScopeType Module
public static V8ScopeType[] values()
for (V8ScopeType c : V8ScopeType.values()) System.out.println(c);
public static V8ScopeType 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 nullpublic static V8ScopeType parse(int id)
public int getId()
public java.lang.String getName()