Type:
Class
Constants:
LIST_TOKENS : [ :BULLET, :LABEL, :LALPHA, :NOTE, :NUMBER, :UALPHA, ]

List token types

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 and Rule. Inline markup such as +blah+ is handled separately by RDoc::Markup::AttributeManager.

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.

new

new() Class Public methods Creates a new

2015-05-02 15:59:22
build_paragraph

build_paragraph(margin) Instance Public methods Builds a Paragraph that is flush

2015-05-02 16:26:04
get

get() Instance Public methods Pulls the next token from the stream.

2015-05-02 16:36:16
char_pos

char_pos(byte_offset) Instance Public methods The character offset for the input

2015-05-02 16:35:17
setup_scanner

setup_scanner(input) Instance Public methods Creates the

2015-05-02 16:49:46
tokenize 2

tokenize(input) Instance Public methods Turns text input into a

2015-05-02 17:00:01