def for_node(set_name, evaluate, block, context):
    """A node that implements a 'for' loop."""
    items = evaluate(context)
    for item in items:
        set_name(context, item)
        block._render_to_context(context)
