The words of a statement, with combined keywords such as endif split into end, if.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | n | = | 0 |
number of words |
|
| integer, | public, | allocatable | :: | tok(:) |
index into the code token list for each word |
||
| type(string_t), | public, | allocatable | :: | w(:) |
the words of the first token; the others are its code tokens |
type :: words_t !! The words of a statement, with combined keywords such as `endif` split into `end`, `if`. type(string_t), allocatable :: w(:) !! the words of the first token; the others are its code tokens integer, allocatable :: tok(:) !! index into the code token list for each word integer :: n = 0 !! number of words end type words_t