Creates a new local symbol `key` with `proto`.
(&mut self, key: SymbolKey, proto: SymbolPrototype)
| 374 | |
| 375 | /// Creates a new local symbol `key` with `proto`. |
| 376 | pub(crate) fn put_local(&mut self, key: SymbolKey, proto: SymbolPrototype) -> Result<Register> { |
| 377 | put_var(key, proto, &mut self.locals, Register::local, RegisterScope::Local) |
| 378 | } |
| 379 | |
| 380 | /// Returns true if a local variable `key` is already defined. |
| 381 | pub(crate) fn contains_local(&self, key: &SymbolKey) -> bool { |