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

expr.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: expr_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $
00006 //
00007 //  Copyright (c) 2000-2001 SurakWare Corp.
00008 //
00010 #ifndef sw_cbl_codetree_expr_h
00011 #define sw_cbl_codetree_expr_h
00012 
00013 #include <cbl/codetree/codenode.h>
00014 
00015 namespace cbl {
00016 namespace codetree {
00017 
00018 namespace def {
00019     class TDef;
00020 }
00021 
00022 namespace expr {
00023 
00024 class TExprVisitor;
00025 
00026 // TExpression
00027 class TExpression : public TCodeNode {
00028 private:
00029     def::TDef *FType;
00030 
00031 protected:
00032     void type(def::TDef *);
00033 
00034     TExpression(symbols::TModuleSym *AOwner, def::TDef *AType = 0);
00035 
00036 public:
00037     // TTypeDescriptor
00038     def::TDef *type() const;
00039 
00040     // visitor pattern
00041     virtual void accept(TExprVisitor&) = 0;
00042 };
00043 
00044 } // namespace expr
00045 } // namespace codetree
00046 } // namespace cbl
00047 
00048 #endif

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