(&mut self, ctx: &IdentContext<'_>)
| 814 | } |
| 815 | |
| 816 | fn visit_Ident(&mut self, ctx: &IdentContext<'_>) -> Self::Return { |
| 817 | match &ctx.id { |
| 818 | None => { |
| 819 | self.report_error::<ParseError, _>(&ctx.start(), None, "No `Identifier`!"); |
| 820 | IdedExpr::default() |
| 821 | } |
| 822 | Some(id) => { |
| 823 | let ident = id.clone().text; |
| 824 | self.helper |
| 825 | .next_expr(id.deref(), Expr::Ident(ident.to_string())) |
| 826 | } |
| 827 | } |
| 828 | } |
| 829 | |
| 830 | fn visit_GlobalCall(&mut self, ctx: &GlobalCallContext<'_>) -> Self::Return { |
| 831 | match &ctx.id { |