flowr-analysis / flowr

A program slicer and dataflow analyzer for the R programming language.
https://github.com/flowr-analysis/flowr/wiki
GNU General Public License v3.0
21 stars 2 forks source link

[Query API] Location Query #1041

Open LukasPietzschmann opened 10 hours ago

LukasPietzschmann commented 10 hours ago

Query for the location of a specific Node (given by its ID)

LukasPietzschmann commented 5 hours ago

@EagleoutIce how do you imagine the grouping to work? Should it be similar to call-context-query with kind and subkind?

EagleoutIce commented 5 hours ago

No, just return one result which contains a list of all requested vertices, essientially similar to the id-map but filered for the ids of interest.

LukasPietzschmann commented 4 hours ago

Alright. But I think it would be better to return a map (id -> location) instead of a plain list of locations. This way, the client does not need to remember the order of the individual location-queries.

EagleoutIce commented 4 hours ago

this was what i meant with the second part, sorry :D