Class ToIntlMathematicalValue
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.intl.ToIntlMathematicalValue
- All Implemented Interfaces:
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.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ToIntlMathematicalValuecreate(boolean partOfRange) protected Numberprotected NumberdoBoolean(boolean value) protected NumberdoDouble(double value) protected NumberdoGeneric(Object value, JSToPrimitiveNode toPrimitiveNode, ToIntlMathematicalValue nestedToIntlMVNode) protected NumberdoLong(long value) protected Numberprotected NumberdoString(com.oracle.truffle.api.strings.TruffleString value) protected Numberprotected NumberdoUndefined(Object value) abstract NumberexecuteNumber(Object value) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods 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, toString
-
Constructor Details
-
ToIntlMathematicalValue
protected ToIntlMathematicalValue(boolean partOfRange)
-
-
Method Details
-
create
-
executeNumber
-
doDouble
-
doBigInt
-
doLong
-
doString
-
doBoolean
-
doUndefined
-
doNull
-
doSymbol
-
doGeneric
protected Number doGeneric(Object value, JSToPrimitiveNode toPrimitiveNode, ToIntlMathematicalValue nestedToIntlMVNode)
-