The declaration section consists of variables used to construct the list of element inputs and outputs. The first four variables—
af_list
,ev_list
,co_list
, anddi_list
—represent lists of a-flow-line elements and the events, conditions, and data-items that flow along them. The next two variables,in_list
andout_list
, represent the union of the list of elements represented by the variablesev_list
,co_list
, anddi_list
. The variablein_list
represents a combined list of input elements. The variableout_list
represents a combined list of output elements.The next variable,
elm
, is used to extract elements from lists of elements using aFOR/LOOP
. The last variable,elm_type
, is an enumerated type that is declared as an integer. It represents the element type and is used in conjunction with aSELECT/WHEN
construct to write out the type for each element in the list of inputs and outputs.