Method: YARD::Parser::Base#enumerator

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

#enumeratorArray?

This method is abstract.

This method should be implemented to return a list of semantic tokens representing the source code to be post-processed. Otherwise the method should return nil.

Returns:

  • (Array)

    a list of semantic tokens representing the source code to be post-processed

  • (nil)

    if no post-processing should be done

Since:

  • 0.5.6


51
52
53
# File 'lib/yard/parser/base.rb', line 51

def enumerator
  nil
end