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

CPPExpressionParser Class Reference

#include <cppExpressionParser.h>

Inheritance diagram for CPPExpressionParser:

CPPPreprocessor List of all members.

Public Member Functions

 CPPExpressionParser (CPPScope *current_scope, CPPScope *global_scope)
 ~CPPExpressionParser ()
bool parse_expr (const string &expr)
bool parse_expr (const string &expr, const CPPPreprocessor &filepos)
void output (ostream &out) const

Public Attributes

CPPScope_current_scope
CPPScope_global_scope
CPPExpression_expr

Constructor & Destructor Documentation

CPPExpressionParser::CPPExpressionParser CPPScope current_scope,
CPPScope global_scope
 

Definition at line 29 of file cppExpressionParser.cxx.

References _expr, current_scope, global_scope, and NULL.

CPPExpressionParser::~CPPExpressionParser  ) 
 

Definition at line 42 of file cppExpressionParser.cxx.


Member Function Documentation

void CPPExpressionParser::output ostream out  )  const
 

Definition at line 87 of file cppExpressionParser.cxx.

References _expr, and NULL.

Referenced by operator<<().

bool CPPExpressionParser::parse_expr const string &  expr,
const CPPPreprocessor filepos
 

Definition at line 68 of file cppExpressionParser.cxx.

References _current_scope, _expr, _global_scope, CPPPreprocessor::copy_filepos(), CPPPreprocessor::get_error_count(), CPPPreprocessor::init_const_expr(), and parse_const_expr().

bool CPPExpressionParser::parse_expr const string &  expr  ) 
 

Definition at line 51 of file cppExpressionParser.cxx.

References _current_scope, _expr, _global_scope, CPPPreprocessor::get_error_count(), CPPPreprocessor::init_const_expr(), and parse_const_expr().

Referenced by CPPPreprocessor::parse_expr().


Member Data Documentation

CPPScope* CPPExpressionParser::_current_scope
 

Definition at line 43 of file cppExpressionParser.h.

Referenced by parse_expr().

CPPExpression* CPPExpressionParser::_expr
 

Definition at line 45 of file cppExpressionParser.h.

Referenced by CPPExpressionParser(), output(), CPPPreprocessor::parse_expr(), and parse_expr().

CPPScope* CPPExpressionParser::_global_scope
 

Definition at line 44 of file cppExpressionParser.h.

Referenced by parse_expr().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:34:48 2003 for DTool by doxygen1.3