public abstract class JSUnaryNode extends JavaScriptNode
| Modifier and Type | Field and Description |
|---|---|
protected JavaScriptNode |
operandNode |
INTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSUnaryNode()
For instrumentation
wrapper. |
protected |
JSUnaryNode(JavaScriptNode operand) |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode |
createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probe) |
abstract Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
Object operandValue) |
String |
expressionToString() |
Object |
getNodeObject() |
JavaScriptNode |
getOperand() |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, copyUninitialized, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, 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 operandNode
protected JSUnaryNode(JavaScriptNode operand)
protected JSUnaryNode()
wrapper.public final JavaScriptNode getOperand()
public abstract Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, Object operandValue)
public String expressionToString()
expressionToString in class JavaScriptNodepublic Object getNodeObject()
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