Package com.oracle.truffle.api.strings
Class TruffleString.ParseDoubleNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleString
Node to parse a given string as a double value.
- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleString.ParseDoubleNode
.abstract double
Parse the given string as a double value, or throwTruffleString.NumberFormatException
.Get the uncached version ofTruffleString.ParseDoubleNode
.Methods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
execute
Parse the given string as a double value, or throwTruffleString.NumberFormatException
.- Throws:
TruffleString.NumberFormatException
- Since:
- 22.1
-
create
Create a newTruffleString.ParseDoubleNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.ParseDoubleNode
.- Since:
- 22.1
-