Formatting and add Scope
This commit is contained in:
18
src/AST/Scope.cpp
Normal file
18
src/AST/Scope.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "AST/Scope.h"
|
||||
#include "AST/ASTVisitor.h"
|
||||
|
||||
Scope::Scope(Statement* stmt) : stmt_(stmt) {
|
||||
//
|
||||
}
|
||||
|
||||
Scope::~Scope() {
|
||||
//
|
||||
}
|
||||
|
||||
void Scope::accept(ASTVisitor* visitor) {
|
||||
visitor->visit(this);
|
||||
}
|
||||
|
||||
Statement* Scope::getStmt() {
|
||||
return stmt_;
|
||||
}
|
||||
Reference in New Issue
Block a user