MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / mark_initialized

Method mark_initialized

aiscript-vm/src/compiler/codegen.rs:1805–1810  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1803 }
1804
1805 fn mark_initialized(&mut self) {
1806 if self.scope_depth == 0 {
1807 return;
1808 }
1809 self.locals[self.local_count - 1].depth = self.scope_depth;
1810 }
1811
1812 fn error(&mut self, message: &str) {
1813 if self.error_reporter.had_error {

Callers 6

generate_stmtMethod · 0.80
generate_matchMethod · 0.80
generate_lambdaMethod · 0.80
generate_classMethod · 0.80
generate_functionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected