grammatica.grammar.String#
- class grammatica.grammar.String(value)[source]#
Grammar that exactly matches a string.
- Parameters:
value (
Iterable[str]) – Characters to match exactly.
Attributes
String to match exactly. |
Methods
|
Return a string representation of the grammar. |
Return instance attributes of the grammar. |
|
|
Create a copy of the grammar. |
|
Check equality with another value. |
|
Render the grammar as a regular expression. |
|
Simplify the grammar. |