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
::
comment_pos
Source Code
pure function strip_comment(line)result(stripped)!! Remove comments (! or #) from a line and trim resultcharacter(len=*),intent(in)::linecharacter(len=:),allocatable::strippedinteger::comment_pos! Find first occurrence of ! or #comment_pos=index(line,'!')if(comment_pos==0)comment_pos=index(line,'#')if(comment_pos>0)then! Comment found - take everything before itstripped=trim(adjustl(line(1:comment_pos-1)))else! No comment - use full linestripped=trim(adjustl(line))end if end function strip_comment