Skip to content

protocols

Classes:

BaseVisitorProtocol

Bases: Protocol

Methods:

visit

visit(_node: AST) -> None
Source code in src/irx/base/visitors/protocols.py
17
18
19
20
21
22
23
24
def visit(self, _node: astx.AST) -> None:
    """
    title: Visit AST nodes.
    parameters:
      _node:
        type: astx.AST
    """
    ...

visit_child

visit_child(_node: AST) -> None
Source code in src/irx/base/visitors/protocols.py
26
27
28
29
30
31
32
33
def visit_child(self, _node: astx.AST) -> None:
    """
    title: Visit one child AST node.
    parameters:
      _node:
        type: astx.AST
    """
    ...