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

AST::Op_Binary Class Reference

Binary operation -> + - < > ... More...

#include <ast.h>

Inheritance diagram for AST::Op_Binary:

AST::Node List of all members.

Public Member Functions

 Op_Binary ()
virtual void to3ACFile (FILE *f)
 convert me to 3ac - subclassed

Public Attributes

AttributeProxy lhs
AttributeProxy op
AttributeProxy rhs

Private Types

typedef Node super

Detailed Description

Binary operation -> + - < > ...

Definition at line 233 of file ast.h.


Member Typedef Documentation

typedef Node AST::Op_Binary::super [private]
 

Definition at line 234 of file ast.h.


Constructor & Destructor Documentation

AST::Op_Binary::Op_Binary  )  [inline]
 

Definition at line 236 of file ast.h.

00236                :
00237         super("Op_Binary"),
00238         lhs(this->addAttribute("lhs")),
00239         op (this->addAttribute("op")),
00240         rhs(this->addAttribute("rhs"))
00241     {
00242     }
    virtual void to3ACFile(FILE* f){}


Member Function Documentation

virtual void AST::Op_Binary::to3ACFile FILE *  f  )  [inline, virtual]
 

convert me to 3ac - subclassed

Implements AST::Node.

Definition at line 243 of file ast.h.

00243 {}


Member Data Documentation

AttributeProxy AST::Op_Binary::lhs
 

Definition at line 244 of file ast.h.

Referenced by main().

AttributeProxy AST::Op_Binary::op
 

Definition at line 245 of file ast.h.

Referenced by main().

AttributeProxy AST::Op_Binary::rhs
 

Definition at line 246 of file ast.h.

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Thu Oct 20 12:00:04 2005 for ASTree by  doxygen 1.4.2-20050421