{% extends "base.html" %} {% from "_links.html" import edge_list, go, kind_dot %} {% from "_map.html" import render_map %} {# One page per file the specification graph references. The framework carries these links: nothing is written into the file, and each anchor is found again by content hash when it moves. Each anchor section carries its name as its id, so a code:// URI's fragment lands on it. Source lines are numbered by a CSS counter starting at the anchor's first line, so copying the excerpt copies only code. #} {% block main %}
{% include "_crumbs.html" %}
{{ kind_dot("code") }}Code {{ anchors | length }} referenced anchor{% if anchors | length != 1 %}s{% endif %}

{{ path }}

Referenced by the specification graph. Nothing here is annotated in the source file; each anchor is found again by its content hash when it moves.

{% if anchors | length > 1 %} {% endif %}
{% if neighbourhood.nodes | length > 1 %}

Neighbourhood

The requirements this file implements and the evidence that cites it.

{{ render_map(neighbourhood, base) }}
{% endif %} {% for anchor in anchors %}

{{ anchor.name }}

{% if anchor.granularity == "symbol" %}lines {{ anchor.line }}–{{ anchor.end_line }}{% else %}line {{ anchor.line }}, hashed with the whole file{% endif %}
{% if anchor.lines %}
{% for line in anchor.lines %}{{ line }}
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}