def visit(self, node):
        """ The main visitor dispatch method.

        Unhandled nodes will raise an error.

        """
        name = 'visit_%s' % node.__class__.__name__
        try:
            method = getattr(self, name)
        except AttributeError:
            method = self.default_visit
        method(node)
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/enaml_compiler.py/_NodeVisitor.visit/original