def seekSymbol(self, symbol):
        token = self.next(False)
        skipped = []
        while (token and (not token.isSymbol(symbol))):
            skipped.append(token)
            if (token.isSymbol('(')):
                skipped += self.seekSymbol(')')
            elif (token.isSymbol('{')):
                skipped += self.seekSymbol('}')
            elif (token.isSymbol('[')):
                skipped += self.seekSymbol(']')
            token = self.next(False)
        if (token):
            skipped.append(token)
        return skipped
Utility function used to create report data in same syntax as the
dataset/ETHPy150Open tabatkins/bikeshed/bikeshed/widlparser/widlparser/tokenizer.py/Tokenizer.seekSymbol--crossover with--dataset/ETHPy150Open edgewall/trac/trac/db_default.py/__mkreports