Skip to main content

Module parser

Module parser 

Source
Expand description

The parser of a cell’s styles argument (CellStylesParser): an optional group delimited by < and >, holding document content.

\cell<H l>{…} and \celldata<H, l>{…} write their style tokens in angle brackets. The styles argument is an ordinary argument declaration that carries this parser, which reads the group as the language reads an optional […] group: the opening < may follow whitespace or a comment, a > inside a {…} group belongs to that group, an argument that is not written is absent, and an opening < without its > gets the language’s ordinary report of an unclosed group. The group holds content (the tokens as characters, a value in braces as a group), which the table’s reader (read_grid) reads at lowering.

Structs§

CellStylesParser
The parser of the styles argument of \cell and \celldata: an optional <…> group of document content, built on techy’s optional group parser with the delimiters < and >. See the module documentation.

Constants§

IDENTITY
The identity of the parser in the registry digest, flm.cells.styles.