public class TRegexExecNode extends RegexExecNode implements RegexProfile.TracksRegexProfile
| Modifier and Type | Class and Description |
|---|---|
static class |
TRegexExecNode.LazyCaptureGroupRegexSearchNode |
static class |
TRegexExecNode.RunRegexSearchNode |
source| Constructor and Description |
|---|
TRegexExecNode(RegexAST ast,
TRegexExecutorNode nfaExecutor) |
| Modifier and Type | Method and Description |
|---|---|
TRegexExecutorEntryNode |
createEntryNode(TRegexExecutorNode executor) |
RegexResult |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
com.oracle.truffle.api.strings.TruffleString input,
int fromIndex) |
String |
getEngineLabel() |
int |
getNumberOfCaptureGroups() |
RegexProfile |
getRegexProfile() |
boolean |
isBacktracking() |
boolean |
isNFA() |
execute, inputLength, inputReadcreateWrapper, getEncoding, 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 TRegexExecNode(RegexAST ast, TRegexExecutorNode nfaExecutor)
public final RegexResult execute(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.strings.TruffleString input, int fromIndex)
execute in class RegexExecNodepublic int getNumberOfCaptureGroups()
public boolean isBacktracking()
isBacktracking in class RegexExecNodepublic boolean isNFA()
isNFA in class RegexExecNodepublic RegexProfile getRegexProfile()
getRegexProfile in interface RegexProfile.TracksRegexProfilepublic TRegexExecutorEntryNode createEntryNode(TRegexExecutorNode executor)
public final String getEngineLabel()
getEngineLabel in class RegexBodyNode