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

Method code_size

aiscript-vm/src/chunk.rs:189–191  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

187 }
188
189 pub fn code_size(&self) -> usize {
190 self.code.len()
191 }
192
193 pub fn write_code(&mut self, code: OpCode, line: u32) {
194 self.write_byte(code, line);

Callers 4

generate_stmtMethod · 0.80
emit_jumpMethod · 0.80
patch_jumpMethod · 0.80
emit_loopMethod · 0.80

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected