lib/loxxy/ast/lox_call_expr.rb in loxxy-0.2.02 vs lib/loxxy/ast/lox_call_expr.rb in loxxy-0.2.03

- old
+ new

@@ -13,13 +13,9 @@ def initialize(aPosition, argList) super(aPosition, []) @arguments = argList end - # Part of the 'visitee' role in Visitor design pattern. - # @param visitor [Ast::ASTVisitor] the visitor - def accept(visitor) - visitor.visit_call_expr(self) - end + define_accept # Add `accept` method as found in Visitor design pattern end # class end # module end # module