Files
scully/inc/AST/ConstantExpression.h

26 lines
523 B
C
Raw 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 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