def __if(self,followers=['endif','elif','else']):
        from compiler.ast import If
        tokens = self._tokens
        CS = []
        t = 'elif'
        while t=='elif':
            try:
                cond = self._cparse(self.__tokenText(colonRemove=1),'eval').node
            except:
                self.__error()
            t = self.__tokenPop()
            _renumber(cond,t[1]-1)
            CS.append((cond,self.__preppy(followers=followers)))
            t = tokens[self._tokenX%1][0]   #we consumed the terminal in __preppy
            if t=='elif': self._tokenX -= 1
        if t=='else':
            stmt = self.__preppy(followers=['endif'])
        else:
            stmt = None
        return If(CS,stmt)
dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/PreppyParser.__if/operator `-` -> `%`