fdoc

typetree_tprivate

The state of one conversion.

Components

NameTypeAttributesDefaultDescription
abbreviationstype(map_entry_t)allocatabledimension(:)

abbreviations

depthinteger0

nesting of block parsing

headingstype(heading_t)allocatabledimension(:)

headings, if the toc extension is on

idstype(string_t)allocatabledimension(:)

header ids used

ninteger0

number of elements

nodestype(node_t)allocatabledimension(:)

the elements; 1 is the root

notestype(footnote_t)allocatabledimension(:)

footnotes

refstype(reference_t)allocatabledimension(:)

link references

stashtype(string_t)allocatabledimension(:)

finished HTML kept out of the way

statecharacter(len=:)allocatable

,-separated parser states, innermost last

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

Graphs

Inherits

tree_tnode_tnodesreference_trefsfootnote_tnotesmap_entry_tabbreviationsheading_theadings