+ # New initial flows for methods contains the parameters.
+ redef fun new_initial_method_flow(n) do
+ var flow = new_initial_flow
+ var n_signature = n.n_signature
+ if n_signature == null then return flow
+ for n_param in n_signature.n_params do
+ var variable = n_param.variable
+ if variable == null then continue
+ flow.add(new VarDef(variable, n_param.location))
+ end
+ return flow
+ end
+