fdoc

typenode_tprivate

A piece of the document.

Components

NameTypeAttributesDefaultDescription
blocktype(block_t)allocatable

what only directives have, as most nodes are text

exprinteger0

the expression

kindinteger0

what it is

nameinteger0

the macro

on_lineslogical.false.

true for line directives, which end their line

sourcecharacter(len=:)allocatable

the expression as written, for messages

textcharacter(len=:)allocatable

the text

Source

Show the code
type :: node_t
    !! A piece of the document.
    integer :: kind = 0                     !! what it is
    logical :: on_lines = .false.           !! true for line directives, which end their line
    integer :: expr = 0                     !! the expression
    integer :: name = 0                     !! the macro
    character(len=:), allocatable :: text   !! the text
    character(len=:), allocatable :: source !! the expression as written, for messages
    type(block_t), allocatable :: block     !! what only directives have, as most nodes are text
end type node_t

Graphs

Inherits

Inherited by