public static final class Regular.Gen.Config extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowEmptyBindings
Whether binding regular expressions of size 0 are allowed
|
float |
alternate
Probability to generate a regular expression of the form "a | b"
|
float |
chars
Probability to generate a regexp matching some character set
|
CSet.Gen.Config |
csConfig
Configuration used to generate the random character sets
|
float |
eof
Probability to generate
Regular.EOF |
float |
epsilon
Probability to generate
Regular.EPSILON |
int |
maxDepth
Maximum depth of a generated regular expression
|
float |
repetition
Probability to generate a regular expression of the form "a*"
|
float |
sequence
Probability to generate a regular expression of the form "ab"
|
Constructor and Description |
---|
Config() |
public float epsilon
Regular.EPSILON
public float eof
Regular.EOF
public float chars
public float alternate
public float sequence
public float repetition
public int maxDepth
public boolean allowEmptyBindings
public CSet.Gen.Config csConfig