I want to restrict the search scope for references to only contain entities which have already been declared. I've already examined the BaseLanguage implementation but that seems far to complex for my very basic needs. The task seems quite simple: I need a list of all EntityDeclarations which appear "upstream" in the model. How can I accomplish that?
Thanks for any hints,