Class TruffleStringBuilder.AppendSubstringByteIndexNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleStringBuilder
Node to append a substring of a given
TruffleString to a string builder. See
execute(TruffleStringBuilder, AbstractTruffleString, 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.AppendSubstringByteIndexNode.abstract voidexecute(TruffleStringBuilder sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Append a substring of a givenTruffleString, starting at byte indexfromByteIndexand ending at byte indexfromByteIndex + byteLength, to the string builder.abstract voidexecute(TruffleStringBuilderUTF16 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.abstract voidexecute(TruffleStringBuilderUTF32 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.abstract voidexecute(TruffleStringBuilderUTF8 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.Get the uncached version ofTruffleStringBuilder.AppendSubstringByteIndexNode.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
public abstract void execute(TruffleStringBuilder sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Append a substring of a givenTruffleString, starting at byte indexfromByteIndexand ending at byte indexfromByteIndex + byteLength, to the string builder.- Since:
- 22.1
-
execute
public abstract void execute(TruffleStringBuilderUTF8 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.- Since:
- 25.1
-
execute
public abstract void execute(TruffleStringBuilderUTF16 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.- Since:
- 25.1
-
execute
public abstract void execute(TruffleStringBuilderUTF32 sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Overload ofexecute(TruffleStringBuilder, AbstractTruffleString, int, int)for performance reasons.- Since:
- 25.1
-
create
Create a newTruffleStringBuilder.AppendSubstringByteIndexNode.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendSubstringByteIndexNode.- Since:
- 22.1
-