Gets a global symbol by its `vref`, returning its register and prototype.
(&self, vref: &VarRef)
| 172 | |
| 173 | /// Gets a global symbol by its `vref`, returning its register and prototype. |
| 174 | pub(crate) fn get_global(&self, vref: &VarRef) -> Result<(Register, SymbolPrototype)> { |
| 175 | get_var(vref, &self.globals, Register::global, RegisterScope::Global) |
| 176 | } |
| 177 | |
| 178 | /// Creates a new global symbol `key` with `proto`. |
| 179 | pub(crate) fn put_global( |