public static enum TruffleLanguage.ExitMode extends Enum<TruffleLanguage.ExitMode>
TruffleLanguage.exitContext(Object, ExitMode, int)
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
HARD
Hard exit triggered by
TruffleContext.closeExited(Node, int) . |
NATURAL
Natural exit that occurs during normal context close.
|
Modifier and Type | Method and Description |
---|---|
static TruffleLanguage.ExitMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TruffleLanguage.ExitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TruffleLanguage.ExitMode NATURAL
public static final TruffleLanguage.ExitMode HARD
TruffleContext.closeExited(Node, int)
.public static TruffleLanguage.ExitMode[] values()
public static TruffleLanguage.ExitMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null