class RuboCop::AST::NodePattern::Compiler::Subcompiler

def method_added(method)

def method_added(method)
  @registry[Regexp.last_match(1).to_sym] = method if method =~ /^visit_(.*)/
  super
end