Append an argument to the block args.
(&mut self, arg: impl Into<BlockArg>, pool: &mut ValueListPool)
| 96 | |
| 97 | /// Append an argument to the block args. |
| 98 | pub fn append_argument(&mut self, arg: impl Into<BlockArg>, pool: &mut ValueListPool) { |
| 99 | self.values.push(arg.into().encode_as_value(), pool); |
| 100 | } |
| 101 | |
| 102 | /// Return the length of the argument list. |
| 103 | pub fn len(&self, pool: &ValueListPool) -> usize { |
no test coverage detected