def consumeUntil(self, input, tokenTypes):
        
        if not isinstance(tokenTypes, (set, frozenset)):
            tokenTypes = frozenset([tokenTypes])

        ttype = input.LA(1)
        while ttype != EOF and ttype not in tokenTypes:
            input.consume()
            ttype = input.LA(1)
Determine a new function boundaries
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/antlr3/antlr3/recognizers.py/BaseRecognizer.consumeUntil--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/FindFuncEnd