Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ptree.cpp File Reference

One of the original OpenC++ source files. More...

#include "occCommon.h"
#include <string.h>
#include <iostream>
#include "token.h"
#include "ptree.h"
#include "encoding.h"
#include "walker.h"

Include dependency graph for ptree.cpp:

Include dependency graph

Defines

#define ResearvedWordImpl(w)   int Leaf##w::What() { return w; }
#define PtreeStatementImpl(s)
#define PtreeExprImpl(n)

Functions

 ResearvedWordImpl (AUTO) ResearvedWordImpl(BOOLEAN) ResearvedWordImpl(CHAR) ResearvedWordImpl(CONST) ResearvedWordImpl(DOUBLE) ResearvedWordImpl(EXTERN) ResearvedWordImpl(FLOAT) ResearvedWordImpl(FRIEND) ResearvedWordImpl(INLINE) ResearvedWordImpl(INT) ResearvedWordImpl(LONG) ResearvedWordImpl(MUTABLE) ResearvedWordImpl(NAMESPACE) ResearvedWordImpl(PRIVATE) ResearvedWordImpl(PROTECTED) ResearvedWordImpl(PUBLIC) ResearvedWordImpl(REGISTER) ResearvedWordImpl(SHORT) ResearvedWordImpl(SIGNED) ResearvedWordImpl(STATIC) ResearvedWordImpl(UNSIGNED) ResearvedWordImpl(USING) ResearvedWordImpl(VIRTUAL) ResearvedWordImpl(VOID) ResearvedWordImpl(VOLATILE) ResearvedWordImpl(UserKeyword2) NonLeaf
 PtreeStatementImpl (If) PtreeStatementImpl(Switch) PtreeStatementImpl(While) PtreeStatementImpl(Do) PtreeStatementImpl(For) PtreeStatementImpl(Try) PtreeStatementImpl(Break) PtreeStatementImpl(Continue) PtreeStatementImpl(Return) PtreeStatementImpl(Goto) PtreeStatementImpl(Case) PtreeStatementImpl(Default) PtreeStatementImpl(Label) int PtreeExprStatement

Detailed Description

One of the original OpenC++ source files.


Define Documentation

#define ResearvedWordImpl  )     int Leaf##w::What() { return w; }
 

#define PtreeStatementImpl  ) 
 

Value:

int Ptree##s##Statement::What() { return nt##s##Statement; }\
Ptree* Ptree##s##Statement::Translate(Walker* w) {\
    return w->Translate##s(this); }

#define PtreeExprImpl  ) 
 

Value:

int Ptree##n##Expr::What() { return nt##n##Expr; }\
Ptree* Ptree##n##Expr::Translate(Walker* w) {\
    return w->Translate##n(this); }\
void Ptree##n##Expr::Typeof(Walker* w, TypeInfo& t) {\
    w->Typeof##n(this, t); }


Function Documentation

ResearvedWordImpl AUTO   ) 
 

PtreeStatementImpl If   ) 
 


Generated on Wed Aug 11 22:34:50 2004 for IOPC by Doxygen 1.3.6