Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgEscape ¶
type ArgEscape int
ArgEscape represents an argument escape (\$N)
func (ArgEscape) ImplementsInline ¶
func (e ArgEscape) ImplementsInline()
type Block ¶
type Block interface { ImplementsBlock() GetLine() int }
Block represents a macro line or a text block.
type Escape ¶
type Escape string
Escape represents a regular escape sequence
func (Escape) ImplementsInline ¶
func (e Escape) ImplementsInline()
type Inline ¶
type Inline interface {
ImplementsInline()
}
Inline represents an inline element in a block, such as text or an escape.
type Macro ¶
Macro represents data associated with a macro line.
func (*Macro) ImplementsBlock ¶
func (m *Macro) ImplementsBlock()
type NamedArgEscape ¶
type NamedArgEscape string
NamedArgEscape represents a named argument escape
func (NamedArgEscape) ImplementsInline ¶
func (e NamedArgEscape) ImplementsInline()
type NamedFlagEscape ¶
type NamedFlagEscape string
NamedArgEscape represents a flag escape
func (NamedFlagEscape) ImplementsInline ¶
func (e NamedFlagEscape) ImplementsInline()
type Text ¶
type Text string
Text represents a bunch of inline text.
func (Text) ImplementsInline ¶
func (t Text) ImplementsInline()
type TextBlock ¶
TextBlock represents data associated with a text block.
func (*TextBlock) ImplementsBlock ¶
func (t *TextBlock) ImplementsBlock()
Click to show internal directories.
Click to hide internal directories.