public abstract class InputIndexOfStringNode
extends com.oracle.truffle.api.nodes.Node
| Constructor and Description |
|---|
InputIndexOfStringNode() |
| Modifier and Type | Method and Description |
|---|---|
static InputIndexOfStringNode |
create() |
int |
doBytes(byte[] input,
int fromIndex,
int maxIndex,
byte[] match,
Object mask) |
int |
doBytesMask(byte[] input,
int fromIndex,
int maxIndex,
byte[] match,
byte[] mask) |
int |
doString(String input,
int fromIndex,
int maxIndex,
String match,
Object mask) |
int |
doStringMask(String input,
int fromIndex,
int maxIndex,
String match,
String mask) |
int |
doTruffleObjBytes(Object input,
int fromIndex,
int maxIndex,
byte[] match,
Object mask,
InputLengthNode lengthNode,
InputRegionMatchesNode regionMatchesNode) |
int |
doTruffleObjString(Object input,
int fromIndex,
int maxIndex,
String match,
Object mask,
InputLengthNode lengthNode,
InputRegionMatchesNode regionMatchesNode) |
abstract int |
execute(Object input,
int fromIndex,
int maxIndex,
Object match,
Object mask) |
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 InputIndexOfStringNode create()
public abstract int execute(Object input, int fromIndex, int maxIndex, Object match, Object mask)
public int doBytes(byte[] input,
int fromIndex,
int maxIndex,
byte[] match,
Object mask)
public int doBytesMask(byte[] input,
int fromIndex,
int maxIndex,
byte[] match,
byte[] mask)
public int doStringMask(String input, int fromIndex, int maxIndex, String match, String mask)
public int doTruffleObjBytes(Object input, int fromIndex, int maxIndex, byte[] match, Object mask, InputLengthNode lengthNode, InputRegionMatchesNode regionMatchesNode)
public int doTruffleObjString(Object input, int fromIndex, int maxIndex, String match, Object mask, InputLengthNode lengthNode, InputRegionMatchesNode regionMatchesNode)
protected static boolean neitherByteArrayNorString(Object obj)