Removed toString from expressions

This commit is contained in:
Rafał Grodziński
2025-07-02 17:40:21 +09:00
parent e9d55a2ed1
commit 77b7a7f7c8
20 changed files with 3 additions and 103 deletions

View File

@@ -52,16 +52,3 @@ int32_t ExpressionLiteral::getSint32Value() {
float ExpressionLiteral::getReal32Value() {
return real32Value;
}
string ExpressionLiteral::toString(int indent) {
switch (valueType) {
case ValueType::NONE:
return "NONE";
case ValueType::BOOL:
return boolValue ? "true" : "false";
case ValueType::SINT32:
return to_string(sint32Value);
case ValueType::REAL32:
return to_string(real32Value);
}
}