Some work on Expressions

This commit is contained in:
Markus Hauschild
2013-06-01 00:52:03 +02:00
parent a6f0c9ec81
commit 04bced0f6f
7 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef CONSTANTEXPRESSION_H
#define CONSTANTEXPRESSION_H
#include "AST/Expression.h"
#include <string>
class ConstantExpression : public Expression {
public:
ConstantExpression(std::string value);
virtual ~ConstantExpression();
virtual void accept(ASTVisitor* visitor);
std::string getValue();
private:
std::string value_;
};
#endif // CONSTANTEXPRESSION_H