class YARD::Handlers::Processor

def find_handlers(statement)

Returns:
  • (Array) - a list of handlers to process the statement with.

Parameters:
  • statement () -- the statement object to match.
def find_handlers(statement)
  Base.subclasses.find_all do |handler|
    handler_base_class > handler &&
      (handler.namespace_only? ? owner.is_a?(CodeObjects::NamespaceObject) : true) &&
      handles?(handler, statement)
  end
end