20 lines
351 B
C
20 lines
351 B
C
|
/*
|
||
|
* ConstantExpression.h
|
||
|
*
|
||
|
* Created on: Dec 5, 2012
|
||
|
* Author: attero
|
||
|
*/
|
||
|
|
||
|
#ifndef CONSTANTEXPRESSION_H_
|
||
|
#define CONSTANTEXPRESSION_H_
|
||
|
#include "ASTExpression.h"
|
||
|
|
||
|
class ConstantExpression : public ASTExpression {
|
||
|
public:
|
||
|
ConstantExpression();
|
||
|
virtual ~ConstantExpression();
|
||
|
virtual int evaluate();
|
||
|
};
|
||
|
|
||
|
#endif /* CONSTANTEXPRESSION_H_ */
|