Class JSToUInt32Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSToUInt32Node
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSToUInt32Node(boolean unsignedRightShift, int shiftValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic JSToUInt32Nodecreate()static JSToUInt32Nodecreate(boolean unsignedRightShift, int shiftValue) protected intprotected intdoBoolean(boolean value) protected doubledoDouble(double value) protected doubledoDoubleFitsInt32Negative(double value) protected doubledoDoubleRepresentableAsLong(double value) protected static doubledoForeignObject(Object object, JSToPrimitiveNode toPrimitiveNode, JSToUInt32Node toUInt32Node) protected intdoInteger(int value) protected SafeIntegerdoIntegerNegative(int value) protected doubledoJSObject(JSObject value, JSToNumberNode toNumberNode) protected static SafeIntegerdoLong(long value) protected static SafeIntegerdoLongNotSafeInteger(long value) protected intprotected ObjectdoOverloadedOperator(JSOverloadedOperatorsObject value, JSOverloadedBinaryNode overloadedOperatorNode) protected ObjectdoSafeInteger(SafeInteger value) protected doubledoString(com.oracle.truffle.api.strings.TruffleString value, JSStringToNumberNode stringToNumberNode) protected final Numberprotected intdoUndefined(Object value) abstract Objectfinal longexecuteLong(Object value) final NumberexecuteNumber(Object value) protected com.oracle.truffle.api.strings.TruffleStringprotected final booleanMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
JSToUInt32Node
protected JSToUInt32Node(boolean unsignedRightShift, int shiftValue)
-
-
Method Details
-
create
-
create
-
execute
-
executeNumber
-
executeLong
-
doInteger
protected int doInteger(int value) -
doIntegerNegative
-
doSafeInteger
-
doBoolean
protected int doBoolean(boolean value) -
doLong
-
doLongNotSafeInteger
-
doDoubleFitsInt32Negative
protected double doDoubleFitsInt32Negative(double value) -
doDoubleRepresentableAsLong
protected double doDoubleRepresentableAsLong(double value) -
doDouble
protected double doDouble(double value) -
doNull
-
doUndefined
-
doString
protected double doString(com.oracle.truffle.api.strings.TruffleString value, JSStringToNumberNode stringToNumberNode) -
doSymbol
-
doBigInt
-
isUnsignedRightShift
protected final boolean isUnsignedRightShift() -
doOverloadedOperator
protected Object doOverloadedOperator(JSOverloadedOperatorsObject value, JSOverloadedBinaryNode overloadedOperatorNode) -
getOverloadedOperatorName
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName() -
doJSObject
-
doForeignObject
protected static double doForeignObject(Object object, JSToPrimitiveNode toPrimitiveNode, JSToUInt32Node toUInt32Node)
-