Optional
outerScope: ScopeOptional
options: ScopeOptionsReadonly
caseReadonly
elementsOptional
Readonly
outerCreate 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.
The default scope implementation is based on a
Stream
. It has an optional outer scope describing the next level of elements, which are queried when a target element is not found in the stream provided to this scope.