Package com.oracle.truffle.api.strings
Class TruffleStringBuilder.AppendJavaStringUTF16Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleStringBuilder
Node to append a substring of a given
String
to a string builder. See
execute(TruffleStringBuilder, String, int, 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.AppendJavaStringUTF16Node
.final void
execute
(TruffleStringBuilder sb, String a) Append a substring of a givenString
to the string builder.abstract void
execute
(TruffleStringBuilder sb, String a, int fromCharIndex, int charLength) Append a substring of a givenString
, starting at char indexfromIndex
and ending atfromIndex + length
, to the string builder.Get the uncached version ofTruffleStringBuilder.AppendJavaStringUTF16Node
.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 a substring of a givenString
to the string builder. For UTF-16 only.- Since:
- 22.1
-
execute
Append a substring of a givenString
, starting at char indexfromIndex
and ending atfromIndex + length
, to the string builder. For UTF-16 only.- Since:
- 22.1
-
create
Create a newTruffleStringBuilder.AppendJavaStringUTF16Node
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendJavaStringUTF16Node
.- Since:
- 22.1
-