public abstract static class TruffleString.LastIndexOfCodePointNode extends Node
TruffleString.LastIndexOfCodePointNode.execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) for details.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static TruffleString.LastIndexOfCodePointNode |
create()
Create a new
TruffleString.LastIndexOfCodePointNode. |
abstract int |
execute(AbstractTruffleString a,
int codepoint,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Return the codepoint index of the last occurrence of
codepoint, bounded by
fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if
no occurrence is found return a negative value. |
static TruffleString.LastIndexOfCodePointNode |
getUncached()
Get the uncached version of
TruffleString.LastIndexOfCodePointNode. |
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 codepoint, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
codepoint, bounded by
fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if
no occurrence is found return a negative value.public static TruffleString.LastIndexOfCodePointNode create()
TruffleString.LastIndexOfCodePointNode.public static TruffleString.LastIndexOfCodePointNode getUncached()
TruffleString.LastIndexOfCodePointNode.