def getphraselist(self):
        plist = []

        while self.pos < len(self.field):
            if self.field[self.pos] in self.FWS:
                self.pos += 1
            elif self.field[self.pos] == '"':
                plist.append(self.getquote())
            elif self.field[self.pos] == '(':
                self.commentlist.append(self.getcomment())
            elif self.field[self.pos] in self.phraseends:
                break
            else:
                plist.append(self.getatom(self.phraseends))

        return plist
Parses a string of the form 'some-title|opt1|opt2=arg2|opt3...'
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/email/_parseaddr.py/AddrlistClass.getphraselist--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/parser.py/build_hook_params