Return the [`NodeId`] of the current [`Stmt`], if any.
(&self)
| 1517 | |
| 1518 | /// Return the [`NodeId`] of the current [`Stmt`], if any. |
| 1519 | pub fn current_statement_id(&self) -> Option<NodeId> { |
| 1520 | self.current_statement_ids().next() |
| 1521 | } |
| 1522 | |
| 1523 | /// Return the [`NodeId`] of the current [`Stmt`] parent, if any. |
| 1524 | pub fn current_statement_parent_id(&self) -> Option<NodeId> { |
no test coverage detected