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

econd.h

Go to the documentation of this file.
00001 
00002 //
00003 //  Borland C++ 5.5, GNU C++ 3.0
00004 //  Compiler Backend Library
00005 //  $Id: econd_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $
00006 //
00007 //  Copyright (c) 2000-2002 SurakWare Corp.
00008 //
00010 #ifndef sw_cbl_codetree_econd_h
00011 #define sw_cbl_codetree_econd_h
00012 
00013 #include 
00014 
00015 namespace cbl {
00016 namespace codetree {
00017 
00018 namespace expr {
00019 
00020 // TCondExpr
00021 class TCondExpr : public TExpression {
00022 private:
00023     TExpression *FCondition, *FTrueExpr, *FFalseExpr;
00024 
00025 protected:
00026     TCondExpr(symbols::TModuleSym *AOwner, TExpression *ACondition, 
00027         TExpression *ATrueExpr, TExpression *AFalseExpr);
00028 
00029     friend class symbols::TModuleSym;
00030 
00031 public:
00032     // condition access
00033     const TExpression *condition() const;
00034 
00035     // trueExpr access
00036     const TExpression *trueExpr() const;
00037 
00038     // falseExpr access
00039     const TExpression *falseExpr() const;
00040 
00041     // visitor pattern
00042     virtual void accept(TExprVisitor&);
00043 };
00044 
00045 } // namespace expr
00046 } // naemspace codetree
00047 } // namespace cbl
00048 
00049 #endif

Generated on Sat Apr 6 19:07:25 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002