(&mut self, ident: &str)
| 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 |
no test coverage detected