Lines Matching refs:parser
14 parser = self.getParser(tStream)
15 parser.document()
17 assert len(parser.reportedErrors) == 0, parser.reportedErrors
18 assert parser.events == [
23 ], parser.events
30 parser = self.getParser(tStream)
32 parser.document()
36 assert len(parser.reportedErrors) == 1, parser.reportedErrors
37 assert parser.events == [], parser.events
44 parser = self.getParser(tStream)
46 parser.document()
50 assert len(parser.reportedErrors) == 1, parser.reportedErrors
51 assert parser.events == [
53 ], parser.events
60 parser = self.getParser(tStream)
62 parser.document()
66 assert len(parser.reportedErrors) == 1, parser.reportedErrors
67 assert parser.events == [
70 ], parser.events