Method: YARD::Parser::SourceParser#parser_type

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

#parser_typeSymbol

Returns the parser type associated with the parser instance. This should be set by the constructor.

Returns:

  • (Symbol)

    the parser type associated with the parser instance. This should be set by the constructor.


388
389
390
# File 'lib/yard/parser/source_parser.rb', line 388

def parser_type
  @parser_type
end