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