#include <ast.h>
Inheritance diagram for AST::If:
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 |
Definition at line 147 of file ast.h.
|
|
|
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){}
|
|
convert me to 3ac - subclassed
Implements AST::Node. Definition at line 157 of file ast.h.
|
|
Definition at line 158 of file ast.h. Referenced by main(). |
|
Definition at line 160 of file ast.h. Referenced by main(). |
|
Definition at line 159 of file ast.h. Referenced by main(). |