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

Method visit_Null

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

Source from the content-addressed store, hash-verified

1045 }
1046
1047 fn visit_Null(&mut self, ctx: &NullContext<'_>) -> Self::Return {
1048 match ctx.tok.as_deref() {
1049 Some(token) => self
1050 .helper
1051 .next_expr(token, Expr::Literal(LiteralValue::Null)),
1052 None => self.report_error::<ParseError, _>(&ctx.start(), None, "Incomplete null!"),
1053 }
1054 }
1055}
1056
1057pub struct ParserHelper {

Callers

nothing calls this directly

Calls 2

next_exprMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected