Module ast

Module ast 

Source
Expand description

Box language abstract syntax tree

Structs§

Adjust
Arg
An argument of type T to a function.
Chars
Discretionary
Glue
HBox
Insertion
Kern
Ligature
Mark
Math
Penalty
Rule
VBox

Enums§

DiscretionaryElem
Element of a discretionary pre- or post-break list.
Horizontal
Element of a horizontal list.
MaybeRunning
A rule dimension that is either a fixed length or running (i.e. determined by context).
Vertical
Element of a vertical list.

Traits§

Func
A function like text or glue.

Functions§

lower_hbox
Lower a horizontal list to a CST tree.
lower_vbox
Lower a vertical list to a CST tree.
parse_hbox
Parse Box language source code into a horizontal list.
parse_hbox_using_cst
Parse a hbox using an explicitly provided CST.
parse_vbox_using_cst
Parse a hbox using an explicitly provided CST.