Progress!

This commit is contained in:
Markus Hauschild
2013-05-31 23:51:44 +02:00
parent 713b5078cd
commit 28ca85b94e
9 changed files with 129 additions and 17 deletions

14
inc/AST/ASTElement.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef ASTELEMENT_H
#define ASTELEMENT_H
#include "AST/ASTVisitor.h"
class ASTElement {
public:
ASTElement();
virtual ~ASTElement();
virtual void accept(ASTVisitor* visitor) = 0;
};
#endif // ASTELEMENT_H

10
inc/AST/ASTVisitor.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef ASTVISITOR_H
#define ASTVISITOR_H
class ASTVisitor {
public:
ASTVisitor();
virtual ~ASTVisitor();
};
#endif // ASTVISITOR_H