fdoc

functionin_statepureprivate

pure logical function in_state(t, state)

True if the innermost parser state is state.

Arguments

NameTypeIntentAttributesDescription
ttype(tree_t)in

the conversion

statecharacter(len=*)in

the state

Result

NameTypeAttributesDescription
in_statelogical

Calls

Source

Show the code
pure logical function in_state(t, state)
    type(tree_t), intent(in) :: t           !! the conversion
    character(len=*), intent(in) :: state   !! the state

    in_state = ends_with(t%state, ','//state)
end function in_state

Graphs

Calls

Called by