class Luce::InlineParser
- Luce::InlineParser
- Reference
- Object
Overview
Maintains the internal state needed to parse inline span elements in Markdown.
Defined in:
luce/inline_parser.crConstructors
Instance Method Summary
-
#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 : Document
The Markdown document this parser is parsing
- #done? : Bool
- #parse : Array(Node)
-
#pos : Int32
The current read position
-
#pos=(pos : Int32)
The current read position
-
#source : String
The string of Markdown being parsed
-
#start : Int32
Starting position of the last unconsumed text.
-
#start=(start : Int32)
Starting position of the last unconsumed text.
- #syntaxes : Array(InlineSyntax)
- #write_text : Nil