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

Function parse_threshold

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

Source from the content-addressed store, hash-verified

594 }
595
596 fn parse_threshold(ctx: CtxRef, input: ParseStream) -> Result {
597 let threshold = input.parse::<kw::Threshold>()?;
598
599 let parse_input = ParseChildren::new(input, threshold.span().start());
600 let input = Box::new(parse_input.parse_one(ctx, parse_expr)?);
601
602 Ok(MirRelationExpr::Threshold { input })
603 }
604
605 fn parse_union(ctx: CtxRef, input: ParseStream) -> Result {
606 let union = input.parse::<kw::Union>()?;

Callers 1

parse_exprFunction · 0.85

Calls 3

spanMethod · 0.80
parse_oneMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected