public class NamedEvaluationNode extends JavaScriptNode
| Modifier and Type | Field and Description |
|---|---|
protected JavaScriptNode |
expressionNode |
protected JavaScriptNode |
nameNode |
INTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
NamedEvaluationNode(JavaScriptNode expressionNode,
JavaScriptNode nameNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JavaScriptNode |
create(JavaScriptNode expressionNode,
JavaScriptNode nameNode) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
executeWithName(com.oracle.truffle.api.frame.VirtualFrame frame,
Object name) |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected JavaScriptNode nameNode
protected JavaScriptNode expressionNode
protected NamedEvaluationNode(JavaScriptNode expressionNode, JavaScriptNode nameNode)
public static JavaScriptNode create(JavaScriptNode expressionNode, JavaScriptNode nameNode)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic Object executeWithName(com.oracle.truffle.api.frame.VirtualFrame frame, Object name)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode