class Markd::Parser::Block
- Markd::Parser::Block
- Reference
- Object
Included Modules
Defined in:
markd/parsers/block.crConstant Summary
-
RULES =
{Node::Type::Document => Rule::Document.new, Node::Type::BlockQuote => Rule::BlockQuote.new, Node::Type::Heading => Rule::Heading.new, Node::Type::CodeBlock => Rule::CodeBlock.new, Node::Type::HTMLBlock => Rule::HTMLBlock.new, Node::Type::ThematicBreak => Rule::ThematicBreak.new, Node::Type::List => Rule::List.new, Node::Type::Item => Rule::Item.new, Node::Type::Paragraph => Rule::Paragraph.new}
Constructors
Class Method Summary
Instance Method Summary
- #add_child(type : Node::Type, offset : Int32) : Node
- #advance_next_nonspace
- #advance_offset(count, columns = false)
- #blank : Bool
- #close_unmatched_blocks
- #column : Int32
- #column=(column : Int32)
- #current_line : Int32
- #indent : Int32
- #indented : Bool
- #inline_lexer : Markd::Parser::Inline
- #line : String
- #next_nonspace : Int32
- #offset : Int32
- #offset=(offset : Int32)
- #parse(source : String)
- #refmap : Hash(String, Hash(String, String) | String)
- #tip : Node | Nil
- #tip=(tip : Node | Nil)
- #tip? : Node | Nil | Nil
- #token(container : Node, line_number : Int32)