Gets a callable by its name `key`.
(&self, key: &SymbolKey)
| 216 | |
| 217 | /// Gets a callable by its name `key`. |
| 218 | pub(crate) fn get_callable(&self, key: &SymbolKey) -> Option<Rc<CallableMetadata>> { |
| 219 | self.user_callables.get(key).or(self.upcalls.get(key)).cloned() |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | #[derive(Clone, Default)] |