ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since 643a2e1 was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
564 bytes
|
Line | |
---|
1 | #ifndef CODEGENV_H
|
---|
2 | #define CODEGENV_H
|
---|
3 |
|
---|
4 | #include <typeinfo>
|
---|
5 |
|
---|
6 | #include "SynTree.h"
|
---|
7 | #include "Visitor.h"
|
---|
8 |
|
---|
9 |
|
---|
10 | class CodeGenVisitor : public Visitor {
|
---|
11 | public:
|
---|
12 | //*** Types
|
---|
13 | virtual void visit(Type *);
|
---|
14 | virtual void visit(BasicType *);
|
---|
15 |
|
---|
16 | //*** Constant
|
---|
17 | virtual void visit(Constant *);
|
---|
18 |
|
---|
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 *);
|
---|
27 | };
|
---|
28 |
|
---|
29 |
|
---|
30 | #endif /* #ifndef CODEGENV_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.