{% import "_macros.console.twig" as m %}

{# print visibility #}
{{ m.visibility_block(visibility) }}

{# array key #}
{{ m.array_key(key) }}

{# the block 'type' renders the variable type #}
{% block type %}{{ var.type }}<space>{% endblock %}

{% if var.type != 'null' %}
    {% if not composed %}
        {% if display_tags %}<t_{{ var.type }}>{% endif %}
        {% block inline_value %}{{ var.formattedValue()|raw }}{% endblock %}
        {% if display_tags %}</t_{{ var.type }}>{% endif %}
    {% endif %}
{% endif %}

{% if composed %}
    {# block 'value' renders the variable data for composed types (e.g. object) #}
    {% block value %}{% endblock %}
{% endif %}
