Ruby RDoc::ParserFactory Functions

EditRocket provides the following information on RDoc::ParserFactory functions in the Ruby source code builder.

alias_extension(old_ext, new_ext) - Alias an extension to another extension. After this call, files ending "new_ext" will be parsed using the same parser as "old_ext"

can_parse(file_name) - Return a parser that can handle a particular extension

parse_files_matching(regexp) - Record the fact that a particular class parses files that match a given extension

parser_for(top_level, file_name, body, options, stats) - Find the correct parser for a particular file name. Return a SimpleParser for ones that we don't know