Package com.oracle.truffle.api.strings
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 com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleStringBuilder.AppendSubstringByteIndexNode
.abstract void
execute
(TruffleStringBuilder sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Append a substring of a givenTruffleString
, starting at byte indexfromByteIndex
and ending at byte indexfromByteIndex + byteLength
, to the string builder.Get the uncached version ofTruffleStringBuilder.AppendSubstringByteIndexNode
.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
public abstract void execute(TruffleStringBuilder sb, AbstractTruffleString a, int fromByteIndex, int byteLength) Append a substring of a givenTruffleString
, starting at byte indexfromByteIndex
and ending at byte indexfromByteIndex + byteLength
, to the string builder.- Since:
- 22.1
-
create
Create a newTruffleStringBuilder.AppendSubstringByteIndexNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendSubstringByteIndexNode
.- Since:
- 22.1
-