20 lines
333 B
C++
20 lines
333 B
C++
#ifndef BLANG_INTEGERLITERALEXPR_H
|
|
#define BLANG_INTEGERLITERALEXPR_H
|
|
|
|
#include "NumberLiteralExpr.h"
|
|
|
|
class IntegerLiteralExpr: public NumberLiteralExpr
|
|
{
|
|
public:
|
|
IntegerLiteralExpr(int value, SourceLocation);
|
|
|
|
int getValue() const;
|
|
void setValue(int);
|
|
|
|
private:
|
|
int _value;
|
|
};
|
|
|
|
|
|
#endif //BLANG_INTEGERLITERALEXPR_H
|