add method stub to output the parse tree and AST in xml file in future