Returns true if a global variable `key` is already defined.
(&self, key: &SymbolKey)
| 186 | |
| 187 | /// Returns true if a global variable `key` is already defined. |
| 188 | pub(crate) fn contains_global(&self, key: &SymbolKey) -> bool { |
| 189 | self.globals.get(key).is_some() |
| 190 | } |
| 191 | |
| 192 | /// Iterates over all global variables, yielding `(key, prototype, register_index)` tuples. |
| 193 | pub(crate) fn iter_globals( |