typetree_tprivate
The state of one conversion.
Components
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| abbreviations | type(map_entry_t) | allocatabledimension(:) | abbreviations | |
| depth | integer | 0 | nesting of block parsing | |
| headings | type(heading_t) | allocatabledimension(:) | headings, if the | |
| ids | type(string_t) | allocatabledimension(:) | header ids used | |
| n | integer | 0 | number of elements | |
| nodes | type(node_t) | allocatabledimension(:) | the elements; 1 is the root | |
| notes | type(footnote_t) | allocatabledimension(:) | footnotes | |
| refs | type(reference_t) | allocatabledimension(:) | link references | |
| stash | type(string_t) | allocatabledimension(:) | finished HTML kept out of the way | |
| state | character(len=:) | allocatable |
|
Source
Show the code
type :: tree_t
!! The state of one conversion.
type(node_t), allocatable :: nodes(:) !! the elements; 1 is the root
integer :: n = 0 !! number of elements
type(string_t), allocatable :: stash(:) !! finished HTML kept out of the way
type(reference_t), allocatable :: refs(:) !! link references
type(footnote_t), allocatable :: notes(:) !! footnotes
type(map_entry_t), allocatable :: abbreviations(:) !! abbreviations
type(heading_t), allocatable :: headings(:) !! headings, if the `toc` extension is on
type(string_t), allocatable :: ids(:) !! header ids used
character(len=:), allocatable :: state !! `,`-separated parser states, innermost last
integer :: depth = 0 !! nesting of block parsing
end type tree_t