nodes: 0, module; 1, function_definition; 2, function_name:model2subs2seqs; 3, parameters; 4, type; 5, block; 6, identifier:self; 7, generic_type; 8, expression_statement; 9, expression_statement; 10, for_statement; 11, return_statement; 12, identifier:Dict; 13, type_parameter; 14, comment:"""A nested |collections.defaultdict| containing the model specific
          information provided by the XML `sequences` element.
  
          >>> from hydpy.auxs.xmltools import XMLInterface
          >>> from hydpy import data
          >>> interface = XMLInterface('single_run.xml', data.get_path('LahnH'))
          >>> series_io = interface.series_io
          >>> model2subs2seqs = series_io.writers[2].model2subs2seqs
          >>> for model, subs2seqs in sorted(model2subs2seqs.items()):
          ...     for subs, seq in sorted(subs2seqs.items()):
          ...         print(model, subs, seq)
          hland_v1 fluxes ['pc', 'tf']
          hland_v1 states ['sm']
          hstream_v1 states ['qjoints']
          """; 15, assignment; 16, identifier:model; 17, call; 18, block; 19, identifier:model2subs2seqs; 20, type; 21, type; 22, identifier:model2subs2seqs; 23, call; 24, attribute; 25, argument_list; 26, expression_statement; 27, if_statement; 28, for_statement; 29, identifier:str; 30, generic_type; 31, attribute; 32, argument_list; 33, identifier:self; 34, identifier:find; 35, string; 36, assignment; 37, comparison_operator:model_name == 'node'; 38, block; 39, identifier:group; 40, identifier:model; 41, block; 42, identifier:Dict; 43, type_parameter; 44, identifier:collections; 45, identifier:defaultdict; 46, lambda; 47, string_content:sequences; 48, identifier:model_name; 49, call; 50, identifier:model_name; 51, string; 52, continue_statement; 53, expression_statement; 54, for_statement; 55, type; 56, type; 57, call; 58, identifier:strip; 59, argument_list; 60, string_content:node; 61, assignment; 62, identifier:sequence; 63, identifier:group; 64, block; 65, identifier:str; 66, generic_type; 67, attribute; 68, argument_list; 69, attribute; 70, identifier:group_name; 71, call; 72, expression_statement; 73, expression_statement; 74, identifier:List; 75, type_parameter; 76, identifier:collections; 77, identifier:defaultdict; 78, identifier:list; 79, identifier:model; 80, identifier:tag; 81, identifier:strip; 82, argument_list; 83, assignment; 84, call; 85, type; 86, attribute; 87, identifier:seq_name; 88, call; 89, attribute; 90, argument_list; 91, identifier:str; 92, identifier:group; 93, identifier:tag; 94, identifier:strip; 95, argument_list; 96, subscript; 97, identifier:append; 98, identifier:seq_name; 99, attribute; 100, subscript; 101, identifier:group_name; 102, identifier:sequence; 103, identifier:tag; 104, identifier:model2subs2seqs; 105, identifier:model_name
code: def model2subs2seqs(self) -> Dict[str, Dict[str, List[str]]]:
          """A nested |collections.defaultdict| containing the model specific
          information provided by the XML `sequences` element.
  
          >>> from hydpy.auxs.xmltools import XMLInterface
          >>> from hydpy import data
          >>> interface = XMLInterface('single_run.xml', data.get_path('LahnH'))
          >>> series_io = interface.series_io
          >>> model2subs2seqs = series_io.writers[2].model2subs2seqs
          >>> for model, subs2seqs in sorted(model2subs2seqs.items()):
          ...     for subs, seq in sorted(subs2seqs.items()):
          ...         print(model, subs, seq)
          hland_v1 fluxes ['pc', 'tf']
          hland_v1 states ['sm']
          hstream_v1 states ['qjoints']
          """
          model2subs2seqs = collections.defaultdict(
              lambda: collections.defaultdict(list))
          for model in self.find('sequences'):
              model_name = strip(model.tag)
              if model_name == 'node':
                  continue
              for group in model:
                  group_name = strip(group.tag)
                  for sequence in group:
                      seq_name = strip(sequence.tag)
                      model2subs2seqs[model_name][group_name].append(seq_name)
          return model2subs2seqs