Class YARD::Handlers::Ruby::Legacy::Base
In: lib/yard/handlers/ruby/legacy/base.rb
Parent: Handlers::Base

This is the base handler for the legacy parser. To implement a legacy handler, subclass this class.

@abstract (see Ruby::Base)

Methods

Included Modules

YARD::Parser::Ruby::Legacy::RubyToken

Public Class methods

@return [Boolean] whether or not a {Parser::Ruby::Legacy::Statement} object should be handled

  by this handler.

Public Instance methods

Parses a statement‘s block with a set of state values. If the statement has no block, nothing happens. A description of state values can be found at {Handlers::Base#push_state}

@param [Hash] opts State options @option opts (see Handlers::Base#push_state) @see Handlers::Base#push_state push_state

[Validate]