#include <ast.h>
Inheritance diagram for AST::Constant:
Public Member Functions | |
Constant () | |
virtual void | to3ACFile (FILE *f) |
convert me to 3ac - subclassed | |
Public Attributes | |
AttributeProxy | type |
AttributeProxy | value |
Private Types | |
typedef Node | super |
Definition at line 284 of file ast.h.
|
|
|
Definition at line 287 of file ast.h. References AST::Node::NODE_CONSTANT, and AST::Node::nodeType. 00287 : 00288 super("Constant"), 00289 type (this->addAttribute("type")), 00290 value(this->addAttribute("value")) 00291 { 00292 this->nodeType = NODE_CONSTANT; 00293 } virtual void to3ACFile(FILE* f){}
|
|
convert me to 3ac - subclassed
Implements AST::Node. Definition at line 294 of file ast.h.
|
|
Definition at line 295 of file ast.h. Referenced by do_value_const(), and main(). |
|
Definition at line 296 of file ast.h. Referenced by do_value_const(), and main(). |