parameters: (text, word, all_flag)
return_statement: return flist
docstring: Worker for frame filter dictionary name completion.
  
      Arguments:
          text: The full text of the command line.
          word: The most recent word of the command line.
          all_flag: Whether to include the word "all" in completion.
  
      Returns:
          A list of suggested frame filter dictionary name completions
          from text/word analysis.  This list can be empty when there
          are no suggestions for completion.
docstring_summary: Worker for frame filter dictionary name completion.
docstring_tokens: Worker for frame filter dictionary name completion .
function: def _complete_frame_filter_list(text, word, all_flag):
      """Worker for frame filter dictionary name completion.
  
      Arguments:
          text: The full text of the command line.
          word: The most recent word of the command line.
          all_flag: Whether to include the word "all" in completion.
  
      Returns:
          A list of suggested frame filter dictionary name completions
          from text/word analysis.  This list can be empty when there
          are no suggestions for completion.
          """
      if all_flag == True:
          filter_locations = ["all", "global", "progspace"]
      else:
          filter_locations = ["global", "progspace"]
      for objfile in gdb.objfiles():
          filter_locations.append(objfile.filename)
  
      # If the user just asked for completions with no completion
      # hints, just return all the frame filter dictionaries we know
      # about.
      if (text == ""):
          return filter_locations
  
      # Otherwise filter on what we know.
      flist = filter(lambda x,y=text:x.startswith(y), filter_locations)
  
      # If we only have one completion, complete it and return it.
      if len(flist) == 1:
          flist[0] = flist[0][len(text)-len(word):]
  
      # Otherwise, return an empty list, or a list of frame filter
      # dictionaries that the previous filter operation returned.
      return flist
function_tokens: def _complete_frame_filter_list ( text , word , all_flag ) : if all_flag == True : filter_locations = [ "all" , "global" , "progspace" ] else : filter_locations = [ "global" , "progspace" ] for objfile in gdb . objfiles ( ) : filter_locations . append ( objfile . filename ) # If the user just asked for completions with no completion # hints, just return all the frame filter dictionaries we know # about. if ( text == "" ) : return filter_locations # Otherwise filter on what we know. flist = filter ( lambda x , y = text : x . startswith ( y ) , filter_locations ) # If we only have one completion, complete it and return it. if len ( flist ) == 1 : flist [ 0 ] = flist [ 0 ] [ len ( text ) - len ( word ) : ] # Otherwise, return an empty list, or a list of frame filter # dictionaries that the previous filter operation returned. return flist