Added getters and setters for left-hand and right-hand expressions of BinaryOperatorExpression

This commit is contained in:
Tristan B. Velloza Kildaire 2021-06-15 10:49:19 +02:00
parent ad374fd7cd
commit 8e2f7032ad
1 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,16 @@ public class BinaryOperatorExpression : OperatorExpression
this.lhs = lhs;
this.rhs = rhs;
}
public Expression getLeftExpression()
{
return lhs;
}
public Expression getRightExpression()
{
return rhs;
}
}
public class NumberLiteral : Expression