Files
scully/inc/AST/Scope.h

26 lines
456 B
C
Raw Permalink Normal View History

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