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

Method stack_pop

prqlc/prqlc/src/semantic/module.rs:336–340  ·  view source on GitHub ↗
(&mut self, ident: &str)

Source from the content-addressed store, hash-verified

334 }
335
336 pub fn stack_pop(&mut self, ident: &str) -> Option<Module> {
337 (self.names.get_mut(ident))
338 .and_then(|e| e.kind.as_layered_modules_mut())
339 .and_then(|stack| stack.pop())
340 }
341
342 pub(crate) fn into_exprs(self) -> HashMap<String, Expr> {
343 self.names

Callers 3

fold_functionMethod · 0.80
materialize_functionMethod · 0.80

Calls 2

get_mutMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected