modulefdoc_decl
Reading declarations and procedure headers from the text of a statement.
Everything here runs inside the parallel parsing loop, so it does not call functions returning
deferred-length strings (see example/slen_race.f90).
Uses
Graphs
Uses
Used by
Variables
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| TYPE_WORDS | character(len=*) | privateparameterdimension(*) | [character(len=16)::'integer','real','doubleprecision','character','complex','doublecomplex','logical','type','class','procedure','enumerator'] |
Types
parsed_type_t
The type part of a declaration.
procedure_header_t
The parts of a subroutine or function statement.
Functions
is_type_declaration
True if low starts a type declaration rather than, for example, an assignment.
selector_lengthpureprivate
The length of the kind selector at the start of text, which is (...), *n or *(...).
Subroutines
original_prefixprivate
Set text to line(1:n) with the words of attribs removed, keeping the case of what is left.
parse_declarator
Read one name of a declaration, such as x(3) = 1.
parse_procedure_header
Read a subroutine or function statement.
split_attributes
Split what follows the type of a declaration into its attributes and the names declared.
type_keywordprivate
The length of the type keyword that low starts with, ignoring blanks in double precision, or
0. Its normal spelling is returned in word.