Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::NormalClass[iI"Parser:ETI"RDoc::Markup::Parser;FI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"0A recursive-descent parser for RDoc markup.;To:RDoc::Markup::BlankLine o; ;[I"RThe parser tokenizes an input string then parses the tokens into a Document. ;TI"NDocuments can be converted into output formats by writing a visitor like ;TI"RDoc::Markup::ToHTML.;T@o; ;[I"IThe parser only handles the block-level constructs Paragraph, List, ;TI"MListItem, Heading, Verbatim, BlankLine and Rule. Inline markup such as ;TI"O<tt>\+blah\+</tt> is handled separately by RDoc::Markup::AttributeManager.;T@o; ;[I"LTo see what markup the Parser implements read RDoc. To see how to use ;TI"BRDoc markup to format text in your program read RDoc::Markup.;T: @fileI"lib/rdoc/markup/parser.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I" debug;TI"RW;T:publicFI"lib/rdoc/markup/parser.rb;T[ I"tokens;TI"R;T; F@%[U:RDoc::Constant[i I"LIST_TOKENS;FI"&RDoc::Markup::Parser::LIST_TOKENS;F00o;;[o; ;[I"List token types;T;@ ;0@ @cRDoc::NormalClass0[[I"RDoc::Text;To;;[ ;@ ;0@%[[I" class;T[[; [[I"new;T@%[I" parse;F@%[I" tokenize;F@%[:protected[ [:private[ [I" instance;T[[; [[I"build_heading;F@%[I"build_list;F@%[I"build_paragraph;F@%[I"build_verbatim;F@%[I" char_pos;F@%[I"get;F@%[I" parse;F@%[I"peek_token;F@%[I"setup_scanner;F@%[I" skip;F@%[I"token_pos;F@%[I" tokenize;F@%[I" unget;F@%[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@ @ cRDoc::TopLevel