(signature: &syn::Signature)
| 187 | } |
| 188 | |
| 189 | fn is_static(signature: &syn::Signature) -> bool { |
| 190 | !signature |
| 191 | .inputs |
| 192 | .iter() |
| 193 | .any(|fn_arg| matches!(fn_arg, syn::FnArg::Receiver(_))) |
| 194 | } |
| 195 | |
| 196 | fn parse_nested_func(parent_breakpoint: FunctionDef, block: &syn::Block) -> Vec<FunctionDef> { |
| 197 | let mut nested_func = block.stmts.iter().fold(Vec::new(), |mut acc, stmt| { |