Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collect

type Collect struct {
	Section *booklit.Section
}

func (*Collect) VisitDefinitions

func (collect *Collect) VisitDefinitions(con booklit.Definitions) error

func (*Collect) VisitImage

func (collect *Collect) VisitImage(con booklit.Image) error
func (collect *Collect) VisitLink(con booklit.Link) error

func (*Collect) VisitList

func (collect *Collect) VisitList(con booklit.List) error

func (*Collect) VisitParagraph

func (collect *Collect) VisitParagraph(con booklit.Paragraph) error

func (*Collect) VisitPreformatted

func (collect *Collect) VisitPreformatted(con booklit.Preformatted) error

func (*Collect) VisitReference

func (collect *Collect) VisitReference(con *booklit.Reference) error

func (*Collect) VisitSection

func (collect *Collect) VisitSection(con *booklit.Section) error

func (*Collect) VisitSequence

func (collect *Collect) VisitSequence(con booklit.Sequence) error

func (*Collect) VisitString

func (collect *Collect) VisitString(booklit.String) error

func (*Collect) VisitStyled

func (collect *Collect) VisitStyled(con booklit.Styled) error

func (*Collect) VisitTable

func (collect *Collect) VisitTable(con booklit.Table) error

func (*Collect) VisitTableOfContents

func (collect *Collect) VisitTableOfContents(booklit.TableOfContents) error

func (*Collect) VisitTarget

func (collect *Collect) VisitTarget(con booklit.Target) error

type Evaluate

type Evaluate struct {
	Section *booklit.Section

	Result booklit.Content
}

func (*Evaluate) VisitInvoke

func (eval *Evaluate) VisitInvoke(invoke ast.Invoke) error

func (*Evaluate) VisitParagraph

func (eval *Evaluate) VisitParagraph(node ast.Paragraph) error

func (*Evaluate) VisitPreformatted

func (eval *Evaluate) VisitPreformatted(node ast.Preformatted) error

func (*Evaluate) VisitSequence

func (eval *Evaluate) VisitSequence(seq ast.Sequence) error

func (*Evaluate) VisitString

func (eval *Evaluate) VisitString(str ast.String) error

type Resolve

type Resolve struct {
	AllowBrokenReferences bool

	Section *booklit.Section
}

func (*Resolve) VisitDefinitions

func (resolve *Resolve) VisitDefinitions(con booklit.Definitions) error

func (*Resolve) VisitImage

func (resolve *Resolve) VisitImage(con booklit.Image) error
func (resolve *Resolve) VisitLink(con booklit.Link) error

func (*Resolve) VisitList

func (resolve *Resolve) VisitList(con booklit.List) error

func (*Resolve) VisitParagraph

func (resolve *Resolve) VisitParagraph(con booklit.Paragraph) error

func (*Resolve) VisitPreformatted

func (resolve *Resolve) VisitPreformatted(con booklit.Preformatted) error

func (*Resolve) VisitReference

func (resolve *Resolve) VisitReference(con *booklit.Reference) error

func (*Resolve) VisitSection

func (resolve *Resolve) VisitSection(con *booklit.Section) error

func (*Resolve) VisitSequence

func (resolve *Resolve) VisitSequence(con booklit.Sequence) error

func (*Resolve) VisitString

func (resolve *Resolve) VisitString(booklit.String) error

func (*Resolve) VisitStyled

func (resolve *Resolve) VisitStyled(con booklit.Styled) error

func (*Resolve) VisitTable

func (resolve *Resolve) VisitTable(con booklit.Table) error

func (*Resolve) VisitTableOfContents

func (resolve *Resolve) VisitTableOfContents(booklit.TableOfContents) error

func (*Resolve) VisitTarget

func (resolve *Resolve) VisitTarget(con booklit.Target) error