Call the appropriate `Visitor` methods given an inductive step.
(
&self,
ast: &ClassInduct<'a>,
visitor: &mut V,
)
| 386 | |
| 387 | /// Call the appropriate `Visitor` methods given an inductive step. |
| 388 | fn visit_class_post<V: Visitor>( |
| 389 | &self, |
| 390 | ast: &ClassInduct<'a>, |
| 391 | visitor: &mut V, |
| 392 | ) -> Result<(), V::Err> { |
| 393 | match *ast { |
| 394 | ClassInduct::Item(item) => { |
| 395 | visitor.visit_class_set_item_post(item)?; |
| 396 | } |
| 397 | ClassInduct::BinaryOp(op) => { |
| 398 | visitor.visit_class_set_binary_op_post(op)?; |
| 399 | } |
| 400 | } |
| 401 | Ok(()) |
| 402 | } |
| 403 | |
| 404 | /// Build a stack frame for the given class node if one is needed (which |
| 405 | /// occurs if and only if there are child nodes). Otherwise, return None. |
no test coverage detected