Skip to main content

Module render

Module render 

Source
Expand description

Grain-type-aware renderers for context formatting.

Each of the 11 OMS grain types has a renderer implementing GrainRenderer. Renderers produce formatted strings in SML, Markdown, PlainText, or JSON.

Structs§

RendererRegistry
Registry mapping GrainType to its renderer.

Traits§

GrainRenderer
Renders a single grain type into formatted context strings.

Functions§

toon_columns
TOON column names per grain type, per CAL spec Section 10.9.3.