syntax.cpp File Reference

#include <fstream>
#include <iomanip>
#include "prog.h"
#include "exp.h"
#include "hllcode.h"
#include "cfg.h"
#include "statement.h"

Go to the source code of this file.

Defines

#define DEBUG_EVAL   0
#define PRINT_BEFORE_AFTER

Variables

static int nodecount = 1000


Define Documentation

#define DEBUG_EVAL   0
 

Definition at line 136 of file syntax.cpp.

Referenced by BlockSyntaxNode::evaluate().

#define PRINT_BEFORE_AFTER
 

Value:

std::ofstream of("before.dot"); \
                of << "digraph before {" << std::endl; \
                root->printAST(root, of); \
                of << "}" << std::endl; \
                of.close(); \
                std::ofstream of1("after.dot"); \
                of1 << "digraph after {" << std::endl; \
                n->printAST(n, of1); \
                of1 << "}" << std::endl; \
                of1.close(); \
                exit(0);

Definition at line 13 of file syntax.cpp.


Variable Documentation

int nodecount = 1000 [static]
 

Definition at line 10 of file syntax.cpp.

Referenced by SyntaxNode::SyntaxNode().


Generated on Tue Sep 19 21:18:38 2006 for Boomerang by  doxygen 1.4.6