NumberLiteral now has its own custom toString

This commit is contained in:
Tristan B. Velloza Kildaire 2021-10-25 20:49:58 +02:00
parent a58c90d6cb
commit 8bf3270de7
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ public class NumberLiteral : Expression
{
this.numberLiteral = numberLiteral;
}
public override string toString()
{
return "[numberLiteral: "~numberLiteral~"]";
}
}
public class Expression : Statement