public abstract class JSTargetableNode extends JavaScriptNode
INTERMEDIATE_VALUE| Constructor and Description |
|---|
JSTargetableNode() |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode |
createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probe) |
static Object |
evaluateReceiver(JavaScriptNode targetNode,
com.oracle.truffle.api.frame.VirtualFrame frame,
Object targetValue) |
Object |
evaluateTarget(com.oracle.truffle.api.frame.VirtualFrame frame) |
double |
executeDoubleWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object target) |
int |
executeIntWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object target) |
abstract Object |
executeWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object target) |
JavaScriptNode |
getTarget() |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, copyUninitialized, execute, 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, reportPolymorphicSpecializepublic abstract Object executeWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame, Object target)
public Object evaluateTarget(com.oracle.truffle.api.frame.VirtualFrame frame)
public int executeIntWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object target)
throws com.oracle.truffle.api.nodes.UnexpectedResultException
com.oracle.truffle.api.nodes.UnexpectedResultExceptionpublic double executeDoubleWithTarget(com.oracle.truffle.api.frame.VirtualFrame frame,
Object target)
throws com.oracle.truffle.api.nodes.UnexpectedResultException
com.oracle.truffle.api.nodes.UnexpectedResultExceptionpublic JavaScriptNode getTarget()
public static Object evaluateReceiver(JavaScriptNode targetNode, com.oracle.truffle.api.frame.VirtualFrame frame, Object targetValue)
public com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probe)
createWrapper in interface com.oracle.truffle.api.instrumentation.InstrumentableNodecreateWrapper in class JavaScriptNode