source: translator/ControlStruct/ChooseMutator.h@ 91b216b4

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 91b216b4 was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

initial commit

  • Property mode set to 100644
File size: 569 bytes
Line 
1#ifndef CHOOSE_MUTATOR_H
2#define CHOOSE_MUTATOR_H
3
4#include "SynTree/Mutator.h"
5
6#include "utility.h"
7
8namespace ControlStruct {
9
10 class ChooseMutator : public Mutator
11 {
12 public:
13 ChooseMutator() : insideChoose( false ) {}
14
15 virtual Statement* mutate(ChooseStmt *);
16 virtual Statement* mutate(SwitchStmt *);
17 virtual Statement* mutate(FallthruStmt *);
18 virtual Statement* mutate(CaseStmt *);
19 private:
20 bool insideChoose;
21 };
22
23} // namespace ControlStruct
24
25#endif // #ifndef CHOOSE_MUTATOR_H
26
27/*
28 Local Variables:
29 mode: c++
30 End:
31*/
Note: See TracBrowser for help on using the repository browser.