code: def stmt_star_handler(
          self,
          stmts,
          prev_node_to_avoid=None
      ):
          
          break_nodes = list()
          cfg_statements = list()
  
          self.prev_nodes_to_avoid.append(prev_node_to_avoid)
          self.last_control_flow_nodes.append(None)
  
          first_node = None
          node_not_to_step_past = self.nodes[-1]
  
          for stmt in stmts:
              node = self.visit(stmt)
  
              if isinstance(node, ControlFlowNode) and not isinstance(node.test, TryNode):
                  self.last_control_flow_nodes.append(node.test)
              else:
                  self.last_control_flow_nodes.append(None)
  
              if isinstance(node, ControlFlowNode):
                  break_nodes.extend(node.break_statements)
              elif isinstance(node, BreakNode):
                  break_nodes.append(node)
  
              if not isinstance(node, IgnoredNode):
                  cfg_statements.append(node)
                  if not first_node:
                      if isinstance(node, ControlFlowNode):
                          first_node = node.test
                      else:
                          first_node = get_first_node(
                              node,
                              node_not_to_step_past
                          )
  
          self.prev_nodes_to_avoid.pop()
          self.last_control_flow_nodes.pop()
  
          connect_nodes(cfg_statements)
  
          if cfg_statements:
              if first_node:
                  first_statement = first_node
              else:
                  first_statement = get_first_statement(cfg_statements[0])
  
              last_statements = get_last_statements(cfg_statements)
  
              return ConnectStatements(
                  first_statement=first_statement,
                  last_statements=last_statements,
                  break_statements=break_nodes
              )
          else:  # When body of module only contains ignored nodes
              return IgnoredNode()
docs: Handle stmt* expressions in an AST node.
  
          Links all statements together in a list of statements, accounting for statements with multiple last nodes.