selected_component is hard to deal with
Presents an Ada unit’s structure in XML
Brought to you by:
simonjwright
Compound identifiers are hard to deal with: "with Ada.Characters.Handling;"
becomes
<with_clause>
<selected_component>
<selected_component>
<identifier>Ada</identifier>
<identifier>Characters</identifier>
</selected_component>
<identifier>Handling</identifier>
</selected_component>
</with_clause>
It’d be good to produce a merged value, perhaps as an attribute.
See
defining_expanded_name:(NB, how to extract the expanded name text component only?)