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-05-31 23:51:44 +02:00
|
|
|
#ifndef ASTELEMENT_H
|
|
|
|
|
#define ASTELEMENT_H
|
|
|
|
|
|
2013-06-01 00:16:38 +02:00
|
|
|
class ASTVisitor;
|
2013-05-31 23:51:44 +02:00
|
|
|
|
|
|
|
|
class ASTElement {
|
|
|
|
|
public:
|
|
|
|
|
ASTElement();
|
|
|
|
|
virtual ~ASTElement();
|
|
|
|
|
|
|
|
|
|
virtual void accept(ASTVisitor* visitor) = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // ASTELEMENT_H
|