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

Method visit_BoolFalse

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

Source from the content-addressed store, hash-verified

1036 }
1037
1038 fn visit_BoolFalse(&mut self, ctx: &BoolFalseContext<'_>) -> Self::Return {
1039 match ctx.tok.as_deref() {
1040 Some(token) => self
1041 .helper
1042 .next_expr(token, Expr::Literal(LiteralValue::Boolean(false.into()))),
1043 None => self.report_error::<ParseError, _>(&ctx.start(), None, "Incomplete bool!"),
1044 }
1045 }
1046
1047 fn visit_Null(&mut self, ctx: &NullContext<'_>) -> Self::Return {
1048 match ctx.tok.as_deref() {

Callers

nothing calls this directly

Calls 2

next_exprMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected