public abstract static class TruffleString.GetStringCompactionLevelNode extends Node
TruffleString.CompactionLevel.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static TruffleString.GetStringCompactionLevelNode |
create()
Create a new
TruffleString.GetStringCompactionLevelNode. |
abstract TruffleString.CompactionLevel |
execute(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
Get the string's
TruffleString.CompactionLevel. |
static TruffleString.GetStringCompactionLevelNode |
getUncached()
Get the uncached version of
TruffleString.GetStringCompactionLevelNode. |
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 TruffleString.CompactionLevel execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)
TruffleString.CompactionLevel. Since string compaction is only supported on
TruffleString.Encoding.UTF_16 and TruffleString.Encoding.UTF_32, this node will return
TruffleString.CompactionLevel.S1 on all other encodings.public static TruffleString.GetStringCompactionLevelNode create()
TruffleString.GetStringCompactionLevelNode.public static TruffleString.GetStringCompactionLevelNode getUncached()
TruffleString.GetStringCompactionLevelNode.