code: def visit(self, node):
          
          method = 'visit_' + type(node).__name__
          return getattr(self, method, self.fallback)(node)
docs: Visit the right method of the child class according to the node.