Make a BlockCall, bundling together the block and its arguments.
(
&mut self,
block: Block,
args: impl IntoIterator<Item = &'a BlockArg>,
)
| 241 | |
| 242 | /// Make a BlockCall, bundling together the block and its arguments. |
| 243 | pub fn block_call<'a>( |
| 244 | &mut self, |
| 245 | block: Block, |
| 246 | args: impl IntoIterator<Item = &'a BlockArg>, |
| 247 | ) -> BlockCall { |
| 248 | BlockCall::new(block, args.into_iter().copied(), &mut self.value_lists) |
| 249 | } |
| 250 | |
| 251 | /// Get the total number of values. |
| 252 | pub fn num_values(&self) -> usize { |