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