<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def visit(self, node):
 """Visit the right method of the child class according to the node."""

        method = 'visit_' + type(node).__name__
        return getattr(self, method, self.fallback)(node)