public final class TRegexDFAExecutorProperties extends Object
| Constructor and Description |
|---|
TRegexDFAExecutorProperties(boolean forward,
boolean searching,
boolean genericCG,
boolean allowSimpleCG,
boolean regressionTestMode,
boolean trackLastGroup,
int minResultLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFindStart() |
int |
getMinResultLength() |
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 |
setCanFindStart(boolean canFindStart) |
void |
setSimpleCG(boolean simpleCG) |
void |
setSimpleCGMustCopy(boolean simpleCGMustCopy) |
boolean |
tracksLastGroup() |
public TRegexDFAExecutorProperties(boolean forward,
boolean searching,
boolean genericCG,
boolean allowSimpleCG,
boolean regressionTestMode,
boolean trackLastGroup,
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 canFindStart()
public void setCanFindStart(boolean canFindStart)
public boolean isRegressionTestMode()
public boolean tracksLastGroup()
public int getMinResultLength()