RDoc::Markup::Parser - ri - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


= 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 Author: Che Dong Under GNU General Public License
2026-06-02 08:00 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!