What a statement does to the block structure, as found by classify_statement.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | construct | = | C_NONE |
the construct opened, continued or closed: one of the |
|
| integer, | public | :: | do_label | = | 0 |
for |
|
| integer, | public | :: | label | = | 0 |
statement label, or 0 |
|
| character(len=:), | public, | allocatable | :: | name |
construct name, as in |
||
| integer, | public | :: | role | = | ROLE_NONE |
|
type, public :: stmt_info_t !! What a statement does to the block structure, as found by `classify_statement`. integer :: role = ROLE_NONE !! `ROLE_OPEN`, `ROLE_MIDDLE`, `ROLE_CLOSE`, or `ROLE_NONE` for other statements integer :: construct = C_NONE !! the construct opened, continued or closed: one of the `C_*` constants integer :: label = 0 !! statement label, or 0 integer :: do_label = 0 !! for `do 10 ...`: the label of the statement that ends the loop character(len=:), allocatable :: name !! construct name, as in `outer: do` end type stmt_info_t