fdoc

subroutineparse_textrecursiveprivate

recursive subroutine parse_text(t, parent, text)

Parse text that may hold several chunks into node parent.

Arguments

NameTypeIntentAttributesDescription
ttype(tree_t)inout

the conversion

parentintegerin

the node

textcharacter(len=*)in

the text

Calls

Source

Show the code
recursive subroutine parse_text(t, parent, text)
    type(tree_t), intent(inout) :: t        !! the conversion
    integer, intent(in) :: parent           !! the node
    character(len=*), intent(in) :: text    !! the text
    type(string_t), allocatable :: chunks(:)

    call split_chunks(text, chunks)
    call parse_chunks(t, parent, chunks)
end subroutine parse_text

Graphs

Calls

Called by