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

Method construct_wildcard_include

prqlc/prqlc/src/semantic/resolver/expr.rs:264–272  ·  view source on GitHub ↗
(&mut self, module_fq_self: &pl::Ident)

Source from the content-addressed store, hash-verified

262 }
263
264 pub fn construct_wildcard_include(&mut self, module_fq_self: &pl::Ident) -> Vec<pl::Expr> {
265 let module_fq = module_fq_self.clone().pop().unwrap();
266
267 let decl = self.root_mod.module.get(&module_fq).unwrap();
268 let module = decl.kind.as_module().unwrap();
269
270 let prefix = module_fq.iter().collect_vec();
271 Self::construct_tuple_from_module(&mut self.id, &prefix, module)
272 }
273
274 pub fn construct_tuple_from_module(
275 id: &mut IdGenerator<usize>,

Callers 2

fold_exprMethod · 0.80

Calls 3

popMethod · 0.80
iterMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected