Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
cap
integer,
private
::
i
character(len=256),
private,
allocatable
::
tmp(:)
integer,
private,
allocatable
::
tmpl(:)
Source Code
subroutine push_tok(tokens,tok_line,n_tok,val,line)!! Append a token, growing the buffer as needed.character(len=256),allocatable,intent(inout)::tokens(:)integer,allocatable,intent(inout)::tok_line(:)integer,intent(inout)::n_tokcharacter(len=*),intent(in)::valinteger,intent(in)::linecharacter(len=256),allocatable::tmp(:)integer,allocatable::tmpl(:)integer::cap,icap=size(tokens)if(n_tok>=cap)then allocate(tmp(2*cap),tmpl(2*cap))do i=1,n_toktmp(i)=tokens(i)tmpl(i)=tok_line(i)end do call move_alloc(tmp,tokens)call move_alloc(tmpl,tok_line)end ifn_tok=n_tok+1tokens(n_tok)=valtok_line(n_tok)=lineend subroutine push_tok