{% match self %} {% when Node::Root { children } %} {% for child in children %} {{ child|safe }} {% endfor %} {% when Node::Directory { name, children, license } %}
    File/Directory: {{ name }}
    
License: {{ license.spdx }}
{% for copyright in license.copyright.iter() %}Copyright: {{ copyright }}
{% endfor %} {% endif %} {% if !children.is_empty() %}Exceptions:
{% for child in children %} {{ child|safe }} {% endfor %} {% endif %}
    File/Directory: {{ name }}
    
License: {{ license.spdx }}
{% for copyright in license.copyright.iter() %}Copyright: {{ copyright }}
{% endfor %}
        File/Directory:
        {% for name in files %}
        {{ name }}
        {% endfor %}
        {% for name in directories %}
        {{ name }}
        {% endfor %}
    
License: {{ license.spdx }}
{% for copyright in license.copyright.iter() %}Copyright: {{ copyright }}
{% endfor %}