Added getters and setters for left-hand and right-hand expressions of BinaryOperatorExpression
This commit is contained in:
parent
ad374fd7cd
commit
8e2f7032ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue