MCPcopy Create free account
hub / github.com/arcjet/gravity / push_block

Method push_block

cmd/gravity/src/codegen/func.rs:1495–1498  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1493 }
1494
1495 fn push_block(&mut self) {
1496 let prev = mem::replace(&mut self.body, Tokens::new());
1497 self.block_storage.push(prev);
1498 }
1499
1500 fn finish_block(&mut self, operands: &mut Vec<Self::Operand>) {
1501 let to_restore = self.block_storage.pop().expect("should have body");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected