Skip to content

Commit 6c7c39c

Browse files
Added facet infos
1 parent e0df39f commit 6c7c39c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/common/src/scopeSupportFacets/scopeSupportFacetInfos.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,16 @@ export const scopeSupportFacetInfos: Record<
271271
scopeType: "argumentOrParameter",
272272
isIteration: true,
273273
},
274+
"argument.formal.lambda": {
275+
description: "A parameter in a lambda declaration",
276+
scopeType: "argumentOrParameter",
277+
},
278+
"argument.formal.lambda.iteration": {
279+
description:
280+
"Iteration scope of the formal parameters of a lambda declaration; should be the whole parameter list. The domain should be the entire function.",
281+
scopeType: "argumentOrParameter",
282+
isIteration: true,
283+
},
274284

275285
"argumentList.formal": {
276286
description: "A list of arguments in a function declaration",
@@ -284,6 +294,10 @@ export const scopeSupportFacetInfos: Record<
284294
description: "A list of arguments in a constructor declaration",
285295
scopeType: "argumentList",
286296
},
297+
"argumentList.formal.lambda": {
298+
description: "A list of arguments in a lambda declaration",
299+
scopeType: "argumentList",
300+
},
287301

288302
"comment.line": {
289303
description: "A line comment",

0 commit comments

Comments
 (0)