public abstract static class TruffleString.CodePointAtByteIndexNode extends Node
TruffleString.CodePointAtByteIndexNode.execute(AbstractTruffleString, int, TruffleString.Encoding)
for details.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.CodePointAtByteIndexNode |
create()
Create a new
TruffleString.CodePointAtByteIndexNode . |
int |
execute(AbstractTruffleString a,
int i,
TruffleString.Encoding expectedEncoding)
Decode and return the codepoint at byte index
i , with
best-effort error handling. |
abstract int |
execute(AbstractTruffleString a,
int i,
TruffleString.Encoding expectedEncoding,
TruffleString.ErrorHandling errorHandling)
Decode and return the codepoint at byte index
i . |
static TruffleString.CodePointAtByteIndexNode |
getUncached()
Get the uncached version of
TruffleString.CodePointAtByteIndexNode . |
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 final int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding)
i
, with
best-effort
error handling.public abstract int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)
i
.errorHandling
- analogous to TruffleString.CodePointAtIndexNode
.public static TruffleString.CodePointAtByteIndexNode create()
TruffleString.CodePointAtByteIndexNode
.public static TruffleString.CodePointAtByteIndexNode getUncached()
TruffleString.CodePointAtByteIndexNode
.