Get the local offsets and types.
(&self)
| 565 | |
| 566 | /// Get the local offsets and types. |
| 567 | pub fn locals(&self) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> { |
| 568 | (0..self.num_locals()).map(|i| self.local(i).unwrap()) |
| 569 | } |
| 570 | |
| 571 | /// Get the type and offset for a given local. |
| 572 | pub fn local(&self, index: usize) -> Option<(FrameStateSlotOffset, FrameValType)> { |
no test coverage detected