Class: RDoc::Parser::RD
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           ::RDoc::Parser | |
| Instance Chain: 
          self,
           Text,::RDoc::Parser | |
| Inherits: | RDoc::Parser 
 | 
| Defined in: | lib/rdoc/parser/rd.rb | 
Overview
Parse a RD format file.  The parsed ::RDoc::Markup::Document is attached as a file comment.
Class Attribute Summary
::RDoc::Parser - Inherited
| .parsers | An Array of arrays that maps file extension (or name) regular expressions to parser classes that will parse matching filenames. | 
Class Method Summary
::RDoc::Parser - Inherited
| .alias_extension | 
 | 
| .binary? | Determines if the file is a “binary” file which basically means it has content that an  | 
| .can_parse | Return a parser that can handle a particular extension. | 
| .can_parse_by_name | Returns a parser that can handle the extension for #file_name. | 
| .check_modeline | Returns the file type from the modeline in #file_name | 
| .for | Finds and instantiates the correct parser for the given #file_name and  | 
| .new | Creates a new  | 
| .parse_files_matching | Record which file types this parser can understand. | 
| .remove_modeline | Removes an emacs-style modeline from the first line of the document. | 
| .use_markup | If there is a  | 
| .zip? | Checks if  | 
Instance Attribute Summary
::RDoc::Parser - Inherited
| #file_name | The name of the file being parsed. | 
Instance Method Summary
- 
    
      #scan  
    
    Creates an rd-format ::RDoc::TopLevelfor the given file.
::RDoc::Parser - Inherited
| #handle_tab_width | Normalizes tabs in  | 
Constructor Details
This class inherits a constructor from RDoc::Parser
Instance Method Details
#scan
Creates an rd-format ::RDoc::TopLevel for the given file.