MCPcopy Index your code
hub / github.com/endbasic/endbasic / enter_scope

Method enter_scope

core/src/compiler/syms.rs:169–171  ·  view source on GitHub ↗

Enters a new local scope.

(&mut self)

Source from the content-addressed store, hash-verified

167
168 /// Enters a new local scope.
169 pub(crate) fn enter_scope(&mut self) -> LocalSymtable<'_> {
170 LocalSymtable::new(self)
171 }
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)> {

Calls

no outgoing calls