Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IExpressionVisitor
- {
- void Visit(Literal literal);
- void Visit(Addition addition);
- }
- interface IExpression
- {
- void Accept(IExpressionVisitor visitor);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement