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
Hlist
Insertion
Kern
Ligature
Mark
Math
Penalty
Rule
Vlist

Enums§

DiscretionaryElem
Element of a discretionary pre- or post-break list.
Horizontal
Element of a horizontal list.
Vertical
Element of a vertical list.

Traits§

Func
A function like text or glue.

Functions§

lower_hlist
Lower a horizontal list to a CST tree.
lower_vlist
Lower a vertical list to a CST tree.
parse_hlist
Parse Box language source code into a horizontal list.
parse_hlist_using_cst
Parse a hlist using an explicitly provided CST.
parse_vlist_using_cst
Parse a hlist using an explicitly provided CST.