<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_IfStatement(self, node):
 """Visitor for `IfStatement` AST node."""

        if_conditon, if_body = node.if_compound
        self.visit(if_conditon)
        self.visit(if_body)

        for else_if_compound in node.else_if_compounds:
            else_if_condition, else_if_body = else_if_compound
            self.visit(else_if_condition)
            self.visit(else_if_body)

        if node.else_compound is not None:
            _, else_body = node.else_compound
            self.visit(else_body)