Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

stefan.cc File Reference

#include "stefan.h"
#include "stefan_i.h"

Include dependency graph for stefan.cc:

Include dependency graph

Go to the source code of this file.

Functions

bool change_alloc (char *&buffer, std::size_t olds, std::size_t news)
bool process (char *file_name)
void init_default_symbols (Abstract_scope *s)
int main (int argc, char **argv)

Variables

char cpp_name [] = "cpp"
std::vector< char * > prepro_args
std::vector< char * > input_files


Function Documentation

bool change_alloc char *&    buffer,
std::size_t    olds,
std::size_t    news
[static]
 

Definition at line 37 of file stefan.cc.

Referenced by Program_from_fd::Program_from_fd().

void init_default_symbols Abstract_scope   s [static]
 

Definition at line 159 of file stefan.cc.

References Abstract_scope::add_function_decl(), Symbol_name::ADELETE_OPERATOR_NAME, Symbol_name::ANEW_OPERATOR_NAME, Symbol_name::DELETE_OPERATOR_NAME, Symbol_name::k_Alloc, make_unary_function_type(), Symbol_name::NEW_OPERATOR_NAME, and s_Extern.

Referenced by main().

int main int    argc,
char **    argv
 

Definition at line 173 of file stefan.cc.

References Symbol_table::begin(), Symbol_table::dump(), Symbol_table::dump_flags, Symbol_table::end(), Function_symbol::fill_in_mangled_names(), Symbol_table::get_instance(), Annotator::get_output(), Symbol_table::has_dump_flag(), init_default_symbols(), input_files, Source::instance(), prepro_args, print_annotated_tree(), process(), Symbol_table::Sym_it, and Ptree_visitor< Annotator_RT >::visit().

bool process char *    file_name [static]
 

Definition at line 103 of file stefan.cc.

References cpp_name, execvp(), Symbol_table::has_dump_flag(), Source::instance(), Source::parse(), prepro_args, and wait().

Referenced by main().


Variable Documentation

char cpp_name[] = "cpp" [static]
 

Definition at line 27 of file stefan.cc.

Referenced by process().

std::vector<char*> input_files [static]
 

Definition at line 32 of file stefan.cc.

Referenced by main().

std::vector<char*> prepro_args [static]
 

Definition at line 30 of file stefan.cc.

Referenced by main(), and process().


Generated on Mon Feb 10 17:34:36 2003 for VFiasco Semantics Compiler by doxygen1.2.15