#include <ast.h>
Inheritance diagram for AST::Leaf:
Public Member Functions | |
Leaf (string new_value) | |
virtual void | to3ACFile (FILE *f) |
convert me to 3ac - subclassed | |
Public Attributes | |
string | value |
Private Types | |
typedef Node | super |
Definition at line 90 of file ast.h.
|
|
|
Definition at line 93 of file ast.h. References AST::Node::NODE_LEAF, and AST::Node::nodeType. 00093 : 00094 super("Leaf"), 00095 value(new_value) 00096 { 00097 this->nodeType = NODE_LEAF; 00098 } string value;
|
|
convert me to 3ac - subclassed
Implements AST::Node. Definition at line 100 of file ast.h.
|
|
Definition at line 99 of file ast.h. Referenced by AST::Node::toASTFile(). |