class

Markd::Node

Inherits Reference < Object

Constants

CONTAINER_TYPES = {Type::Document, Type::Paragraph, Type::Strong, Type::Emphasis, Type::Strikethrough, Type::Link, Type::Image, Type::Heading, Type::List, Type::Item, Type::BlockQuote, Type::Alert, Type::CustomInLine, Type::CustomBlock, Type::Table, Type::TableRow, Type::TableCell}

Constructors

Instance methods

append_child(child : Node)
Source
data
Source
data=(data : Nil | Hash(String, Bool | Int32 | String))
Source
fence_char
Source
fence_char=(fence_char : String)
Source
fence_language
Source
fence_language=(fence_language : String)
Source
fence_length
Source
fence_length=(fence_length : Int32)
Source
fence_offset
Source
fence_offset=(fence_offset : Int32)
Source
fenced=(fenced : Bool)
Source
fenced?
Source
first_child
Source
first_child=(first_child : Node | Nil)
Source
first_child?
Source
insert_after(sibling : Node)
Source
last_child
Source
last_child=(last_child : Node | Nil)
Source
last_child?
Source
last_line_blank=(last_line_blank : Bool)
Source
last_line_blank?
Source
last_line_checked=(last_line_checked : Bool)
Source
last_line_checked?
Source
next
Source
next=(next __arg0 : Node | Nil)
Source
next?
Source
open=(open : Bool)
Source
open?
Source
parent
Source
parent=(parent : Node | Nil)
Source
parent?
Source
prev
Source
prev=(prev : Node | Nil)
Source
prev?
Source
source_pos
Source
source_pos=(source_pos : Tuple(Tuple(Int32, Int32), Tuple(Int32, Int32)))
Source
text
Source
text=(text : String)
Source
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
type
Source
type=(type : Type)
Source
walker
Source

Nested types