MCPcopy Create free account
hub / github.com/davidblewett/rure-python / visit_class_post

Method visit_class_post

regex/regex-syntax/src/ast/visitor.rs:388–402  ·  view source on GitHub ↗

Call the appropriate `Visitor` methods given an inductive step.

(
        &self,
        ast: &ClassInduct<'a>,
        visitor: &mut V,
    )

Source from the content-addressed store, hash-verified

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.

Callers 1

visit_classMethod · 0.80

Tested by

no test coverage detected