public final class SLReturnNode extends SLStatementNode
SLReturnNode and the SLFunctionBodyNode of the
method we are exiting. This is done by throwing an exception that is
caught by the function body. The exception transports
the return value.| Constructor and Description |
|---|
SLReturnNode(SLExpressionNode valueNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame)
Execute this node as as statement, where no return value is necessary.
|
addRootTag, addStatementTag, createWrapper, formatSourceSection, getSourceCharIndex, getSourceEndIndex, getSourceLength, getSourceSection, hasSource, hasTag, isInstrumentable, setSourceSection, setUnavailableSourceSection, toStringfindBlock, getVisibleVariablesIndexOnEnter, hasScope, setVisibleVariablesIndexOnEnter, setVisibleVariablesIndexOnExitaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic SLReturnNode(SLExpressionNode valueNode)
public void executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame)
SLStatementNodeexecuteVoid in class SLStatementNode