Home | History | Annotate | Download | only in pgen2

Lines Matching defs:Parser

4 """Parser engine for the grammar tables generated by pgen.
8 See Parser/parser.c in the Python distribution for additional info on
17 """Exception to signal the parser is stuck."""
27 class Parser(object):
28 """Parser engine.
32 p = Parser(grammar, [converter]) # create instance
39 A Parser instance may be reused by calling setup() repeatedly.
41 A Parser instance contains state pertaining to the current token
51 the ParseError exception. There is no error recovery; the parser
63 The parser is not ready yet for parsing; you must call the
97 You can use a Parser instance to parse any number of programs;
98 each time you call setup() the parser is reset to an initial