canon_id_name = (#exact-symbol "id") canon_id = (#exact-list [canon_id_name canon_text]) canon_paragraph_name = (#exact-symbol "paragraph") canon_paragraph = (#choice [ (#variadic [canon_paragraph_name] canon_inline) (#variadic [canon_paragraph_name canon_id] canon_inline) (#variadic [canon_paragraph_name canon_id canon_type] canon_inline) (#variadic [canon_paragraph_name canon_type canon_id] canon_inline) (#variadic [canon_paragraph_name canon_type] canon_inline) ])
canon_title_name = (#exact-symbol "title") canon_title = (#variadic [canon_title_name] canon_text) canon_formal_item_name = (#exact-symbol "formal-item") canon_formal_item = (#choice [ (#variadic [canon_formal_item_name canon_title] canon_inline) (#variadic [canon_formal_item_name canon_title canon_id] canon_inline) (#variadic [canon_formal_item_name canon_title canon_id canon_type] canon_inline) (#variadic [canon_formal_item_name canon_title canon_type canon_id] canon_inline) (#variadic [canon_formal_item_name canon_title canon_type] canon_inline) ])
canon_footnote_name = (#exact-symbol "footnote") canon_footnote = (#choice [ (#variadic [canon_footnote_name canon_id] canon_inline) (#variadic [canon_footnote_name canon_id canon_type] canon_inline) ])
canon_subsection_name = (#exact-symbol "subsection") canon_subsection_content = (#choice [canon_paragraph canon_footnote canon_formal_item]) canon_subsection = (#choice [ (#variadic [canon_subsection_name canon_title] canon_subsection_content) (#variadic [canon_subsection_name canon_title canon_id] canon_subsection_content) (#variadic [canon_subsection_name canon_title canon_id canon_type] canon_subsection_content) (#variadic [canon_subsection_name canon_title canon_type canon_id] canon_subsection_content) (#variadic [canon_subsection_name canon_title canon_type] canon_subsection_content) ])
canon_section_name = (#exact-symbol "section") canon_section_content = (#choice [canon_subsection canon_subsection_content]) canon_section = (#choice [ (#variadic [canon_section_name canon_title] canon_section_content) (#variadic [canon_section_name canon_title canon_id] canon_section_content) (#variadic [canon_section_name canon_title canon_id canon_type] canon_section_content) (#variadic [canon_section_name canon_title canon_type canon_id] canon_section_content) (#variadic [canon_section_name canon_title canon_type] canon_section_content) ])
canon_part_name = (#exact-symbol "part") canon_part = (#choice [ (#variadic [canon_part_name canon_title] canon_section) (#variadic [canon_part_name canon_title canon_id] canon_section) (#variadic [canon_part_name canon_title canon_id canon_type] canon_section) (#variadic [canon_part_name canon_title canon_type canon_id] canon_section) (#variadic [canon_part_name canon_title canon_type] canon_section) ])
canon_document_name = (#exact-symbol "document") canon_document_content = (#choice [canon_section canon_part]) canon_document = (#choice [ (#variadic [canon_document_name canon_title] canon_document_content) (#variadic [canon_document_name canon_title canon_id] canon_document_content) (#variadic [canon_document_name canon_title canon_id canon_type] canon_document_content) (#variadic [canon_document_name canon_title canon_type canon_id] canon_document_content) (#variadic [canon_document_name canon_title canon_type] canon_document_content) ])
canon_import_name = (#exact-symbol "import") canon_import = (#exact-list [canon_import_name canon_text])