Files
bits-runner-builder/src/Parser/Expression/ExpressionLiteral.h
Rafał Grodziński 707a282704 Cleaned up literal
2025-07-08 22:41:27 +09:00

21 lines
431 B
C++

#ifndef EXPRESSION_LITERAL_H
#define EXPRESSION_LITERAL_H
#include "Expression.h"
class ExpressionLiteral: public Expression {
private:
bool boolValue;
int32_t sint32Value;
float real32Value;
public:
static shared_ptr<ExpressionLiteral> expressionLiteralForToken(shared_ptr<Token> token);
ExpressionLiteral();
bool getBoolValue();
int32_t getSint32Value();
float getReal32Value();
};
#endif