MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / invoke_instruction

Method invoke_instruction

aiscript-vm/src/chunk.rs:402–408  ·  view source on GitHub ↗
(&self, name: &str, constant: u8, arity: u8)

Source from the content-addressed store, hash-verified

400 }
401
402 fn invoke_instruction(&self, name: &str, constant: u8, arity: u8) {
403 let name = format!("OP_{name}");
404 println!(
405 "{:-16} ({} args) {} '{}'",
406 name, arity, constant, self.constans[constant as usize]
407 );
408 }
409}
410
411fn simple_instruction(name: &str) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected