@@ -124,6 +124,21 @@ export const scopeSupportFacetInfos: Record<
124
124
description : "A named method declaration in a class" ,
125
125
scopeType : "namedFunction" ,
126
126
} ,
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
+ } ,
127
142
anonymousFunction : {
128
143
description :
129
144
"An anonymous function, eg a lambda function, an arrow function, etc" ,
@@ -133,6 +148,25 @@ export const scopeSupportFacetInfos: Record<
133
148
description : "The name of a function" ,
134
149
scopeType : "functionName" ,
135
150
} ,
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
+ } ,
136
170
137
171
functionCall : {
138
172
description : "A function call" ,
@@ -299,6 +333,17 @@ export const scopeSupportFacetInfos: Record<
299
333
scopeType : "name" ,
300
334
isIteration : true ,
301
335
} ,
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
+ } ,
302
347
"key.attribute" : {
303
348
description : "Key (LHS) of an attribute eg in an xml element" ,
304
349
scopeType : "collectionKey" ,
0 commit comments