(call_stmt: &CallStatement, indent: usize)
| 249 | } |
| 250 | |
| 251 | fn print_call_statement(call_stmt: &CallStatement, indent: usize) { |
| 252 | debug!( |
| 253 | "{}Procedure: {}", |
| 254 | get_indent(indent), |
| 255 | call_stmt.procedure_name |
| 256 | ); |
| 257 | |
| 258 | if !call_stmt.arguments.is_empty() { |
| 259 | debug!( |
| 260 | "{}Arguments ({})", |
| 261 | get_indent(indent), |
| 262 | call_stmt.arguments.len() |
| 263 | ); |
| 264 | for (i, arg) in call_stmt.arguments.iter().enumerate() { |
| 265 | debug!("{}Argument {}", get_indent(indent + 1), i); |
| 266 | print_expression(arg, indent + 2); |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | if let Some(yield_clause) = &call_stmt.yield_clause { |
| 271 | debug!("{}YieldClause", get_indent(indent)); |
| 272 | print_yield_clause(yield_clause, indent + 1); |
| 273 | } |
| 274 | |
| 275 | if let Some(where_clause) = &call_stmt.where_clause { |
| 276 | debug!("{}WhereClause", get_indent(indent)); |
| 277 | print_where_clause(where_clause, indent + 1); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | fn print_yield_clause(yield_clause: &YieldClause, indent: usize) { |
| 282 | debug!( |
no test coverage detected