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,
com.oracle.truffle.api.strings.TruffleString input,
int fromIndex) |
int |
inputLength(com.oracle.truffle.api.strings.TruffleString input) |
int |
inputRead(com.oracle.truffle.api.strings.TruffleString input,
int i) |
boolean |
isBacktracking() |
boolean |
isNFA() |
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 final int inputLength(com.oracle.truffle.api.strings.TruffleString input)
public final int inputRead(com.oracle.truffle.api.strings.TruffleString input,
int i)
public boolean isBacktracking()
public boolean isNFA()
protected abstract RegexResult execute(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.strings.TruffleString input, int fromIndex)