Formatting and add Scope

This commit is contained in:
Markus Hauschild
2013-06-01 02:27:01 +02:00
parent 2ebc62ad58
commit 8423949f42
5 changed files with 79 additions and 39 deletions

18
inc/AST/Scope.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef SCOPE_H
#define SCOPE_H
#include "AST/Statement.h"
class Scope : public Statement {
public:
Scope(Statement* stmt);
virtual ~Scope();
virtual void accept(ASTVisitor* visitor);
Statement* getStmt();
private:
Statement* stmt_;
};
#endif // SCOPE_H