Files
scully/inc/AST/ConstantExpression.h

20 lines
368 B
C
Raw Normal View History

2013-06-01 00:52:03 +02:00
#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