==================
Block
==================
This is a block
{% block test %}
Hello World
{% endblock %}
---
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)))
(pop_block))
(content))
==================
Block Matching End Tag
==================
This is a block
{% block test %}
Hello World
{% endblock test %}
---
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)))
(pop_block))
(content))
==================
Nested Blocks
==================
This is a block
{% block test %}
{% block hello %}
Hello World
{% endblock %}
{% endblock %}
---
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)))
(pop_block))
(content)))
(pop_block))
(content))
==================
Nested Blocks End Tag
==================
This is a block
{% block test %}
{% block hello %}
Hello World
{% endblock hello %}
{% endblock test %}
---
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)))
(pop_block))
(content)))
(pop_block))
(content))
==================
Nested Blocks Mixed Tags
==================
This is a block
{% block test %}
{% block hello %}
Hello World
{% endblock %}
{% endblock test %}
---
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)
(block_group
(block_clause
name: (push_block)
(template
(content)))
(pop_block))
(content)))
(pop_block))
(content))