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

parse_file.cxx File Reference

#include <cppParser.h>
#include <cppManifest.h>
#include <cppStructType.h>
#include <cppFunctionGroup.h>
#include <cppTypedef.h>
#include <cppExpressionParser.h>
#include <cppExpression.h>
#include <cppType.h>
#include <cppGlobals.h>
#include <stdlib.h>
#include <gnu_getopt.h>

Go to the source code of this file.

Functions

void predefine_macro (CPPParser &parser, const string &option)
void show_type_or_expression (const string &str)
void show_methods (const string &str)
void show_data_members (const string &str)
void show_typedefs (const string &str)
int main (int argc, char *argv[])

Variables

CPPParser parser


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 205 of file parse_file.cxx.

References CPPPreprocessor::_include_path, CPPPreprocessor::_system_include_path, DSearchPath::append_directory(), argv, cpp_longlong_keyword, CPPPreprocessor::get_verbose(), getopt, optarg, optind, CPPParser::parse_file(), parser, predefine_macro(), CPPPreprocessor::set_verbose(), show_data_members(), show_methods(), show_type_or_expression(), show_typedefs(), size_t, and CPPScope::write().

void predefine_macro CPPParser parser,
const string &  option
 

Definition at line 40 of file parse_file.cxx.

References CPPPreprocessor::_manifests, CPPManifest::_name, parser, and size_t.

Referenced by main().

void show_data_members const string &  str  ) 
 

Definition at line 152 of file parse_file.cxx.

References CPPScope::_variables, assert, CPPStructType::get_scope(), NULL, CPPParser::parse_type(), parser, and type.

Referenced by main().

void show_methods const string &  str  ) 
 

Definition at line 119 of file parse_file.cxx.

References CPPScope::_functions, CPPFunctionGroup::_instances, assert, CPPStructType::get_scope(), NULL, CPPParser::parse_type(), parser, and type.

Referenced by main().

void show_type_or_expression const string &  str  ) 
 

Definition at line 58 of file parse_file.cxx.

References CPPStructType::check_virtual(), CPPScope::get_fully_scoped_name(), CPPStructType::get_pure_virtual_funcs(), CPPStructType::get_scope(), CPPStructType::is_abstract(), NULL, CPPParser::parse_expr(), CPPParser::parse_type(), parser, and type.

Referenced by main().

void show_typedefs const string &  str  ) 
 

Definition at line 178 of file parse_file.cxx.

References CPPScope::_typedefs, assert, CPPStructType::get_scope(), NULL, CPPParser::parse_type(), parser, and type.

Referenced by main().


Variable Documentation

CPPParser parser
 

Definition at line 37 of file parse_file.cxx.


Generated on Fri Apr 18 01:34:15 2003 for DTool by doxygen1.3