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

AST::Op_Ternary Class Reference

a?b:c; More...

#include <ast.h>

Inheritance diagram for AST::Op_Ternary:

AST::Node List of all members.

Public Member Functions

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

Public Attributes

AttributeProxy condition
AttributeProxy trueValue
AttributeProxy falseValue

Private Types

typedef Node super

Detailed Description

a?b:c;

Definition at line 250 of file ast.h.


Member Typedef Documentation

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

Definition at line 251 of file ast.h.


Constructor & Destructor Documentation

AST::Op_Ternary::Op_Ternary  )  [inline]
 

Definition at line 253 of file ast.h.

00253                 :
00254         super("Op_Ternary"),
00255         condition (this->addAttribute("conditon")),
00256         trueValue (this->addAttribute("trueValue")),
00257         falseValue(this->addAttribute("falseValue"))
00258     {
00259     }
    virtual void to3ACFile(FILE* f){}


Member Function Documentation

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

convert me to 3ac - subclassed

Implements AST::Node.

Definition at line 260 of file ast.h.

00260 {}


Member Data Documentation

AttributeProxy AST::Op_Ternary::condition
 

Definition at line 261 of file ast.h.

AttributeProxy AST::Op_Ternary::falseValue
 

Definition at line 263 of file ast.h.

AttributeProxy AST::Op_Ternary::trueValue
 

Definition at line 262 of file ast.h.


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