Skip to main content

Module document

Module document 

Source
Expand description

Top-level document AST types.

Structs§

ComponentDef
A reusable component definition: a named child-node subtree declared once (in the document-level components block) and instanced into multiple places via Node::Instance.
Document
The root zenith node — the complete parsed .zen document.
DocumentBody
The document child of the root zenith node.
Fold
A non-printing fold-line position declared on a Page.
MasterDef
A reusable master-page definition: a named child-node subtree declared once (in the document-level masters block) and projected onto every Page whose master attribute names it.
Page
A single page within a document body.
Project
Metadata for the project.
SafeZone
A named safe/dead zone declared on a Page.
SectionDef
A section — a named, contiguous range of pages with its own folio numbering, used for front-matter / chapters / appendices. A section LABELS pages (like PDF page labels); it does not contain them. The range runs from start_page until the next section’s start_page (or the document end).

Enums§

SafeZoneType
The kind of a SafeZone.