public abstract static class TruffleString.ByteIndexOfCodePointNode extends Node
TruffleString.IndexOfCodePointNode
, but with byte indices.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.ByteIndexOfCodePointNode |
create()
Create a new
TruffleString.ByteIndexOfCodePointNode . |
abstract int |
execute(AbstractTruffleString a,
int codepoint,
int fromByteIndex,
int toByteIndex,
TruffleString.Encoding expectedEncoding)
TruffleString.IndexOfCodePointNode , but with byte indices. |
static TruffleString.ByteIndexOfCodePointNode |
getUncached()
Get the uncached version of
TruffleString.ByteIndexOfCodePointNode . |
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 int execute(AbstractTruffleString a, int codepoint, int fromByteIndex, int toByteIndex, TruffleString.Encoding expectedEncoding)
TruffleString.IndexOfCodePointNode
, but with byte indices.public static TruffleString.ByteIndexOfCodePointNode create()
TruffleString.ByteIndexOfCodePointNode
.public static TruffleString.ByteIndexOfCodePointNode getUncached()
TruffleString.ByteIndexOfCodePointNode
.