Derivation rules#
Constructor#
|
Derivation rule that expands to a expression (grammar). |
Attributes#
Symbol (non-terminal) for the derivation rule. |
|
Grammar the symbol derives into. |
Rendering#
|
Render the grammar as a regular expression. |
|
Return a string representation of the grammar. |
Simplification#
Simplify the grammar. |
Utility#
Create a copy of the grammar. |
|
|
Check equality with another value. |
Metadata#
Warning
DerivationRule.attrs_dict is considered experimental and may change without warning.
Return instance attributes of the grammar. |