Lines Matching defs:Node
6 from .nodes import Node
12 def __call__(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any:
28 def get_visitor(self, node: Node) -> "t.Optional[VisitCallable]":
35 def visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any:
44 def generic_visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any:
61 def generic_visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> Node:
66 if isinstance(value, Node):
70 elif not isinstance(value, Node):
75 elif isinstance(old_value, Node):
83 def visit_list(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.List[Node]: