My language contains ’Question(_, _, _)’s with a Question() scope.
the data/code I am providing here is retrieved with the help of debug output.

<index-lookup> “foo”{[Question, “foo”]} => definition


Def([Question, “foo”])


<index-get-data(|Question())> definition


how else am i supposed to get my original Question(_, _, _) construct back if not via index-get-data?

It would be very helpful to provide a manual page for the index library at all.

spoofax plugin version:

Submitted on 10 July 2012 at 15:41

On 10 July 2012 at 16:18 Gabriël Konat commented:

To store data, you need to add an adjust-index-def-data rule for the data you want to store. For example: adjust-index-def-data(store-results|namespace, path) : q@Question(_, _, _) -> DefData([namespace|path], Question(), q)

On 13 July 2012 at 10:55 Gabriël Konat closed this issue.

Log in to post comments