Package com.oracle.truffle.api.strings
Class TruffleStringBuilder.AppendIntNumberNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleStringBuilder
Node to append an integer to a string builder. See
execute(TruffleStringBuilder, int)
for details.- 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 newTruffleStringBuilder.AppendIntNumberNode
.abstract void
execute
(TruffleStringBuilder sb, int value) Append the base-10 string equivalent of a given integer to the string builder.Get the uncached version ofTruffleStringBuilder.AppendIntNumberNode
.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, toString
-
Method Details
-
execute
Append the base-10 string equivalent of a given integer to the string builder. For ASCII-compatible encodings only.- Since:
- 22.1
-
create
Create a newTruffleStringBuilder.AppendIntNumberNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendIntNumberNode
.- Since:
- 22.1
-