XML-pp.cxx File Reference

#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)


Function Documentation

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 
)

Definition at line 283 of file XML-pp.cxx.

References XMLtypes().

Referenced by XMLtypesPP().

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 
)

Definition at line 161 of file XML-pp.cxx.

References XMLd().

std::string xmlMangle ( std::string  idName  ) 

Definition at line 171 of file XML-pp.cxx.

References s.

Referenced by emitXMLType().

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 154 of file XML-pp.cxx.

References XMLp().

static void XMLtypes ( INOstream out,
shared_ptr< AST ast,
bool  raw = false 
) [static]

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 
)

Definition at line 291 of file XML-pp.cxx.

References XML_types_PP().


Generated on Thu May 17 23:59:16 2012 for BitC Compiler by  doxygen 1.4.7