public abstract class JSGreaterThanNode extends JSCompareNode
leftNode, rightNode
INTERMEDIATE_VALUE
Modifier | Constructor and Description |
---|---|
protected |
JSGreaterThanNode(JavaScriptNode left,
JavaScriptNode right) |
Modifier and Type | Method and Description |
---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JSGreaterThanNode |
create() |
static JSGreaterThanNode |
create(JavaScriptNode left,
JavaScriptNode right) |
protected boolean |
doBigInt(BigInt a,
BigInt b) |
protected boolean |
doBigIntAndInt(BigInt a,
int b) |
protected boolean |
doBigIntAndNumber(BigInt a,
double b) |
protected boolean |
doBigIntString(BigInt a,
String b) |
protected boolean |
doDouble(double a,
double b) |
protected boolean |
doDoubleString(double a,
String b) |
protected boolean |
doGeneric(Object a,
Object b,
JSToStringOrNumberNode toStringOrNumber1,
JSToPrimitiveNode toPrimitive1,
JSToStringOrNumberNode toStringOrNumber2,
JSToPrimitiveNode toPrimitive2,
JSGreaterThanNode greaterThanNode) |
protected boolean |
doInt(int a,
int b) |
protected boolean |
doIntAndBigInt(int a,
BigInt b) |
protected boolean |
doJavaNumber(Object a,
Object b) |
protected boolean |
doNumberAndBigInt(double a,
BigInt b) |
protected boolean |
doSafeInteger(int a,
SafeInteger b) |
protected boolean |
doSafeInteger(SafeInteger a,
int b) |
protected boolean |
doSafeInteger(SafeInteger a,
SafeInteger b) |
protected boolean |
doString(String a,
String b) |
protected boolean |
doStringBigInt(String a,
BigInt b) |
protected boolean |
doStringDouble(String a,
double b) |
abstract boolean |
executeBoolean(Object a,
Object b) |
execute, executeBoolean, isResultAlwaysOfType, stringToDouble
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, 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
protected JSGreaterThanNode(JavaScriptNode left, JavaScriptNode right)
public static JSGreaterThanNode create(JavaScriptNode left, JavaScriptNode right)
public static JSGreaterThanNode create()
protected boolean doInt(int a, int b)
protected boolean doSafeInteger(int a, SafeInteger b)
protected boolean doSafeInteger(SafeInteger a, int b)
protected boolean doSafeInteger(SafeInteger a, SafeInteger b)
protected boolean doDouble(double a, double b)
protected boolean doStringDouble(String a, double b)
protected boolean doDoubleString(double a, String b)
protected boolean doBigIntAndInt(BigInt a, int b)
protected boolean doBigIntAndNumber(BigInt a, double b)
protected boolean doIntAndBigInt(int a, BigInt b)
protected boolean doNumberAndBigInt(double a, BigInt b)
protected boolean doGeneric(Object a, Object b, JSToStringOrNumberNode toStringOrNumber1, JSToPrimitiveNode toPrimitive1, JSToStringOrNumberNode toStringOrNumber2, JSToPrimitiveNode toPrimitive2, JSGreaterThanNode greaterThanNode)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized
in class JavaScriptNode