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

AST::If Class Reference

Conditional -> If. More...

#include <ast.h>

Inheritance diagram for AST::If:

AST::Node List of all members.

Public Member Functions

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

Public Attributes

AttributeProxy condition
AttributeProxy statements_then
AttributeProxy statements_else

Private Types

typedef Node super

Detailed Description

Conditional -> If.

Definition at line 147 of file ast.h.

Member Typedef Documentation

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

Definition at line 148 of file ast.h.

Constructor & Destructor Documentation

AST::If::If  )  [inline]

Definition at line 150 of file ast.h.

00150         :
00151         super("If"),
00152         condition(this->addAttribute("condition")),
00153         statements_then(this->addAttribute("statements_then")),
00154         statements_else(this->addAttribute("statements_else"))
00155     {
00156     }
    virtual void to3ACFile(FILE* f){}

Member Function Documentation

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

convert me to 3ac - subclassed

Implements AST::Node.

Definition at line 157 of file ast.h.

00157 {}

Member Data Documentation

AttributeProxy AST::If::condition

Definition at line 158 of file ast.h.

Referenced by main().

AttributeProxy AST::If::statements_else

Definition at line 160 of file ast.h.

Referenced by main().

AttributeProxy AST::If::statements_then

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