class

Luce::InlineParser

Inherits Reference < Object

Maintains the internal state needed to parse inline span elements in Markdown.

Constructors

new(source : String, document : Document)

Instance methods

add_node(node : Node) : Nil

Add node to the current tree.

advance(length : Int32) : Nil
char_at(index : Int32) : Int32
consume(length : Int32) : Nil
document

The Markdown document this parser is parsing

done?
parse
pos

The current read position

pos=(pos : Int32)

The current read position

push_delimiter(delimiter : Delimiter) : Nil

Push delimiter onto the stack of Delimiters

source

The string of Markdown being parsed

start

Starting position of the last unconsumed text.

start=(start : Int32)

Starting position of the last unconsumed text.

syntaxes
write_text