Formatter directives in comments, which protect code from formatting:
!& at the end of a statement keeps the statement exactly as it is.!&< on a line of its own starts a region that is kept exactly as it is, and !&> ends it.| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private, | parameter | :: | DIR_KEEP | = | 1 |
none, |
| integer, | private, | parameter | :: | DIR_NONE | = | 0 |
none, |
| integer, | private, | parameter | :: | DIR_OFF | = | 2 |
none, |
| integer, | private, | parameter | :: | DIR_ON | = | 3 |
none, |
Formatter directive (one of the DIR_* constants) of a comment token.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
source text |
||
| type(token_t), | intent(in) | :: | t |
a comment token of |
True for each item that must be written exactly as it is: statements with a !& comment, and
everything from a !&< line to the next !&> line, both included.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
source text |
||
| type(token_list_t), | intent(in) | :: | tokens |
tokens of |
||
| type(statement_list_t), | intent(in) | :: | stmts |
items of |