MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / parse_negate

Function parse_negate

src/expr-parser/src/parser.rs:587–594  ·  view source on GitHub ↗
(ctx: CtxRef, input: ParseStream)

Source from the content-addressed store, hash-verified

585 }
586
587 fn parse_negate(ctx: CtxRef, input: ParseStream) -> Result {
588 let negate = input.parse::<kw::Negate>()?;
589
590 let parse_input = ParseChildren::new(input, negate.span().start());
591 let input = Box::new(parse_input.parse_one(ctx, parse_expr)?);
592
593 Ok(MirRelationExpr::Negate { input })
594 }
595
596 fn parse_threshold(ctx: CtxRef, input: ParseStream) -> Result {
597 let threshold = input.parse::<kw::Threshold>()?;

Callers 1

parse_exprFunction · 0.85

Calls 3

spanMethod · 0.80
parse_oneMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected