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 |
|
Where it is used
Argument of (39)
Show all
- admonition_block
- code_block
- collect_definitions
- definition_block
- find_reference
- hash_header
- in_state
- indent_level
- inline
- inline_abbreviation
- inline_bracket
- inline_emphasis
- inline_image
- insert_toc
- last_child
- list_block
- list_indent
- new_node
- paragraph
- parse_block
- parse_chunks
- parse_one
- parse_text
- quote_block
- render_children
- render_footnotes
- render_heading
- render_node
- render_table
- reset_state
- set_state
- setext_header
- stash_fenced_code
- stash_html
- stash_html_blocks
- table_row
- unique_id
- unstash
- write_link
Inherits
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