class documentation

This class helps iterating on visitor extensions that should run at different times.

Method __init__ Initialize the extensions container.
Method add Add extensions to this container.
Method attach_visitor Attach a parent visitor to the visitor extensions.
Property after_visit Return the visitors that run after the visit.
Property before_visit Return the visitors that run before the visit.
Property inner_visit Undocumented
Property outter_visit Undocumented
Instance Variable _visitors Undocumented
def __init__(self, *extensions: type[VisitorExt[T]]): (source)

Initialize the extensions container.

Parameters
*extensions:type[VisitorExt[T]]The extensions to add.
def add(self, *extensions: type[VisitorExt[T]]): (source)

Add extensions to this container.

Parameters
*extensions:type[VisitorExt[T]]The extensions to add.
def attach_visitor(self, parent_visitor: Visitor[T]): (source)

Attach a parent visitor to the visitor extensions.

Parameters
parent_visitor:Visitor[T]The parent visitor, leading the visit.

Return the visitors that run after the visit.

Return the visitors that run before the visit.

Undocumented

Undocumented

Undocumented