class_docstr: Structured parse results, to provide multiple means of access to
  the parsed data:
  
  - as a list (``len(results)``)
  - by list index (``results[0], results[1]``, etc.)
  - by attribute (``results.<results_name>`` - see :class:`ParserElement.set_results_name`)
  
  Example::
  
      integer = Word(nums)
      date_str = (integer.set_results_name("year") + '/'
                  + integer.set_results_name("month") + '/'
                  + integer.set_results_name("day"))
      # equivalent form:
      # date_str = (integer("year") + '/'
      #             + integer("month") + '/'
      #             + integer("day"))
  
      # parse_string returns a ParseResults object
      result = date_str.parse_string("1999/12/31")
  
      def test(s, fn=repr):
          print(f"{s} -> {fn(eval(s))}")
      test("list(result)")
      test("result[0]")
      test("result['month']")
      test("result.day")
      test("'month' in result")
      test("'minutes' in result")
      test("result.dump()", str)
  
  prints::
  
      list(result) -> ['1999', '/', '12', '/', '31']
      result[0] -> '1999'
      result['month'] -> '12'
      result.day -> '31'
      'month' in result -> True
      'minutes' in result -> False
      result.dump() -> ['1999', '/', '12', '/', '31']
      - day: '31'
      - month: '12'
      - year: '1999'
class_docstr_tok: ["Structured","parse","results",",","to","provide","multiple","means","of","access","to","the","parsed","data",":","-","as","a","list","(","``","len","(","results",")","``",")","-","by","list","index","(","``","results","[","0","]",",","results","[","1","]","``",",","etc",".",")","-","by","attribute","(","``","results.","<","results_name",">","``","-","see",":","class",":","`","ParserElement.set_results_name","`",")","Example",":",":","integer","=","Word","(","nums",")","date_str","=","(","integer.set_results_name","(","``","year","''",")","+","'\/'","+","integer.set_results_name","(","``","month","''",")","+","'\/'","+","integer.set_results_name","(","``","day","''",")",")","#","equivalent","form",":","#","date_str","=","(","integer","(","``","year","''",")","+","'\/'","#","+","integer","(","``","month","''",")","+","'\/'","#","+","integer","(","``","day","''",")",")","#","parse_string","returns","a","ParseResults","object","result","=","date_str.parse_string","(","``","1999\/12\/31","''",")","def","test","(","s",",","fn=repr",")",":","print","(","f","''","{","s","}","-",">","{","fn","(","eval","(","s",")",")","}","''",")","test","(","``","list","(","result",")","''",")","test","(","``","result","[","0","]","''",")","test","(","``","result","[","'month","'","]","''",")","test","(","``","result.day","''",")","test","(","``","'month","'","in","result","''",")","test","(","``","'minutes","'","in","result","''",")","test","(","``","result.dump","(",")","''",",","str",")","prints",":",":","list","(","result",")","-",">","[","'1999","'",",","'\/","'",",","'12","'",",","'\/","'",",","'31","'","]","result","[","0","]","-",">","'1999'","result","[","'month","'","]","-",">","'12'","result.day","-",">","'31'","'month","'","in","result","-",">","True","'minutes","'","in","result","-",">","False","result.dump","(",")","-",">","[","'1999","'",",","'\/","'",",","'12","'",",","'\/","'",",","'31","'","]","-","day",":","'31'","-","month",":","'12'","-","year",":","'1999","'"]
docstr: Add sequence of elements to end of ``ParseResults`` list of elements.
  
  Example::
  
      patt = Word(alphas)[1, ...]
  
      # use a parse action to append the reverse of the matched strings, to make a palindrome
      def make_palindrome(tokens):
          tokens.extend(reversed([t[::-1] for t in tokens]))
          return ''.join(tokens)
      patt.add_parse_action(make_palindrome)
      print(patt.parse_string("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl'
docstr_tok: ["Add","sequence","of","elements","to","end","of","``","ParseResults","``","list","of","elements",".","Example",":",":","patt","=","Word","(","alphas",")","[","1",",","...","]","#","use","a","parse","action","to","append","the","reverse","of","the","matched","strings",",","to","make","a","palindrome","def","make_palindrome","(","tokens",")",":","tokens.extend","(","reversed","(","[","t","[",":",":-1","]","for","t","in","tokens","]",")",")","return","``",".join","(","tokens",")","patt.add_parse_action","(","make_palindrome",")","print","(","patt.parse_string","(","``","lskdj","sdlkjf","lksd","''",")",")","#","-",">","'lskdjsdlkjflksddsklfjkldsjdksl","'"]
code: def extend(self, itemseq):
      """
      Add sequence of elements to end of ``ParseResults`` list of elements.
  
      Example::
  
          patt = Word(alphas)[1, ...]
  
          # use a parse action to append the reverse of the matched strings, to make a palindrome
          def make_palindrome(tokens):
              tokens.extend(reversed([t[::-1] for t in tokens]))
              return ''.join(tokens)
          patt.add_parse_action(make_palindrome)
          print(patt.parse_string("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl'
      """
      if isinstance(itemseq, ParseResults):
          self.__iadd__(itemseq)
      else:
          self._toklist.extend(itemseq)
  
imports: from collections.abc import MutableMapping, Mapping, MutableSequence, Iterator, Sequence, Container
  import pprint
  from typing import Tuple, Any, Dict, Set, List
label_desc: Use image node_id 19 for calling the ParseResults obj's underlying member method code with example usage: obj.extend(itemseq) without return types