fdoc

typename_index_t

A hash table from names to positive integers, for lookups in long lists.

Components

NameTypeAttributesDefaultDescription
keystype(string_t)allocatabledimension(:)

the names

ninteger0

how many there are

slotsintegerallocatabledimension(:)

each slot's entry, or 0

valuesintegerallocatabledimension(:)

their values

Source

Show the code
type :: name_index_t
    !! A hash table from names to positive integers, for lookups in long lists.
    integer, allocatable :: slots(:)        !! each slot's entry, or 0
    type(string_t), allocatable :: keys(:)  !! the names
    integer, allocatable :: values(:)       !! their values
    integer :: n = 0                        !! how many there are
end type name_index_t

Graphs

Inherited by

name_index_tfypp_tcompiledentity_list_tnamessymbol_list_tindexsymbols_tpublic_listprocs, absints, types, varsproject_tlistpublink_context_tlistsite_tp