class documentation
class VisitorExtensionList(Generic[T]): (source)
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 |
Attach a parent visitor to the visitor extensions. |
| Property | after |
Return the visitors that run after the visit. |
| Property | before |
Return the visitors that run before the visit. |
| Instance Variable | _visitors |
Undocumented |
Initialize the extensions container.
- Parameters:
- *extensions: The extensions to add.
| Parameters | |
*extensions:VisitorExtension[ | Undocumented |
Add extensions to this container.
- Parameters:
- *extensions: The extensions to add.
| Parameters | |
*extensions:Union[ | Undocumented |
Attach a parent visitor to the visitor extensions.
- Parameters:
- parent_visitor: The parent visitor, leading the visit.
| Parameters | |
parentCustomizableVisitor[ | Undocumented |