Call the appropriate `Visitor` methods given an inductive step.
(
&self,
ast: &ClassInduct<'a>,
visitor: &mut V,
)
| 369 | |
| 370 | /// Call the appropriate `Visitor` methods given an inductive step. |
| 371 | fn visit_class_pre<V: Visitor>( |
| 372 | &self, |
| 373 | ast: &ClassInduct<'a>, |
| 374 | visitor: &mut V, |
| 375 | ) -> Result<(), V::Err> { |
| 376 | match *ast { |
| 377 | ClassInduct::Item(item) => { |
| 378 | visitor.visit_class_set_item_pre(item)?; |
| 379 | } |
| 380 | ClassInduct::BinaryOp(op) => { |
| 381 | visitor.visit_class_set_binary_op_pre(op)?; |
| 382 | } |
| 383 | } |
| 384 | Ok(()) |
| 385 | } |
| 386 | |
| 387 | /// Call the appropriate `Visitor` methods given an inductive step. |
| 388 | fn visit_class_post<V: Visitor>( |
no test coverage detected