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

Method parse_one

src/expr-parser/src/parser.rs:1602–1611  ·  view source on GitHub ↗
(
            &self,
            ctx: C,
            function: fn(C, ParseStream) -> syn::Result<T>,
        )

Source from the content-addressed store, hash-verified

1600 }
1601
1602 pub fn parse_one<C, T>(
1603 &self,
1604 ctx: C,
1605 function: fn(C, ParseStream) -> syn::Result<T>,
1606 ) -> syn::Result<T> {
1607 match self.maybe_child() {
1608 Ok(_) => function(ctx, self.stream),
1609 Err(e) => Err(e),
1610 }
1611 }
1612
1613 pub fn parse_many<C: Copy, T>(
1614 &self,

Callers 13

parse_let_or_letrec_oldFunction · 0.80
parse_let_or_letrecFunction · 0.80
parse_cteFunction · 0.80
parse_projectFunction · 0.80
parse_mapFunction · 0.80
parse_flat_mapFunction · 0.80
parse_filterFunction · 0.80
parse_distinctFunction · 0.80
parse_reduceFunction · 0.80
parse_top_kFunction · 0.80
parse_negateFunction · 0.80
parse_thresholdFunction · 0.80

Calls 1

maybe_childMethod · 0.80

Tested by

no test coverage detected