public abstract static class MutableTruffleString.AsManagedNode extends Node
AbstractTruffleString as a managed
MutableTruffleString, meaning that the resulting string's backing memory is not a
native pointer. See MutableTruffleString.AsManagedNode.execute(AbstractTruffleString, TruffleString.Encoding) for
details.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static MutableTruffleString.AsManagedNode |
create()
Create a new
MutableTruffleString.AsManagedNode. |
abstract MutableTruffleString |
execute(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
If the given string is already a managed (i.e.
|
static MutableTruffleString.AsManagedNode |
getUncached()
Get the uncached version of
MutableTruffleString.AsManagedNode. |
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, TruffleString.Encoding expectedEncoding)
public static MutableTruffleString.AsManagedNode create()
MutableTruffleString.AsManagedNode.public static MutableTruffleString.AsManagedNode getUncached()
MutableTruffleString.AsManagedNode.