Visitor for `WhileStatement` AST node.

def visit_WhileStatement(self, node):
        """Visitor for `WhileStatement` AST node."""
        while self.visit(node.condition):
            result = self.visit(node.compound)
            if result is not None:
                return result