public abstract static class MutableTruffleString.SubstringNode extends Node
MutableTruffleString.SubstringNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding) for details.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static MutableTruffleString.SubstringNode |
create()
Create a new
MutableTruffleString.SubstringNode. |
abstract MutableTruffleString |
execute(AbstractTruffleString a,
int fromIndex,
int length,
TruffleString.Encoding expectedEncoding)
Create a new mutable substring of
a, starting from fromIndex, with length
length. |
static MutableTruffleString.SubstringNode |
getUncached()
Get the uncached version of
MutableTruffleString.SubstringNode. |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract MutableTruffleString execute(AbstractTruffleString a, int fromIndex, int length, TruffleString.Encoding expectedEncoding)
a, starting from fromIndex, with length
length. The substring is performed eagerly since return value is mutable.public static MutableTruffleString.SubstringNode create()
MutableTruffleString.SubstringNode.public static MutableTruffleString.SubstringNode getUncached()
MutableTruffleString.SubstringNode.