Or objects#
Constructor#
|
Grouped grammar that represents a logical OR operation between grammars. |
Attributes#
Separator to use for the grammar. |
|
Group of grammars. |
|
Minimum and maximum repetitions the expression must match. |
Rendering#
|
Render the grammar as a regular expression. |
Render the quantifier. |
|
Check if the expression needs to be wrapped in parentheses. |
|
|
Return a string representation of the grammar. |
Simplification#
Simplify the grammar. |
|
|
Simplify the provided subexpressions for the grouped grammar. |
Utility#
Metadata#
Warning
Or.attrs_dict is considered experimental and may change without warning.
Return instance attributes of the grammar. |