public abstract static class TruffleString.ByteLengthOfCodePointNode extends Node
TruffleString.ByteLengthOfCodePointNode.execute(AbstractTruffleString, int, TruffleString.Encoding) for details.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static TruffleString.ByteLengthOfCodePointNode |
create()
Create a new
TruffleString.ByteLengthOfCodePointNode. |
abstract int |
execute(AbstractTruffleString a,
int byteIndex,
TruffleString.Encoding expectedEncoding)
Get the number of bytes occupied by the codepoint starting at
byteIndex. |
static TruffleString.ByteLengthOfCodePointNode |
getUncached()
Get the uncached version of
TruffleString.ByteLengthOfCodePointNode. |
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 int execute(AbstractTruffleString a, int byteIndex, TruffleString.Encoding expectedEncoding)
byteIndex.public static TruffleString.ByteLengthOfCodePointNode create()
TruffleString.ByteLengthOfCodePointNode.public static TruffleString.ByteLengthOfCodePointNode getUncached()
TruffleString.ByteLengthOfCodePointNode.