typeparsed_type_t
The type part of a declaration.
Components
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| kind | character(len=:) | allocatable | the kind, if any | |
| ok | logical | .false. | false if this is not a type | |
| proto | type(string_t) | allocatabledimension(:) | the type or interface name and its arguments, if any | |
| rest | character(len=:) | allocatable | what follows the type | |
| strlen | character(len=:) | allocatable | the character length, if any | |
| vartype | character(len=:) | allocatable | the type keyword, in lowercase |
Source
Show the code
type, public :: parsed_type_t
!! The type part of a declaration.
character(len=:), allocatable :: vartype !! the type keyword, in lowercase
character(len=:), allocatable :: kind !! the kind, if any
character(len=:), allocatable :: strlen !! the character length, if any
type(string_t), allocatable :: proto(:) !! the type or interface name and its arguments, if any
character(len=:), allocatable :: rest !! what follows the type
logical :: ok = .false. !! false if this is not a type
end type parsed_type_t