Elide GraalVM25.6.0-elide.4
All types
Versions and modules

TruffleString.IndexOfCodePointNode

Javaabstract classin com.oracle.truffle.api.stringssince 22.1

public abstract static class TruffleString.IndexOfCodePointNode extends AbstractPublicNode
Inheritance
  1. Object
  2. Node
  3. AbstractPublicNode
  4. IndexOfCodePointNode
Enclosing type
TruffleString

Node to find the index of the first occurrence of a given code point. See execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) for details.

Members shown

Methods3 + 26 inherited

int execute(AbstractTruffleString, int, int, int, TruffleString.Encoding)

execute

abstractsince 22.1
public 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.

Parameters

aAbstractTruffleString
No description.
codepointint
No description.
fromIndexint
No description.
toIndexint
No description.
expectedEncodingTruffleString.Encoding
No description.

Returns

int
No description.
static TruffleString.IndexOfCodePointNode create()

create

staticsince 22.1
public static TruffleString.IndexOfCodePointNode create()

Create a new IndexOfCodePointNode.

static TruffleString.IndexOfCodePointNode getUncached()

getUncached

staticsince 22.1
public static TruffleString.IndexOfCodePointNode getUncached()

Get the uncached version of IndexOfCodePointNode.

Inherited members