class_docstr: Walks the abstract syntax tree and call visitor functions for every
  node found.  The visitor functions may return values which will be
  forwarded by the `visit` method.
  
  Per default the visitor functions for the nodes are ``'visit_'`` +
  class name of the node.  So a `TryFinally` node visit function would
  be `visit_TryFinally`.  This behavior can be changed by overriding
  the `get_visitor` function.  If no visitor function exists for a node
  (return value `None`) the `generic_visit` visitor is used instead.
docstr: 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.
code: def get_visitor(self, 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.
      """
      method = "visit_" + node.__class__.__name__
      return getattr(self, method, None)
  
file_path: catboost/contrib/python/Jinja2/py2/jinja2/visitor.py
imports: from .nodes import Node
label_desc: Use image node_id 1 for calling the NodeVisitor obj's underlying member method code with example usage: obj.get_visitor(node) and returns: getattr