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

@@ -10,17 +10,3 @@ string ExpressionCall::getName() {
vector<shared_ptr<Expression>> ExpressionCall::getArgumentExpressions() {
return argumentExpressions;
}
string ExpressionCall::toString(int indent) {
string value;
value += "CALL(" + name + "):";
for (shared_ptr<Expression> &argumentExpression : argumentExpressions) {
value += "\n";
for (int ind=0; ind<indent+1; ind++)
value += " ";
value += argumentExpression->toString(indent+1) + ",";
}
return value;
}