MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / visit_start

Method visit_start

cel/src/parser/parser.rs:484–493  ·  view source on GitHub ↗
(&mut self, ctx: &StartContext<'_>)

Source from the content-addressed store, hash-verified

482
483impl 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

Calls 4

startMethod · 0.80
visitMethod · 0.80
exprMethod · 0.45
derefMethod · 0.45

Tested by

no test coverage detected