jinja2.environment.CodeGenerator.get_visitor

CodeGenerator.get_visitor(node)

Return the visitor function for this node or None if no visitor exists for this node. In that case the generic visit function is used instead.