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

Method run

std/src/lib.rs:139–142  ·  view source on GitHub ↗
(&mut self, program: String)

Source from the content-addressed store, hash-verified

137 }
138
139 fn run(&mut self, program: String) -> Result<()> {
140 self.clear();
141 self.compile(&mut program.as_bytes())
142 }
143
144 /// Drops any deferred actions from the most recent async upcall.
145 fn clear_actions(&mut self) {

Callers 1

drain_actionsMethod · 0.45

Calls 3

as_bytesMethod · 0.80
clearMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected