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

AST::Constant Class Reference

5.0 More...

#include <ast.h>

Inheritance diagram for AST::Constant:

AST::Node List of all members.

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

Detailed Description


Definition at line 284 of file ast.h.

Member Typedef Documentation

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

Definition at line 285 of file ast.h.

Constructor & Destructor Documentation

AST::Constant::Constant  )  [inline]

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){}

Member Function Documentation

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

convert me to 3ac - subclassed

Implements AST::Node.

Definition at line 294 of file ast.h.

00294 {}

Member Data Documentation

AttributeProxy AST::Constant::type

Definition at line 295 of file ast.h.

Referenced by do_value_const(), and main().

AttributeProxy AST::Constant::value

Definition at line 296 of file ast.h.

Referenced by do_value_const(), and 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