Skip to content

Commit 4be5630

Browse files
Renamed function name iteration
1 parent 974b49a commit 4be5630

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

packages/common/src/scopeSupportFacets/scopeSupportFacetInfos.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ export const scopeSupportFacetInfos: Record<
181181
description: "The name of a constructor in a class",
182182
scopeType: "functionName",
183183
},
184-
"functionName.iteration": {
185-
description: "Iteration scope for function names",
184+
"functionName.iteration.block": {
185+
description:
186+
"Iteration scope for function names. Statement blocks(body of functions/if classes/for loops/etc).",
186187
scopeType: "functionName",
187188
isIteration: true,
188189
},

packages/common/src/scopeSupportFacets/scopeSupportFacets.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const scopeSupportFacets = [
4646
"namedFunction.constructor",
4747

4848
"functionName",
49-
"functionName.iteration",
49+
"functionName.iteration.block",
5050
"functionName.iteration.document",
5151
"functionName.method",
5252
"functionName.method.iteration.class",

packages/common/src/scopeSupportFacets/scss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const scssScopeSupport: LanguageScopeSupportFacetMap = {
1010

1111
"namedFunction.iteration.block": supported,
1212
"namedFunction.iteration.document": supported,
13-
"functionName.iteration": supported,
13+
"functionName.iteration.block": supported,
1414
"functionName.iteration.document": supported,
1515
"comment.line": supported,
1616
disqualifyDelimiter: supported,

0 commit comments

Comments
 (0)