Skip to content

Commit 2da41e4

Browse files
Remove interior.ternary scope facet (#3071)
Discussion #3067 (comment)
1 parent 2298c73 commit 2da41e4

File tree

26 files changed

+29
-230
lines changed

26 files changed

+29
-230
lines changed

data/fixtures/scopes/c/interior/interior.ternary.scope

Lines changed: 0 additions & 28 deletions
This file was deleted.

data/fixtures/scopes/csharp/interior/interior.ternary.scope

Lines changed: 0 additions & 28 deletions
This file was deleted.

data/fixtures/scopes/java/interior/interior.ternary.scope

Lines changed: 0 additions & 28 deletions
This file was deleted.

data/fixtures/scopes/javascript.core/interior/interior.ternary.scope

Lines changed: 0 additions & 28 deletions
This file was deleted.

data/fixtures/scopes/python/interior/interior.ternary.scope

Lines changed: 0 additions & 34 deletions
This file was deleted.

data/scopeSupportFacetInfos.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@
185185
- `interior.surroundingPair` The interior scope of a surrounding pair
186186
- `interior.switch` The body of a switch statement
187187
- `interior.switchCase` The body of a switch case branch
188-
- `interior.ternary` The body of a ternary condition/branch
189188
- `interior.try` The body of a try/catch/finally branch
190189
- `interior.while` The body of a while loop
191190

packages/common/src/scopeSupportFacets/c.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ export const cCoreScopeSupport: LanguageScopeSupportFacetMap = {
131131
"interior.if": supported,
132132
"interior.switch": supported,
133133
"interior.switchCase": supported,
134-
"interior.ternary": supported,
135134
"interior.for": supported,
136135
"interior.while": supported,
137136
"interior.doWhile": supported,

packages/common/src/scopeSupportFacets/csharp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ export const csharpScopeSupport: LanguageScopeSupportFacetMap = {
220220
"interior.doWhile": supported,
221221
"interior.switch": supported,
222222
"interior.switchCase": supported,
223-
"interior.ternary": supported,
224223
"interior.try": supported,
225224

226225
"collectionItem.unenclosed.singleLine": supported,

packages/common/src/scopeSupportFacets/css.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ export const cssScopeSupport: LanguageScopeSupportFacetMap = {
292292
"branch.ternary": notApplicable,
293293
"branch.ternary.iteration": notApplicable,
294294
"condition.ternary": notApplicable,
295-
"interior.ternary": notApplicable,
296295

297296
// Section
298297
section: notApplicable,

packages/common/src/scopeSupportFacets/html.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ export const htmlScopeSupport: LanguageScopeSupportFacetMap = {
284284
"branch.ternary": notApplicable,
285285
"branch.ternary.iteration": notApplicable,
286286
"condition.ternary": notApplicable,
287-
"interior.ternary": notApplicable,
288287

289288
// Section
290289
section: notApplicable,

0 commit comments

Comments
 (0)