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.
subroutine parse(self,string,filename)!< Parse xml data from string or file.!<!< @note Self data are free before trying to parse new xml data: all previously parsed data are lost.class(xml_file),intent(inout)::self!< XML file.character(*),optional,intent(in)::string!< String containing xml data.character(*),optional,intent(in)::filename!< File name containing xml data.character(len=:),allocatable::source!< String containing xml data.call self%freeif(present(string))then call self%parse_from_string(source_string=string)elseif(present(filename))thensource=load_file_as_stream(filename=filename,fast_read=.true.)call self%parse_from_string(source_string=source)endif endsubroutine parse