public abstract static class TruffleString.GetCodeRangeNode extends Node
TruffleString.CodeRange
.TruffleString.CodeRange
,
TruffleString.GetCodeRangeImpreciseNode
Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.GetCodeRangeNode |
create()
Create a new
TruffleString.GetCodeRangeNode . |
abstract TruffleString.CodeRange |
execute(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
Get the string's precise
TruffleString.CodeRange . |
static TruffleString.GetCodeRangeNode |
getUncached()
Get the uncached version of
TruffleString.GetCodeRangeNode . |
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
public abstract TruffleString.CodeRange execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)
TruffleString.CodeRange
. This operation will cause a full string scan
if the precise code range is currently unknown.public static TruffleString.GetCodeRangeNode create()
TruffleString.GetCodeRangeNode
.public static TruffleString.GetCodeRangeNode getUncached()
TruffleString.GetCodeRangeNode
.