ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since f678663e was
843054c2,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
licencing: seventh groups of files
|
-
Property mode set to
100644
|
File size:
996 bytes
|
Rev | Line | |
---|
[0dd3a2f] | 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 | |
---|
[51b7345] | 16 | #ifndef CODEGENV_H |
---|
| 17 | #define CODEGENV_H |
---|
| 18 | |
---|
| 19 | #include <typeinfo> |
---|
| 20 | |
---|
| 21 | #include "SynTree.h" |
---|
| 22 | #include "Visitor.h" |
---|
| 23 | |
---|
| 24 | class CodeGenVisitor : public Visitor { |
---|
[0dd3a2f] | 25 | public: |
---|
| 26 | virtual void visit( Type * ); |
---|
| 27 | virtual void visit( BasicType * ); |
---|
| 28 | |
---|
| 29 | virtual void visit( Constant * ); |
---|
| 30 | |
---|
| 31 | virtual void visit( Expression * ); |
---|
| 32 | virtual void visit( ConstantExpr * ); |
---|
| 33 | |
---|
| 34 | virtual void visit( Statement * ); |
---|
| 35 | virtual void visit( ExprStmt * ); |
---|
| 36 | virtual void visit( SwitchStmt * ); |
---|
[51b7345] | 37 | }; |
---|
| 38 | |
---|
[0dd3a2f] | 39 | #endif // CODEGENV_H |
---|
[51b7345] | 40 | |
---|
[0dd3a2f] | 41 | // Local Variables: // |
---|
| 42 | // tab-width: 4 // |
---|
| 43 | // mode: c++ // |
---|
| 44 | // compile-command: "make install" // |
---|
| 45 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.