Skip to content

Section

Section = BaseNode & object

Defined in: packages/speculator/src/types/ast.generated.ts:12

children: (Section | Block)[]

optional dataCopConcept: string

Optional Class of Products (COP) identifier for this section scope.

optional heading: BaseNode & object

Optional section heading

children: Inline[]

optional dataCopConcept: string

Optional Class of Products (COP) identifier for this heading/section scope.

depth: number

optional id: string

Optional explicit heading ID

optional noToc: boolean

If true, the section created from this heading will not be numbered and will be omitted from the TOC.

optional noTocCount: boolean

If true, this heading and its children will not increment the section counter and will not be numbered, but will still be included in the TOC.

type: "heading"

optional id: string

Optional explicit section identifier

optional noToc: boolean

If true, this section and its descendants do not increment the TOC counter at this level and are omitted from the TOC.

optional noTocCount: boolean

If true, this section and its descendants do not increment the section counter and are not numbered, but are still included in the TOC.

type: "section"