def METHOD_NAME(translator, func, frame):
    klass = _cumulative_to_reduction[type(func)]
    func = klass(*func.args)
    try:
        rule = translator._rewrites[type(func)]
    except KeyError:
        pass
    else:
        func = rule(func)
    frame = frame.copy(start=None, end=0)
    expr = an.windowize_function(func.to_expr(), frame)
    return expr.op()