Part of twisted.words.xish View Source
Run time libraries needed to run parsers generated by Yapps.
This module defines parse-time exception classes, a scanner class, a base class for parsers produced by Yapps, and a context class that keeps track of the parse stack.Class | SyntaxError | When we run into an unexpected token, this is the exception to use |
Class | NoMoreTokens | Another exception object, for when we run out of tokens |
Class | Scanner | Yapps scanner. |
Class | Parser | Base class for Yapps-generated parsers. |
Class | Context | Class to represent the parser's call stack. |
Function | print_line_with_pointer | Print the line of 'text' that includes position 'p', |
Function | print_error | Print error messages, the parser stack, and the input text -- for human-readable error messages. |
Function | wrap_error_reporter | Undocumented |
Class | XPathParserScanner | No class docstring; 1/1 methods documented |
Class | XPathParser | Undocumented |
Function | parse | Undocumented |