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

- old
+ new

@@ -16,15 +16,10 @@ def initialize(aPosition, aPropertyName) super(aPosition) @property = aPropertyName end - # Part of the 'visitee' role in Visitor design pattern. - # @param visitor [ASTVisitor] the visitor - def accept(visitor) - visitor.visit_get_expr(self) - end - + define_accept # Add `accept` method as found in Visitor design pattern alias callee= object= end # class end # module end # module