public abstract class JSBinaryNode extends JavaScriptNode
| Modifier and Type | Field and Description |
|---|---|
protected JavaScriptNode |
leftNode |
protected JavaScriptNode |
rightNode |
INTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSBinaryNode(JavaScriptNode left,
JavaScriptNode right) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ensureBothSameNumericType(Object a,
Object b,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) |
String |
expressionToString() |
JavaScriptNode |
getLeft() |
Object |
getNodeObject() |
JavaScriptNode |
getRight() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
protected static boolean |
largerThan2e32(double d) |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, copyUninitialized, createWrapper, 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 JavaScriptNode leftNode
protected JavaScriptNode rightNode
protected JSBinaryNode(JavaScriptNode left, JavaScriptNode right)
public final JavaScriptNode getLeft()
public final JavaScriptNode getRight()
public String expressionToString()
expressionToString in class JavaScriptNodeprotected static boolean largerThan2e32(double d)
protected static void ensureBothSameNumericType(Object a, Object b, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes)
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()