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