abstract class Poor::TreeMaker

Overview

A base for objects which enable processing markup trees by opening and closing individual elements.

Direct Known Subclasses

Defined in:

builder.cr

Instance Method Summary

Instance Method Detail

def add(element : Markup) #

[View source]
def close(element : Markup = @parents.last) #

[View source]
def close_children(element : Markup) #

[View source]
abstract def close_element(element : Markup) #

[View source]
def finish(element : Markup = @parents.last) #

Alias for #close.


[View source]
def finish_children(element : Markup) #

Alias for #close_children.


[View source]
def open(element : Markup) #

[View source]
abstract def open_element(element : Markup) #

[View source]
def parent #

[View source]
def start(element : Markup) #

Alias for #open.


[View source]