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

Method parse_comma_sep

src/expr-parser/src/parser.rs:1556–1561  ·  view source on GitHub ↗
(&self, p: fn(ParseStream) -> syn::Result<T>)

Source from the content-addressed store, hash-verified

1554 }
1555
1556 fn parse_comma_sep<T>(&self, p: fn(ParseStream) -> syn::Result<T>) -> syn::Result<Vec<T>> {
1557 Ok(self
1558 .parse_terminated(p, syn::Token![,])?
1559 .into_iter()
1560 .collect::<Vec<_>>())
1561 }
1562 }
1563
1564 // Helper trait for types that can be eaten.

Callers 13

parse_projectFunction · 0.80
parse_distinctFunction · 0.80
parse_reduceFunction · 0.80
parse_top_kFunction · 0.80
parse_arrange_byFunction · 0.80
parse_exprsFunction · 0.80
parse_literal_arrayFunction · 0.80
parse_literal_listFunction · 0.80
parse_arrayFunction · 0.80
parse_listFunction · 0.80
parse_applyFunction · 0.80
parse_typesFunction · 0.80

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected