Method: YARD::Parser::Base#parse

Defined in:
lib/yard/parser/base.rb

#parseBase

This method is abstract.

This method should be implemented to parse the source and return itself.

Returns:

  • (Base)

    this method should return itself

Raises:

  • (NotImplementedError)

Since:

  • 0.5.6


32
33
34
# File 'lib/yard/parser/base.rb', line 32

def parse
  raise NotImplementedError, "#{self.class} must implement #parse"
end