(&mut self, ctx: &GlobalCallContext<'_>)
| 828 | } |
| 829 | |
| 830 | fn visit_GlobalCall(&mut self, ctx: &GlobalCallContext<'_>) -> Self::Return { |
| 831 | match &ctx.id { |
| 832 | None => IdedExpr::default(), |
| 833 | Some(id) => { |
| 834 | let mut id = id.get_text().to_string(); |
| 835 | if ctx.leadingDot.is_some() { |
| 836 | id = format!(".{id}"); |
| 837 | } |
| 838 | let op_id = self.helper.next_id_for_token(ctx.op.as_deref()); |
| 839 | let args = ctx |
| 840 | .args |
| 841 | .iter() |
| 842 | .flat_map(|arg| &arg.e) |
| 843 | .map(|arg| self.visit(arg.deref())) |
| 844 | .collect::<Vec<IdedExpr>>(); |
| 845 | self.global_call_or_macro(op_id, id, args) |
| 846 | } |
| 847 | } |
| 848 | } |
| 849 | |
| 850 | fn visit_Nested(&mut self, ctx: &NestedContext<'_>) -> Self::Return { |
| 851 | match &ctx.e { |
nothing calls this directly
no test coverage detected