fdoc

typenode_tprivate

An element of the tree.

Components

NameTypeAttributesDescription
attrscharacter(len=:)allocatable

its attributes, as HTML

kidsintegerallocatabledimension(:)

its children, in order

tagcharacter(len=:)allocatable

its tag; code is a code block, raw is finished HTML

textcharacter(len=:)allocatable

its text, not yet processed

Source

Show the code
type :: node_t
    !! An element of the tree.
    character(len=:), allocatable :: tag    !! its tag; `code` is a code block, `raw` is finished HTML
    character(len=:), allocatable :: text   !! its text, not yet processed
    character(len=:), allocatable :: attrs  !! its attributes, as HTML
    integer, allocatable :: kids(:)         !! its children, in order
end type node_t

Graphs

Inherited by