Create a stream of all elements in the scope. This is used to compute completion proposals to be shown in the editor.
Find a target element matching the given name. If no element is found, undefined
is returned.
If multiple matching elements are present, the selection of the returned element should be done
according to the semantics of your language. Usually it is the element that is most closely defined.
Name of the cross-reference target as it appears in the source text.
A scope describes what target elements are visible from a specific cross-reference context.