public final class EvalVariableNode extends JSTargetableNode implements ReadNode, WriteNode
INTERMEDIATE_VALUE| Constructor and Description |
|---|
EvalVariableNode(JSContext context,
com.oracle.truffle.api.strings.TruffleString varName,
JavaScriptNode defaultDelegate,
JavaScriptNode dynamicScope,
JSTargetableNode scopeAccessNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
Object |
evaluateTarget(com.oracle.truffle.api.frame.VirtualFrame frame) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
executeWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object dynamicScope) |
void |
executeWrite(com.oracle.truffle.api.frame.VirtualFrame frame,
Object value) |
JavaScriptNode |
getDefaultDelegate() |
Object |
getNodeObject() |
Object |
getPropertyName() |
JavaScriptNode |
getRhs() |
JavaScriptNode |
getTarget() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
createWrapper, evaluateReceiver, executeDoubleWithTarget, executeIntWithTargetaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, 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, reportPolymorphicSpecializepublic EvalVariableNode(JSContext context, com.oracle.truffle.api.strings.TruffleString varName, JavaScriptNode defaultDelegate, JavaScriptNode dynamicScope, JSTargetableNode scopeAccessNode)
public Object getPropertyName()
public JavaScriptNode getDefaultDelegate()
public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
hasTag in interface com.oracle.truffle.api.instrumentation.InstrumentableNodehasTag in class JavaScriptNodepublic Object getNodeObject()
getNodeObject in interface com.oracle.truffle.api.instrumentation.InstrumentableNodepublic JavaScriptNode getTarget()
getTarget in class JSTargetableNodepublic Object evaluateTarget(com.oracle.truffle.api.frame.VirtualFrame frame)
evaluateTarget in class JSTargetableNodepublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic Object executeWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame, Object dynamicScope)
executeWithTarget in class JSTargetableNodepublic void executeWrite(com.oracle.truffle.api.frame.VirtualFrame frame,
Object value)
executeWrite in interface WriteNodepublic JavaScriptNode getRhs()
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode