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

Method save

core/src/compiler/syms.rs:270–276  ·  view source on GitHub ↗

Preserves the state of this local symbol table, detached from the global symbol table it belongs to.

(self)

Source from the content-addressed store, hash-verified

268 /// Preserves the state of this local symbol table, detached from the global symbol table
269 /// it belongs to.
270 pub(crate) fn save(self) -> LocalSymtableSnapshot {
271 LocalSymtableSnapshot {
272 locals: self.locals,
273 count_temps: self.count_temps,
274 active_temps: self.active_temps,
275 }
276 }
277
278 /// Reattaches a previous local symbol table content to a global symbol table so that it
279 /// can be used again for compilation.

Callers 1

compileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected