lib/agnostic_backend/queryable/visitor.rb in agnostic_backend-0.9.9 vs lib/agnostic_backend/queryable/visitor.rb in agnostic_backend-1.0.0

- old
+ new

@@ -1,7 +1,10 @@ module AgnosticBackend module Queryable + class UnsupportedNodeError < StandardError; end + class UnsupportedAttributeError < StandardError; end + class Visitor def visit(subject) method_name = class_to_method_name(subject.class) send(method_name, subject) end @@ -91,9 +94,13 @@ def visit_query(subject) raise NotImplementedError end def visit_expressions_where(subject) + raise NotImplementedError + end + + def visit_expressions_filter(subject) raise NotImplementedError end def visit_expressions_select(subject) raise NotImplementedError \ No newline at end of file