Fixinit.cxx File Reference

#include <stdint.h>
#include <stdlib.h>
#include <dirent.h>
#include <fstream>
#include <iostream>
#include <string>
#include "AST.hxx"
#include "Environment.hxx"
#include "Symtab.hxx"
#include "Unify.hxx"
#include "inter-pass.hxx"
#include <sstream>

Go to the source code of this file.

Functions

bool isTrivialInit (AST *ast)
ASTFixDefs (AST *mod)
bool fixinit (std::ostream &errStream, UocInfo *uoc)


Function Documentation

AST* FixDefs ( AST mod  ) 

Definition at line 98 of file Fixinit.cxx.

References AST::addChild(), argVec, TypeScheme::ast, AST::astType, at_apply, at_argVec, at_begin, at_constraints, at_define, at_identPattern, at_lambda, AST::children, AST::genSym(), isTrivialInit(), and AST::loc.

Referenced by fixinit().

bool fixinit ( std::ostream &  errStream,
UocInfo uoc 
)

Definition at line 177 of file Fixinit.cxx.

References FixDefs(), and uoc.

bool isTrivialInit ( AST ast  ) 

Definition at line 54 of file Fixinit.cxx.

References TypeScheme::ast, at_begin, at_boolLiteral, at_charLiteral, at_floatLiteral, at_ident, at_intLiteral, at_lambda, at_stringLiteral, at_unit, and isTrivialInit().


Generated on Sat Feb 4 23:59:29 2012 for BitC Compiler by  doxygen 1.4.7