lib/loxxy/ast/lox_node.rb in loxxy-0.0.11 vs lib/loxxy/ast/lox_node.rb in loxxy-0.0.12

- old
+ new

@@ -9,9 +9,14 @@ # @param aPosition [Rley::Lexical::Position] Position of the entry in the input stream. def initialize(aPosition) @position = aPosition end + # Notification that the parsing was successfully completed + def done! + # Default: do nothing ... + end + # Abstract method. # Part of the 'visitee' role in Visitor design pattern. # @param _visitor [LoxxyTreeVisitor] the visitor def accept(_visitor) raise NotImplementedError