Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Addition : IExpression {
- internal IExpression Left { get; set; }
- internal IExpression Right { get; set; }
- public Addition(IExpression left, IExpression right) {
- Left = left;
- Right = right;
- }
- public void Accept(IExpressionVisitor visitor) {
- visitor.Visit(this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement