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