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

AST::Assignment Class Reference

a = b; b *= c; c = d More...

#include <ast.h>

Inheritance diagram for AST::Assignment:

AST::Node List of all members.

Public Member Functions

 Assignment ()
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

a = b; b *= c; c = d

Definition at line 267 of file ast.h.


Member Typedef Documentation

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

Definition at line 268 of file ast.h.


Constructor & Destructor Documentation

AST::Assignment::Assignment  )  [inline]
 

Definition at line 270 of file ast.h.

00270                 :
00271         super("Assignment"),
00272         lhs(this->addAttribute("lhs")),
00273         op (this->addAttribute("op")),
00274         rhs(this->addAttribute("rhs"))
00275     {
00276     }
    virtual void to3ACFile(FILE* f){}


Member Function Documentation

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

convert me to 3ac - subclassed

Implements AST::Node.

Definition at line 277 of file ast.h.

00277 {}


Member Data Documentation

AttributeProxy AST::Assignment::lhs
 

Definition at line 278 of file ast.h.

Referenced by main().

AttributeProxy AST::Assignment::op
 

Definition at line 279 of file ast.h.

Referenced by main().

AttributeProxy AST::Assignment::rhs
 

Definition at line 280 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