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 Node
Node.Child, Node.Children -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newTruffleStringBuilder.AppendJavaStringUTF16Node.final voidexecute(TruffleStringBuilder sb, String a) Append a substring of a givenStringto the string builder.abstract voidexecute(TruffleStringBuilder sb, String a, int fromCharIndex, int charLength) Append a substring of a givenString, starting at char indexfromIndexand ending atfromIndex + length, to the string builder.Get the uncached version ofTruffleStringBuilder.AppendJavaStringUTF16Node.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 substring of a givenStringto the string builder. For UTF-16 only.- Since:
- 22.1
-
execute
Append a substring of a givenString, starting at char indexfromIndexand 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
-