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.
Source Code
elemental function lower(self)!< Return a string with all lowercase characters.!<!<```fortran!< type(string) :: astring!< logical :: test_passed(1)!< astring = 'Hello WorLD!'!< test_passed(1) = astring%lower()//''=='hello world!'!< print '(L1)', all(test_passed)!<```!=> T <<<class(string),intent(in)::self!< The string.type(string)::lower!< Upper case string.integer::n1!< Characters counter.integer::n2!< Characters counter.if(allocated(self%raw))thenlower=selfdo n1=1,len(self%raw)n2=index(UPPER_ALPHABET,self%raw(n1:n1))if(n2>0)lower%raw(n1:n1)=LOWER_ALPHABET(n2:n2)enddo endif endfunction lower