//
// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
//
// The contents of this file are covered under the licence agreement in the
// file "LICENCE" distributed with Cforall.
//
// CodeGenVisitor.h -- 
//
// Author           : Richard C. Bilson
// Created On       : Mon May 18 07:44:20 2015
// Last Modified By : Peter A. Buhr
// Last Modified On : Mon May 18 08:46:47 2015
// Update Count     : 4
//

#ifndef CODEGENV_H
#define CODEGENV_H

#include <typeinfo>

#include "SynTree.h"
#include "Visitor.h"

class CodeGenVisitor : public Visitor {
  public:
	virtual void visit( Type * );
	virtual void visit( BasicType * );

	virtual void visit( Constant * );

	virtual void visit( Expression * );
	virtual void visit( ConstantExpr * );

	virtual void visit( Statement * );
	virtual void visit( ExprStmt * );
	virtual void visit( SwitchStmt * );
};

#endif // CODEGENV_H

// Local Variables: //
// tab-width: 4 //
// mode: c++ //
// compile-command: "make install" //
// End: //
