fdoc

typemacro_tprivate

A macro.

Components

NameTypeAttributesDefaultDescription
capturedintegerallocatabledimension(:)

the local variables at its definition

defaultstype(value_t)allocatabledimension(:)

the defaults

has_defaultlogicalallocatabledimension(:)

whether each has a default

nodeinteger0

its definition

paramsintegerallocatabledimension(:)

its arguments

valuestype(value_t)allocatabledimension(:)

their values

Source

Show the code
type :: macro_t
    !! A macro.
    integer :: node = 0                         !! its definition
    integer, allocatable :: params(:)           !! its arguments
    logical, allocatable :: has_default(:)      !! whether each has a default
    type(value_t), allocatable :: defaults(:)   !! the defaults
    integer, allocatable :: captured(:)         !! the local variables at its definition
    type(value_t), allocatable :: values(:)     !! their values
end type macro_t

Graphs

Inherits

macro_tvalue_tdefaults, valuesitems

Inherited by