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

- old
+ new

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