@@ -124,6 +124,21 @@ export const scopeSupportFacetInfos: Record<
124124 description : "A named method declaration in a class" ,
125125 scopeType : "namedFunction" ,
126126 } ,
127+ "namedFunction.method.iteration.class" : {
128+ description : "Iteration scope for named functions: class bodies" ,
129+ scopeType : "namedFunction" ,
130+ isIteration : true ,
131+ } ,
132+ "namedFunction.iteration" : {
133+ description : "Iteration scope for named functions" ,
134+ scopeType : "namedFunction" ,
135+ isIteration : true ,
136+ } ,
137+ "namedFunction.iteration.document" : {
138+ description : "Iteration scope for named functions: the entire document" ,
139+ scopeType : "namedFunction" ,
140+ isIteration : true ,
141+ } ,
127142 anonymousFunction : {
128143 description :
129144 "An anonymous function, eg a lambda function, an arrow function, etc" ,
@@ -133,6 +148,25 @@ export const scopeSupportFacetInfos: Record<
133148 description : "The name of a function" ,
134149 scopeType : "functionName" ,
135150 } ,
151+ "functionName.method" : {
152+ description : "The name of a method in a class" ,
153+ scopeType : "functionName" ,
154+ } ,
155+ "functionName.method.iteration.class" : {
156+ description : "Iteration scope for function names: class bodies" ,
157+ scopeType : "functionName" ,
158+ isIteration : true ,
159+ } ,
160+ "functionName.iteration" : {
161+ description : "Iteration scope for function names" ,
162+ scopeType : "functionName" ,
163+ isIteration : true ,
164+ } ,
165+ "functionName.iteration.document" : {
166+ description : "Iteration scope for function names: the entire document" ,
167+ scopeType : "functionName" ,
168+ isIteration : true ,
169+ } ,
136170
137171 functionCall : {
138172 description : "A function call" ,
@@ -299,6 +333,17 @@ export const scopeSupportFacetInfos: Record<
299333 scopeType : "name" ,
300334 isIteration : true ,
301335 } ,
336+ "name.iteration.block" : {
337+ description :
338+ "Iteration scope for names: statement blocks (body of functions/if classes/for loops/etc)." ,
339+ scopeType : "name" ,
340+ isIteration : true ,
341+ } ,
342+ "name.iteration.document" : {
343+ description : "Iteration scope for names: the entire document" ,
344+ scopeType : "name" ,
345+ isIteration : true ,
346+ } ,
302347 "key.attribute" : {
303348 description : "Key (LHS) of an attribute eg in an xml element" ,
304349 scopeType : "collectionKey" ,
0 commit comments