public abstract static class TruffleString.CharIndexOfAnyCharUTF16Node extends Node
char
from a given array. See
TruffleString.CharIndexOfAnyCharUTF16Node.execute(AbstractTruffleString, int, int, char[])
for details.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.CharIndexOfAnyCharUTF16Node |
create()
Create a new
TruffleString.CharIndexOfAnyCharUTF16Node . |
abstract int |
execute(AbstractTruffleString a,
int fromCharIndex,
int maxCharIndex,
char[] values)
Return the char index of the first occurrence of any char contained in
values ,
bounded by fromCharIndex (inclusive) and maxCharIndex (exclusive). |
static TruffleString.CharIndexOfAnyCharUTF16Node |
getUncached()
Get the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node . |
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 fromCharIndex, int maxCharIndex, char[] values)
values
,
bounded by fromCharIndex
(inclusive) and maxCharIndex
(exclusive).
If none of the values is found, return a negative value.
public static TruffleString.CharIndexOfAnyCharUTF16Node create()
TruffleString.CharIndexOfAnyCharUTF16Node
.public static TruffleString.CharIndexOfAnyCharUTF16Node getUncached()
TruffleString.CharIndexOfAnyCharUTF16Node
.