public final class SLFunctionLiteralNode extends SLExpressionNode
function value, created when a function name occurs as
a literal in SL source code. Note that function redefinition can change the call target that is executed when calling the function, but the SLFunction for a name
never changes. This is guaranteed by the SLFunctionRegistry.| Constructor and Description |
|---|
SLFunctionLiteralNode(com.oracle.truffle.api.strings.TruffleString functionName) |
| Modifier and Type | Method and Description |
|---|---|
SLFunction |
executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
The execute method when no specialization is possible.
|
addExpressionTag, createWrapper, executeBoolean, executeLong, executeVoid, hasTagaddRootTag, addStatementTag, formatSourceSection, getSourceCharIndex, getSourceEndIndex, getSourceLength, getSourceSection, hasSource, 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 SLFunctionLiteralNode(com.oracle.truffle.api.strings.TruffleString functionName)
public SLFunction executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
SLExpressionNodeexecuteGeneric in class SLExpressionNode