Lines Matching refs:result
236 result = getattr(parser, options.parserRule)()
237 if result is not None:
238 if hasattr(result, 'tree') and result.tree is not None:
239 self.writeln(options, result.tree.toStringTree())
241 self.writeln(options, repr(result))
294 result = getattr(parser, options.parserRule)()
295 if result is not None:
296 assert hasattr(result, 'tree'), "Parser did not return an AST"
297 nodeStream = antlr3.tree.CommonTreeNodeStream(result.tree)
300 result = getattr(walker, options.walkerRule)()
301 if result is not None:
302 if hasattr(result, 'tree'):
303 self.writeln(options, result.tree.toStringTree())
305 self.writeln(options, repr(result))