TNO / Rejuvenation-Ada

Analysis and manipulation of Ada software based on concrete syntax
BSD 3-Clause "New" or "Revised" License
22 stars 1 forks source link

Use Libadalang build-in functionality #6

Open DamDC91 opened 2 years ago

DamDC91 commented 2 years ago

why not use https://github.com/cwi-swat/ada-air/blob/e4506fef724e8cbf30ef1600c67488a84dd0716f/test/lal-type-hierarchy/src/utils.adb#L35-L36 instead of https://github.com/TNO/Rejuvenation-Ada/blob/6784214f9098a06b3889bbf2f7c0705da3392e3a/src/rejuvenation-finder.adb#L19-L30

pjljvandelaar commented 1 year ago

Needs some investigation:

  1. Should we use a While Next (Node) loop or the Consume function?
  2. What are all locations where we could / should use Libadalang.Iterators.Ada_Node_Predicate instead of proprietary instances?