public abstract class TRegexExecutorBaseNode
extends com.oracle.truffle.api.nodes.Node
implements com.oracle.truffle.api.instrumentation.InstrumentableNode
| Constructor and Description |
|---|
TRegexExecutorBaseNode() |
| Modifier and Type | Method and Description |
|---|---|
abstract TRegexExecutorLocals |
createLocals(com.oracle.truffle.api.strings.TruffleString input,
int fromIndex,
int index,
int maxIndex) |
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode |
createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probeNode) |
abstract Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
TRegexExecutorLocals locals,
com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange) |
Encodings.Encoding |
getEncoding() |
abstract String |
getName() |
abstract int |
getNumberOfStates() |
abstract int |
getNumberOfTransitions() |
abstract RegexSource |
getSource() |
boolean |
isBooleanMatch() |
abstract boolean |
isForward() |
boolean |
isInstrumentable() |
abstract boolean |
isSimpleCG() |
boolean |
isTrivial() |
boolean |
isUTF16() |
boolean |
isUTF32() |
boolean |
isUTF8() |
abstract TRegexExecutorNode |
shallowCopy() |
TRegexExecutorNode |
unwrap() |
abstract boolean |
writesCaptureGroups()
Returns
true if this executor may write any new capture group boundaries. |
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 abstract Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals locals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange)
public final boolean isInstrumentable()
isInstrumentable in interface com.oracle.truffle.api.instrumentation.InstrumentableNodepublic final com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probeNode)
createWrapper in interface com.oracle.truffle.api.instrumentation.InstrumentableNodepublic final TRegexExecutorNode unwrap()
public abstract TRegexExecutorNode shallowCopy()
public abstract RegexSource getSource()
public final Encodings.Encoding getEncoding()
public final boolean isUTF8()
public final boolean isUTF16()
public final boolean isUTF32()
public final boolean isBooleanMatch()
public abstract int getNumberOfStates()
public abstract int getNumberOfTransitions()
public abstract String getName()
public abstract boolean isForward()
public boolean isTrivial()
public abstract boolean isSimpleCG()
public abstract boolean writesCaptureGroups()
true if this executor may write any new capture group boundaries.public abstract TRegexExecutorLocals createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int index, int maxIndex)