Files
scully/inc/AST/Scope.h
2013-06-02 09:47:27 +02:00

26 lines
456 B
C++

/* The scully programming language.
*
* Copyright (c) Peter Dahlberg, Markus Hauschild and Florian Sattler, 2013.
* Licensed under the GNU GPL v2.
*/
#ifndef SCOPE_H
#define SCOPE_H
#include "AST/Statement.h"
#include "AST/StatementList.h"
class Scope : public Statement {
public:
Scope(StatementList* sl);
virtual ~Scope();
virtual void accept(ASTVisitor* visitor);
StatementList* getSl();
private:
StatementList* sl_;
};
#endif // SCOPE_H