Changeset 0dd3a2f for translator/SynTree/CodeGenVisitor.h
- Timestamp:
- May 18, 2015, 11:20:23 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 51587aa
- Parents:
- a32b204
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/SynTree/CodeGenVisitor.h
ra32b204 r0dd3a2f 1 // 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 // 4 // The contents of this file are covered under the licence agreement in the 5 // file "LICENCE" distributed with Cforall. 6 // 7 // CodeGenVisitor.h -- 8 // 9 // Author : Richard C. Bilson 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 08:46:47 2015 13 // Update Count : 4 14 // 15 1 16 #ifndef CODEGENV_H 2 17 #define CODEGENV_H … … 7 22 #include "Visitor.h" 8 23 24 class CodeGenVisitor : public Visitor { 25 public: 26 virtual void visit( Type * ); 27 virtual void visit( BasicType * ); 9 28 10 class CodeGenVisitor : public Visitor { 11 public: 12 //*** Types 13 virtual void visit(Type *); 14 virtual void visit(BasicType *); 29 virtual void visit( Constant * ); 15 30 16 //*** Constant 17 virtual void visit(Constant *);31 virtual void visit( Expression * ); 32 virtual void visit( ConstantExpr * ); 18 33 19 //*** Expressions 20 virtual void visit(Expression *); 21 virtual void visit(ConstantExpr *); 22 23 //*** Statements 24 virtual void visit(Statement *); 25 virtual void visit(ExprStmt *); 26 virtual void visit(SwitchStmt *); 34 virtual void visit( Statement * ); 35 virtual void visit( ExprStmt * ); 36 virtual void visit( SwitchStmt * ); 27 37 }; 28 38 39 #endif // CODEGENV_H 29 40 30 #endif /* #ifndef CODEGENV_H */ 41 // Local Variables: // 42 // tab-width: 4 // 43 // mode: c++ // 44 // compile-command: "make install" // 45 // End: //
Note: See TracChangeset
for help on using the changeset viewer.