code: def clean(self, argslist):
          
          result = []
          for arg in argslist:
              if type(arg) == type([]):
                  if len(result) > 0:
                      result[-1] = result[-1] + "(*{})".format(len(self.clean(arg)))
                  elif "/" not in arg[0]:
                      msg.warn("argument to function call unrecognized. {}".format(arg))
              else:
                  cleaner = re.sub("[:,]+", "", arg).strip()
                  if len(cleaner) > 0:
                      result.append(cleaner)
          
          return result
docs: Cleans the argslist.