ReprSimp.cxx File Reference

#include <stdint.h>
#include <stdlib.h>
#include <dirent.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <libsherpa/UExcept.hxx>
#include <libsherpa/CVector.hxx>
#include <libsherpa/avl.hxx>
#include <assert.h>
#include "AST.hxx"
#include "Type.hxx"
#include "inter-pass.hxx"

Go to the source code of this file.

Functions

void CollectBodyTags (GCPtr< AST > body, GCPtr< CVector< std::string > > tags, std::string tagPrefix)
void CollectReprLeg (GCPtr< AST > body, GCPtr< AST > ctor, std::string theTag)
static GCPtr< ASTReprSimp (GCPtr< AST > ast)


Function Documentation

void CollectBodyTags ( GCPtr< AST body,
GCPtr< CVector< std::string > >  tags,
std::string  tagPrefix 
)

Definition at line 56 of file ReprSimp.cxx.

References prefix.

Referenced by ReprSimp().

void CollectReprLeg ( GCPtr< AST body,
GCPtr< AST ctor,
std::string  theTag 
)

Definition at line 128 of file ReprSimp.cxx.

References at_field.

Referenced by ReprSimp().

static GCPtr<AST> ReprSimp ( GCPtr< AST ast  )  [static]

Definition at line 167 of file ReprSimp.cxx.

References at_constructor, at_constructors, at_declrepr, at_declunion, at_defrepr, at_defunion, at_ident, CollectBodyTags(), and CollectReprLeg().


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