public abstract class JSUnaryMinusNode extends JSUnaryNode
operandNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSUnaryMinusNode(JavaScriptNode operand) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
protected static JSUnaryMinusNode |
create() |
static JavaScriptNode |
create(JavaScriptNode operand) |
protected static BigInt |
doBigInt(BigInt a) |
protected static double |
doDouble(double a) |
protected static Object |
doGeneric(Object a,
JSToNumericNode toNumericNode,
JSUnaryMinusNode recursiveUnaryMinus) |
protected static int |
doInt(int a) |
protected Object |
doOverloaded(JSOverloadedOperatorsObject a,
JSOverloadedUnaryNode overloadedOperatorNode) |
abstract Object |
execute(Object value) |
Object |
getNodeObject() |
protected com.oracle.truffle.api.strings.TruffleString |
getOverloadedOperatorName() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
protected static boolean |
isInt(int a) |
createWrapper, execute, expressionToString, getOperandaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, 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, reportPolymorphicSpecializeprotected JSUnaryMinusNode(JavaScriptNode operand)
public static JavaScriptNode create(JavaScriptNode operand)
protected static JSUnaryMinusNode create()
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.InstrumentableNodegetNodeObject in class JSUnaryNodeprotected static int doInt(int a)
protected static boolean isInt(int a)
protected static double doDouble(double a)
protected Object doOverloaded(JSOverloadedOperatorsObject a, JSOverloadedUnaryNode overloadedOperatorNode)
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName()
protected static Object doGeneric(Object a, JSToNumericNode toNumericNode, JSUnaryMinusNode recursiveUnaryMinus)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode