Formatting and add Scope
This commit is contained in:
18
inc/AST/Scope.h
Normal file
18
inc/AST/Scope.h
Normal 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
|
||||
Reference in New Issue
Block a user