functionin_statepureprivate
pure logical function in_state(t, state)
True if the innermost parser state is state.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| t | type(tree_t) | in | the conversion | |
| state | character(len=*) | in | the state |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| in_state | logical |
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