Method
visit_start
(&mut self, ctx: &StartContext<'_>)
Source from the content-addressed store, hash-verified
| 482 | |
| 483 | impl gen::CELVisitorCompat<'_> for Parser { |
| 484 | fn visit_start(&mut self, ctx: &StartContext<'_>) -> Self::Return { |
| 485 | match &ctx.expr() { |
| 486 | None => self.report_error::<ParseError, _>( |
| 487 | ctx.start().deref(), |
| 488 | None, |
| 489 | "No `ExprContextAll`!", |
| 490 | ), |
| 491 | Some(expr) => self.visit(expr.as_ref()), |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | fn visit_expr(&mut self, ctx: &ExprContext<'_>) -> Self::Return { |
| 496 | match &ctx.op { |
Callers
nothing calls this directly
Tested by
no test coverage detected