parameters: (self, nodes, results=None)
return_statement: return False
docstring: Does this pattern exactly match a sequence of nodes?
docstring_summary: Does this pattern exactly match a sequence of nodes?
docstring_tokens: Does this pattern exactly match a sequence of nodes?
function: def match_seq(self, nodes, results=None):
          """Does this pattern exactly match a sequence of nodes?"""
          for c, r in self.generate_matches(nodes):
              if c == len(nodes):
                  if results is not None:
                      results.update(r)
                      if self.name:
                          results[self.name] = list(nodes)
                  return True
          return False
function_tokens: def match_seq ( self , nodes , results = None ) : for c , r in self . generate_matches ( nodes ) : if c == len ( nodes ) : if results is not None : results . update ( r ) if self . name : results [ self . name ] = list ( nodes ) return True return False