public static class JSMaterializedInvokeTargetableNode.EchoTargetValueNode extends JSTargetableNode
executeWithTarget()
.INTERMEDIATE_VALUE
Constructor and Description |
---|
EchoTargetValueNode() |
Modifier and Type | Method and Description |
---|---|
protected JavaScriptNode |
copyUninitialized() |
static JSTargetableNode |
create() |
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 target) |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
boolean |
isInstrumentable() |
createWrapper, evaluateReceiver, evaluateTarget, executeDoubleWithTarget, executeIntWithTarget, getTarget
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, executeBoolean, executeByte, executeCharacter, executeDouble, executeDynamicObject, executeFloat, executeInt, executeLargeInteger, executeLong, executeObjectArray, executeString, executeTruffleObject, executeVoid, expressionToString, getSourceSection, hasSourceSection, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize
public static JSTargetableNode create()
public Object executeWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame, Object target)
executeWithTarget
in class JSTargetableNode
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNode
execute
in class JavaScriptNode
frame
- the frame of the currently executing guest language methodpublic boolean isInstrumentable()
isInstrumentable
in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
isInstrumentable
in class JavaScriptNode
public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
hasTag
in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
hasTag
in class JavaScriptNode
protected JavaScriptNode copyUninitialized()
copyUninitialized
in class JavaScriptNode