Skip to content

Commit f35fafb

Browse files
committed
add comment explaining necessity of scope provider
1 parent 80075ce commit f35fafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/references/ContextMapperDslScopeProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
export class ContextMapperDslScopeProvider extends DefaultScopeProvider {
1111
/*
1212
Some ContextMapper elements are not defined on the top-level of the document and should still be referencable.
13-
Langium assumes nested elements to not be in global scope.
13+
Langium assumes that nested elements don't belong in the global scope.
1414
Therefore, nested elements are explicitly added to the scope, while for other elements the Langium default behavior applies.
1515
*/
1616
override getScope (context: ReferenceInfo): Scope {

0 commit comments

Comments
 (0)