Skip to content

Commit 6eab50f

Browse files
committed
Update Haskell scope support facet stuff
1 parent ae748a6 commit 6eab50f

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

packages/common/src/scopeSupportFacets/haskell.ts

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
ScopeSupportFacetLevel,
66
} from "./scopeSupportFacets.types";
77

8-
const { supported, notApplicable } = ScopeSupportFacetLevel;
8+
const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel;
99

1010
export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
1111
command: notApplicable,
@@ -16,68 +16,68 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
1616
endTag: notApplicable,
1717
attribute: notApplicable,
1818

19-
list: notApplicable,
20-
map: notApplicable,
21-
ifStatement: notApplicable,
22-
regularExpression: notApplicable,
23-
switchStatementSubject: notApplicable,
24-
fieldAccess: notApplicable,
25-
26-
statement: notApplicable,
27-
"statement.iteration.document": notApplicable,
28-
"statement.iteration.block": notApplicable,
29-
30-
class: notApplicable,
31-
className: notApplicable,
32-
namedFunction: notApplicable,
33-
"namedFunction.method": notApplicable,
34-
anonymousFunction: notApplicable,
35-
functionName: notApplicable,
36-
37-
functionCall: notApplicable,
38-
"functionCall.constructor": notApplicable,
39-
functionCallee: notApplicable,
40-
"functionCallee.constructor": notApplicable,
41-
42-
"argument.actual": notApplicable,
43-
"argument.actual.iteration": notApplicable,
44-
"argument.formal": notApplicable,
45-
"argument.formal.iteration": notApplicable,
46-
47-
"comment.line": notApplicable,
48-
"comment.block": notApplicable,
49-
50-
"string.singleLine": notApplicable,
19+
list: unsupported,
20+
map: unsupported,
21+
ifStatement: unsupported,
22+
regularExpression: unsupported,
23+
switchStatementSubject: unsupported,
24+
fieldAccess: unsupported,
25+
26+
statement: unsupported,
27+
"statement.iteration.document": unsupported,
28+
"statement.iteration.block": unsupported,
29+
30+
class: unsupported,
31+
className: unsupported,
32+
namedFunction: supported,
33+
"namedFunction.method": unsupported,
34+
anonymousFunction: unsupported,
35+
functionName: supported,
36+
37+
functionCall: unsupported,
38+
"functionCall.constructor": unsupported,
39+
functionCallee: unsupported,
40+
"functionCallee.constructor": unsupported,
41+
42+
"argument.actual": unsupported,
43+
"argument.actual.iteration": unsupported,
44+
"argument.formal": unsupported,
45+
"argument.formal.iteration": unsupported,
46+
47+
"comment.line": unsupported,
48+
"comment.block": unsupported,
49+
50+
"string.singleLine": unsupported,
5151
"string.multiLine": notApplicable,
5252

53-
"branch.if": notApplicable,
54-
"branch.if.iteration": notApplicable,
53+
"branch.if": unsupported,
54+
"branch.if.iteration": unsupported,
5555
"branch.try": notApplicable,
5656
"branch.switchCase": notApplicable,
5757
"branch.switchCase.iteration": notApplicable,
5858
"branch.ternary": notApplicable,
5959

60-
"condition.if": notApplicable,
60+
"condition.if": unsupported,
6161
"condition.while": notApplicable,
6262
"condition.doWhile": notApplicable,
6363
"condition.for": notApplicable,
6464
"condition.ternary": notApplicable,
6565
"condition.switchCase": notApplicable,
6666

67-
"name.assignment": notApplicable,
68-
"name.assignment.pattern": notApplicable,
67+
"name.assignment": unsupported,
68+
"name.assignment.pattern": unsupported,
6969
"name.foreach": notApplicable,
70-
"name.function": notApplicable,
71-
"name.class": notApplicable,
72-
"name.field": notApplicable,
70+
"name.function": supported,
71+
"name.class": unsupported,
72+
"name.field": unsupported,
7373

7474
"key.attribute": notApplicable,
7575
"key.mapPair": notApplicable,
7676
"key.mapPair.iteration": notApplicable,
7777

78-
"value.assignment": notApplicable,
79-
"value.mapPair": notApplicable,
80-
"value.mapPair.iteration": notApplicable,
78+
"value.assignment": unsupported,
79+
"value.mapPair": unsupported,
80+
"value.mapPair.iteration": unsupported,
8181
"value.attribute": notApplicable,
8282
"value.foreach": notApplicable,
8383
"value.return": notApplicable,

0 commit comments

Comments
 (0)