public final class TRegexDFAExecutorProperties extends Object
| Constructor and Description |
|---|
TRegexDFAExecutorProperties(boolean forward,
boolean searching,
boolean genericCG,
boolean allowSimpleCG,
boolean regressionTestMode,
int numberOfCaptureGroups,
int minResultLength) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinResultLength() |
int |
getNumberOfCaptureGroups() |
boolean |
isAllowSimpleCG() |
boolean |
isBackward() |
boolean |
isForward() |
boolean |
isGenericCG()
True if the DFA executor must track capture groups via
CGTrackingDFAStateNodes. |
boolean |
isRegressionTestMode() |
boolean |
isSearching() |
boolean |
isSimpleCG()
True if the DFA executor tracks capture groups via
DFASimpleCG. |
boolean |
isSimpleCGMustCopy()
True if the DFA executor tracks capture groups via
DFASimpleCG, but must save the
current result every time a final state is reached. |
void |
setSimpleCG(boolean simpleCG) |
void |
setSimpleCGMustCopy(boolean simpleCGMustCopy) |
public TRegexDFAExecutorProperties(boolean forward,
boolean searching,
boolean genericCG,
boolean allowSimpleCG,
boolean regressionTestMode,
int numberOfCaptureGroups,
int minResultLength)
public boolean isForward()
public boolean isBackward()
public boolean isSearching()
public boolean isGenericCG()
CGTrackingDFAStateNodes.public boolean isAllowSimpleCG()
public boolean isSimpleCG()
DFASimpleCG.public void setSimpleCG(boolean simpleCG)
public boolean isSimpleCGMustCopy()
DFASimpleCG, but must save the
current result every time a final state is reached. This is necessary if any non-final states
are reachable from a final state in the DFA.public void setSimpleCGMustCopy(boolean simpleCGMustCopy)
public boolean isRegressionTestMode()
public int getNumberOfCaptureGroups()
public int getMinResultLength()