ri > RDoc::Markup::Parser

= RDoc::Markup::Parser < Object

------------------------------------------------------------------------
= Includes:
RDoc::Text (from gem rdoc-7.2.0)

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
A recursive-descent parser for RDoc markup.

The parser tokenizes an input string then parses the tokens into a
Document. Documents can be converted into output formats by writing a
visitor like RDoc::Markup::ToHTML.

The parser only handles the block-level constructs Paragraph, List,
ListItem, Heading, Verbatim, BlankLine, Rule and BlockQuote. Inline
markup such as +blah+ is handled separately by
RDoc::Markup::InlineParser.

To see what markup the Parser implements read RDoc.  To see how to use
RDoc markup to format text in your program read RDoc::Markup.
------------------------------------------------------------------------
= Constants:

LIST_TOKENS:
  List token types


= Class methods:

  new
  parse
  tokenize

= Instance methods:

  build_heading
  build_list
  build_paragraph
  build_verbatim
  debug
  get
  parse
  peek_token
  setup_scanner
  skip
  tokenize
  tokens
  unget

= Attributes:

  attr_accessor debug
  attr_reader tokens

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-30 11:10 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!