Get the signle child. You must make sure this kind of stmt only has a single child.
(&self)
| 68 | |
| 69 | /// Get the signle child. You must make sure this kind of stmt only has a single child. |
| 70 | fn get_child(&self) -> &Self { |
| 71 | assert_eq!(self.inner.len(), 1); |
| 72 | self.inner.first().unwrap() |
| 73 | } |
| 74 | |
| 75 | fn get_child_mut(&mut self) -> &mut Self { |
| 76 | self.inner.get_mut(0).unwrap() |
no outgoing calls
no test coverage detected