Lines Matching defs:visitor
17 from jinja2.visitor import NodeVisitor
112 visitor = UndeclaredNameVisitor(names)
115 visitor.visit(node)
118 return visitor.undeclared
197 """A visitor that collects filter and test calls."""
216 """A visitor that checks if a name is accessed without being
217 declared. This is different from the frame visitor as it will
464 visitor = DependencyFinderVisitor()
466 visitor.visit(node)
469 for name in getattr(visitor, dependency):
1473 def visitor(self, node, frame):
1486 return visitor
1490 def visitor(self, node, frame):
1499 return visitor