public abstract class RegexExecNode extends RegexBodyNode
source| Constructor and Description |
|---|
RegexExecNode(RegexLanguage language,
RegexSource source,
boolean mustCheckUTF16Surrogates) |
| Modifier and Type | Method and Description |
|---|---|
RegexResult |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
protected abstract RegexResult |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
Object input,
int fromIndex) |
int |
inputLength(Object input) |
int |
inputRead(Object input,
int i) |
boolean |
isBacktracking() |
createWrapper, getEncoding, getEngineLabel, getRegexLanguage, getSource, getSourceSection, hasTag, isBooleanMatch, isInstrumentable, toStringgetLanguage, getLanguageInfoaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic RegexExecNode(RegexLanguage language, RegexSource source, boolean mustCheckUTF16Surrogates)
public final RegexResult execute(com.oracle.truffle.api.frame.VirtualFrame frame)
execute in class com.oracle.truffle.api.nodes.ExecutableNodepublic int inputLength(Object input)
public int inputRead(Object input, int i)
public boolean isBacktracking()
protected abstract RegexResult execute(com.oracle.truffle.api.frame.VirtualFrame frame, Object input, int fromIndex)