source: translator/ControlStruct/LabelTypeChecker.h @ 51b7345

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 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 612 bytes
Line 
1#ifndef LABEL_TYPE_H
2#define LABEL_TYPE_H
3
4#include "SynTree/Visitor.h"
5#include "SymTab/Indexer.h"
6#include "SynTree/Statement.h"
7
8#include "utility.h"
9
10namespace ControlStruct {
11
12  class LabelTypeChecker : public Visitor
13  {
14  public:
15    //LabelTypeChecker() {
16
17    virtual void visit(CompoundStmt *compoundStmt);
18    virtual void visit(DeclStmt *declStmt);
19    virtual void visit(BranchStmt *branchStmt);
20    virtual void visit(UntypedExpr *untypedExpr);
21  private:
22    SymTab::Indexer index;
23  };
24
25} // namespace ControlStruct
26
27#endif // #ifndef LABEL_TYPE_H
28
29/*
30  Local Variables:
31  mode: c++
32  End:
33*/
34
35
36
Note: See TracBrowser for help on using the repository browser.