Kind (TK_*) of code token j, or 0 outside the statement.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(statement_view_t), | intent(in) | :: | v |
the statement |
||
| integer, | intent(in) | :: | j |
index into |
pure integer function view_kind_of(v, j) result(kind) !! Kind (`TK_*`) of code token `j`, or 0 outside the statement. class(statement_view_t), intent(in) :: v !! the statement integer, intent(in) :: j !! index into `v%code(:)` kind = 0 if (j >= 1 .and. j <= v%n) kind = v%kinds(j) end function view_kind_of