add ASTXml class to outout AST into a xml file