Class TruffleStringBuilder.AppendByteNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleStringBuilder
Node to append a single byte to a string builder.
- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleStringBuilder.AppendByteNode
.abstract void
execute
(TruffleStringBuilder sb, byte value) Append a single byte to the string builder.Get the uncached version ofTruffleStringBuilder.AppendByteNode
.Methods inherited from class 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
Append a single byte to the string builder. Does not support UTF-16 and UTF-32; useTruffleStringBuilder.AppendCharUTF16Node
andTruffleStringBuilder.AppendCodePointNode
instead.- Since:
- 22.1
-
create
Create a newTruffleStringBuilder.AppendByteNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendByteNode
.- Since:
- 22.1
-