Property | Type | Description | |
---|---|---|---|
RegExTree | System | ||
Visit | void | ||
contextLength | int | ||
minimumLength | int |
Method | Description | |
---|---|---|
RegExTree ( RegOp op ) : System | ||
Visit ( |
This is the navigation method for running the visitor over the tree in a depth-first-search visit order.
|
|
contextLength ( ) : int |
This is a helper to compute the length of strings recognized by a regular expression. This is important because the right context operator "R1/R2" is efficiently implemented if either R1 or R2 produce fixed length strings.
|
|
minimumLength ( ) : int |
This is a helper to compute the minimum length of strings recognized by a regular expression. It is the minimum consumption of input by a pattern.
|