Lines Matching refs:Parser
32 from antlr3 import Parser, TokenStream, RecognitionException, Token
35 class DebugParser(Parser):
43 # Who to notify when events in the parser occur.
50 """Provide a new debug event listener for this parser. Notify the
82 Parser.reportError(self, exc)
414 """The parser has just entered a rule. No decision has been made about
492 """The parser is going to look arbitrarily ahead; mark this location,
516 """To watch a parser move through the grammar, the parser needs to
522 the parser whenever it hits this line/pos.
589 the parser. Any consume events from here until the recovered event
602 a beginResync/endResync pair was tossed out by the parser.
615 to connect and communicate with a remote parser. The thread will want
635 """Input for a tree parser is an AST, but we know nothing for sure
647 """The tree parser lookedahead. If the type is UP or DOWN,
849 # we don't know how to cast it (Parser or TreeParser) to get