Class JSLessOrEqualNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.JavaScriptNode
com.oracle.truffle.js.nodes.binary.JSBinaryNode
com.oracle.truffle.js.nodes.binary.JSCompareNode
com.oracle.truffle.js.nodes.binary.JSLessOrEqualNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
Fields inherited from class JSBinaryNode
leftNode, rightNodeFields inherited from class JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSLessOrEqualNode(JavaScriptNode left, JavaScriptNode right) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static JSLessOrEqualNodecreate()static JSLessOrEqualNodecreate(JavaScriptNode left, JavaScriptNode right) protected static booleanprotected static booleandoBigIntAndInt(BigInt a, int b) protected static booleandoBigIntAndNumber(BigInt a, double b) protected static booleandoBigIntString(BigInt a, com.oracle.truffle.api.strings.TruffleString b) protected static booleandoDouble(double a, double b) protected static booleandoDoubleString(double a, com.oracle.truffle.api.strings.TruffleString b, JSStringToNumberNode stringToDouble) protected static booleandoGeneric(Object a, Object b, JSToStringOrNumberNode toStringOrNumber1, JSToPrimitiveNode toPrimitive1, JSToStringOrNumberNode toStringOrNumber2, JSToPrimitiveNode toPrimitive2, JSLessOrEqualNode lessOrEqualNode) protected static booleandoInt(int a, int b) protected static booleandoIntAndBigInt(int a, BigInt b) protected static booleandoLong(long a, long b) protected static booleandoNumberAndBigInt(double a, BigInt b) protected static booleandoOverloaded(Object a, Object b, com.oracle.truffle.api.nodes.Node node, JSOverloadedBinaryNode overloadedOperatorNode, JSToBooleanNode toBooleanNode) protected static booleandoSafeInteger(int a, SafeInteger b) protected static booleandoSafeInteger(SafeInteger a, int b) protected static booleanprotected static booleandoString(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b, com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node compareNode) protected static booleandoStringBigInt(com.oracle.truffle.api.strings.TruffleString a, BigInt b) protected static booleandoStringDouble(com.oracle.truffle.api.strings.TruffleString a, double b, JSStringToNumberNode stringToDouble) abstract booleanexecuteBoolean(Object a, Object b) protected com.oracle.truffle.api.strings.TruffleStringMethods inherited from class JSCompareNode
execute, executeBoolean, isResultAlwaysOfTypeMethods inherited from class JSBinaryNode
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32Methods inherited from class JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeDouble, executeInt, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, onReplace, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsMethods inherited from class JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplaceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
createProbe, findNearestNodeAt, findNearestNodeAt, findProbe, materializeInstrumentableNodes
-
Constructor Details
-
JSLessOrEqualNode
-
-
Method Details
-
create
-
create
-
executeBoolean
-
doInt
protected static boolean doInt(int a, int b) -
doSafeInteger
-
doSafeInteger
-
doSafeInteger
-
doLong
protected static boolean doLong(long a, long b) -
doDouble
protected static boolean doDouble(double a, double b) -
doString
protected static boolean doString(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b, com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node compareNode) -
doStringDouble
protected static boolean doStringDouble(com.oracle.truffle.api.strings.TruffleString a, double b, JSStringToNumberNode stringToDouble) -
doDoubleString
protected static boolean doDoubleString(double a, com.oracle.truffle.api.strings.TruffleString b, JSStringToNumberNode stringToDouble) -
doStringBigInt
-
doBigIntString
-
doBigInt
-
doBigIntAndInt
-
doBigIntAndNumber
-
doIntAndBigInt
-
doNumberAndBigInt
-
doOverloaded
protected static boolean doOverloaded(Object a, Object b, com.oracle.truffle.api.nodes.Node node, JSOverloadedBinaryNode overloadedOperatorNode, JSToBooleanNode toBooleanNode) -
getOverloadedOperatorName
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName() -
doGeneric
protected static boolean doGeneric(Object a, Object b, JSToStringOrNumberNode toStringOrNumber1, JSToPrimitiveNode toPrimitive1, JSToStringOrNumberNode toStringOrNumber2, JSToPrimitiveNode toPrimitive2, JSLessOrEqualNode lessOrEqualNode) -
copyUninitialized
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) - Overrides:
copyUninitializedin classJavaScriptNode
-