public abstract class InputIndexOfNode
extends com.oracle.truffle.api.nodes.Node
| Constructor and Description |
|---|
InputIndexOfNode() |
| Modifier and Type | Method and Description |
|---|---|
static InputIndexOfNode |
create() |
int |
doBytes(byte[] input,
int fromIndex,
int maxIndex,
byte[] bytes) |
int |
doChars(String input,
int fromIndex,
int maxIndex,
char[] chars) |
int |
doTruffleObjBytes(Object input,
int fromIndex,
int maxIndex,
byte[] bytes,
InputReadNode charAtNode) |
int |
doTruffleObjChars(Object input,
int fromIndex,
int maxIndex,
char[] chars,
InputReadNode charAtNode) |
abstract int |
execute(Object input,
int fromIndex,
int maxIndex,
Object chars) |
protected static boolean |
neitherByteArrayNorString(Object obj) |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic static InputIndexOfNode create()
public int doBytes(byte[] input,
int fromIndex,
int maxIndex,
byte[] bytes)
public int doChars(String input, int fromIndex, int maxIndex, char[] chars)
public int doTruffleObjBytes(Object input, int fromIndex, int maxIndex, byte[] bytes, InputReadNode charAtNode)
public int doTruffleObjChars(Object input, int fromIndex, int maxIndex, char[] chars, InputReadNode charAtNode)
protected static boolean neitherByteArrayNorString(Object obj)