def __init__(self, children, context):
        self.ifs = []
        self.else_ = None
        chit = iter(children)
        for k in chit:
            if k.value in ('if', 'elif'):
                self.ifs.append((next(chit), next(chit)))
            else:
                assert k.value == 'else', k
                self.else_ = next(chit)
        super().__init__(context)
dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py/If.__init__/original