Returns true if a local variable `key` is already defined.
(&self, key: &SymbolKey)
| 379 | |
| 380 | /// Returns true if a local variable `key` is already defined. |
| 381 | pub(crate) fn contains_local(&self, key: &SymbolKey) -> bool { |
| 382 | self.locals.get(key).is_some() |
| 383 | } |
| 384 | |
| 385 | /// Returns true if a global variable `key` is already defined. |
| 386 | pub(crate) fn contains_global(&self, key: &SymbolKey) -> bool { |