MCPcopy Create free account
hub / github.com/PRQL/prql / into_exprs

Method into_exprs

prqlc/prqlc/src/semantic/module.rs:342–347  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

340 }
341
342 pub(crate) fn into_exprs(self) -> HashMap<String, Expr> {
343 self.names
344 .into_iter()
345 .map(|(k, v)| (k, *v.kind.into_expr().unwrap()))
346 .collect()
347 }
348
349 pub(crate) fn from_exprs(exprs: HashMap<String, Expr>) -> Module {
350 Module {

Callers 1

materialize_functionMethod · 0.80

Calls 4

mapMethod · 0.80
into_iterMethod · 0.80
into_exprMethod · 0.80
collectMethod · 0.45

Tested by

no test coverage detected