

def Factor(child, ctx):
    if (len(child) < 2):
        return child[0]
    if (child[0].value == '-'):
        return Negate(child, ctx)
    raise NotImplementedError(child)

dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py Factor/original