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.
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
function parse_rule(s)result(r)character(len=*),intent(in)::stype(rule)::rtype(string),dimension(:),allocatable::vcharacter(len=*),parameter::xmas='xmas'! 1,2,3,4if(s=='A')thenr%accept=.true.else if(s=='R')thenr%reject=.true.else if(index(s,'>')>0)thenv=split(s(3:),':')! example: a<2006:qkqr%operator_arg=index(xmas,s(1:1))r%operator=2r%operator_val=int(v(1)%str)r%goto=v(2)%str! can be a workflow or A or Relse if(index(s,'<')>0)thenv=split(s(3:),':')r%operator_arg=index(xmas,s(1:1))r%operator=1r%operator_val=int(v(1)%str)r%goto=v(2)%str! can be a workflow or A or Relser%goto=s! it's a workflow nameend if end if end function parse_rule