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

ast.h File Reference

#include <string>
#include <vector>
#include <map>
#include "attributeproxy.h"

Go to the source code of this file.

Namespaces

namespace  AST

Classes

class  AST::Node
 Root node class, can save / load itself to its own file format, as well as be converted to 3ac subclasses declare the attributes they must have subclasses implement to3ac functionality. More...
class  AST::List
 Special node type subclasses to contain a list of other nodes. More...
class  AST::Leaf
class  AST::Program
 Root Program node. More...
class  AST::Def_Function
 Function Declaration. More...
class  AST::Def_Struct
 Struct. More...
class  AST::If
 Conditional -> If. More...
class  AST::Jump
 break or continue More...
class  AST::Loop
 for or while or do while More...
class  AST::Return
 return More...
class  AST::Op_Unary
 Unary Operation ++ -- * - sizeof. More...
class  AST::Op_Binary
 Binary operation -> + - < > ... More...
class  AST::Op_Ternary
 a?b:c; More...
class  AST::Assignment
 a = b; b *= c; c = d More...
class  AST::Constant
 5.0 More...
class  AST::FunctionCall
 func(x,y,z) More...
class  AST::Identifier
 x More...
class  AST::Op_Bracket
 a[5] More...
class  AST::Op_Dot
 x.y More...
class  AST::Def_Var
 int x More...
class  AST::Def_Array
 int x More...

Functions

NodeAST::fromASTFile (FILE *f)
 Parse a .ast file and construct / return an AST from it.


Generated on Thu Oct 20 12:00:04 2005 for ASTree by  doxygen 1.4.2-20050421