Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
This function is used to subsequently break a string into tokens.
Tokens separators are any number of spaces.
If just the string is provided, the function returns the position of
the first printable character;
If also ib is provided it saves the position of the first printable
character after position ib (or ib itself) in ib and return the
position of the last printable character before the first space after
ib. If ntok is specified instead of a single token, ntok are
returned. In case of last token hitten -1 is returned.
To divide a string follow the following scheme:
1. ib = tokenize(s)
2. ie = tokenize(s, ib)
3. tok1 = s(ib:ie)
4a. ib = ib+1
4b. ie = tokenize(s, ib)
5. tok2 = s(ib:ie)
Arguments
Type
Intent
Optional
Attributes
Name
character(len=OMMP_STR_CHAR_MAX),
intent(in)
::
s
String to subdivide in token
integer(kind=ip),
intent(in),
optional
::
ib
Index where to start token research (input)/Index where token
begins (output)
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.