Some classes that parsers share.
Bases: object
A field in a parser regular expression.
Bases: exceptions.Exception
Exception raised when looking up parser for an opaque value.
Bases: exceptions.Exception
Parse exception.
Bases: object
A generic parser object.
Keys within the regular expression.
Returns: | a list of the keys useful for finding portions of a match |
---|---|
Return type: | list of str |
Match value if possible.
Returns: | a dict representing the match, or None |
---|---|
Return type: | dict or NoneType |
A partially distinguishing prefix.
Some parsers may use the same prefix.
Returns: | a prefix that distinguishes the parser from other parsers |
---|---|
Return type: | str |
parseudev._shared.parse module
Enter search terms or a module, class or function name.