class SyntaxTree::BasicVisitor

def visit_methods

method defined above.
ensure it's a valid visit method using the BasicVisitor::visit_method
Within the given block, every method that is defined will be checked to

This method is here to help folks write visitors.
def visit_methods
  checker = VisitMethodsChecker.new
  extend(checker)
  yield
  checker.disable!
end