Replace the block for this BlockCall.
(&mut self, block: Block, pool: &mut ValueListPool)
| 91 | |
| 92 | /// Replace the block for this BlockCall. |
| 93 | pub fn set_block(&mut self, block: Block, pool: &mut ValueListPool) { |
| 94 | *self.values.get_mut(0, pool).unwrap() = Self::block_to_value(block); |
| 95 | } |
| 96 | |
| 97 | /// Append an argument to the block args. |
| 98 | pub fn append_argument(&mut self, arg: impl Into<BlockArg>, pool: &mut ValueListPool) { |
no test coverage detected