public final class YieldException
extends com.oracle.truffle.api.nodes.ControlFlowException
| Modifier and Type | Field and Description |
|---|---|
static YieldException |
AWAIT_NULL |
static YieldException |
YIELD_NULL |
| Constructor and Description |
|---|
YieldException(Object result) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult() |
boolean |
isAwait() |
boolean |
isYield() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final YieldException YIELD_NULL
public static final YieldException AWAIT_NULL
public YieldException(Object result)
public Object getResult()
public boolean isYield()
public boolean isAwait()