#include <stdint.h>#include <stdio.h>#include <unistd.h>#include <dirent.h>#include <string>#include <iostream>#include "AST.hxx"#include "backend.hxx"Go to the source code of this file.
Functions | |
| static void | XMLp (std::ostream &out, shared_ptr< AST > ast, std::string pad, bool showLoc) |
| static void | XMLd (std::ostream &out, shared_ptr< AST > ast, bool showLoc) |
| bool | XMLpp (std::ostream &out, std::ostream &err, shared_ptr< UocInfo > uoc) |
| bool | XMLdump (std::ostream &out, std::ostream &err, shared_ptr< UocInfo > uoc) |
| std::string | xmlMangle (std::string idName) |
| static void | emitXMLType (INOstream &out, std::string name, shared_ptr< TypeScheme > ts, bool raw=false) |
| static void | XMLtypes (INOstream &out, shared_ptr< AST > ast, bool raw=false) |
| void | XML_types_PP (std::ostream &out, shared_ptr< AST > ast, bool raw=false) |
| bool | XMLtypesPP (std::ostream &out, std::ostream &err, shared_ptr< UocInfo > uoc) |
| static void emitXMLType | ( | INOstream & | out, | |
| std::string | name, | |||
| shared_ptr< TypeScheme > | ts, | |||
| bool | raw = false | |||
| ) | [static] |
Definition at line 195 of file XML-pp.cxx.
References boost::GC_NULL, sherpa::INOstream::less(), TvPrinter::make(), sherpa::INOstream::more(), and xmlMangle().
Referenced by XMLtypes().
| void XML_types_PP | ( | std::ostream & | out, | |
| shared_ptr< AST > | ast, | |||
| bool | raw = false | |||
| ) |
| static void XMLd | ( | std::ostream & | out, | |
| shared_ptr< AST > | ast, | |||
| bool | showLoc | |||
| ) | [static] |
Definition at line 103 of file XML-pp.cxx.
References at_ident, identTypeToString(), and AST::tagName().
Referenced by XMLdump().
| bool XMLdump | ( | std::ostream & | out, | |
| std::ostream & | err, | |||
| shared_ptr< UocInfo > | uoc | |||
| ) |
| std::string xmlMangle | ( | std::string | idName | ) |
| static void XMLp | ( | std::ostream & | out, | |
| shared_ptr< AST > | ast, | |||
| std::string | pad, | |||
| bool | showLoc | |||
| ) | [static] |
Definition at line 52 of file XML-pp.cxx.
References at_ident, identTypeToString(), and AST::tagName().
Referenced by XMLpp().
| bool XMLpp | ( | std::ostream & | out, | |
| std::ostream & | err, | |||
| shared_ptr< UocInfo > | uoc | |||
| ) |
Definition at line 217 of file XML-pp.cxx.
References assert(), at_declare, at_declstruct, at_declunion, at_defexception, at_define, at_definstance, at_defstruct, at_deftypeclass, at_defunion, at_ident, at_identPattern, at_importAs, at_interface, at_module, at_proclaim, at_provide, at_recdef, at_usesel, emitXMLType(), sherpa::INOstream::less(), and sherpa::INOstream::more().
Referenced by XML_types_PP().
| bool XMLtypesPP | ( | std::ostream & | out, | |
| std::ostream & | err, | |||
| shared_ptr< UocInfo > | uoc | |||
| ) |
1.4.7