@@ -5,185 +5,92 @@ import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types";
55const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel ;
66
77export const rScopeSupport : LanguageScopeSupportFacetMap = {
8- "comment.line" : supported ,
9- "ifStatement" : supported ,
8+ "anonymousFunction" : supported ,
109 "argument.actual" : supported ,
1110 "argumentList.formal" : supported ,
11+ "comment.line" : supported ,
1212 "condition.if" : supported ,
13- "condition.while" : unsupported ,
14-
15- "namedFunction" : supported ,
16- "anonymousFunction" : supported ,
17- "functionName" : supported ,
1813 "functionCall" : supported ,
1914 "functionCallee" : supported ,
20-
15+ "functionName" : supported ,
16+ "ifStatement" : supported ,
2117 "name.assignment" : supported ,
22- "name.assignment.pattern" : notApplicable ,
2318 "name.variable" : supported ,
19+ "namedFunction" : supported ,
2420 "value.assignment" : supported ,
2521 "value.variable" : supported ,
26- "value.variable.pattern" : notApplicable ,
27-
28- // "interior.function": unsupported,
29- // "interior.lambda": unsupported,
30- // "interior.if": unsupported,
31- // "interior.try": unsupported,
3222
33- command : notApplicable ,
34- element : notApplicable ,
35- startTag : notApplicable ,
36- endTag : notApplicable ,
37- tags : notApplicable ,
23+ "branch.if" : unsupported ,
24+ "branch.if.iteration" : unsupported ,
25+ "branch.loop" : unsupported ,
26+ "branch.switchCase" : unsupported ,
27+ "branch.switchCase.iteration" : unsupported ,
28+ "branch.ternary" : unsupported ,
29+ "branch.try" : unsupported ,
30+ "branch.try.iteration" : unsupported ,
31+ "condition.for" : unsupported ,
32+ "condition.ternary" : unsupported ,
33+ "condition.while" : unsupported ,
34+ "interior.class" : unsupported ,
35+ "interior.function" : unsupported ,
36+ "interior.if" : unsupported ,
37+ "interior.lambda" : unsupported ,
38+ "interior.try" : unsupported ,
39+ "key.attribute" : unsupported ,
40+ "name.class" : unsupported ,
41+ "name.field" : unsupported ,
42+ "name.foreach" : unsupported ,
43+ "name.function" : unsupported ,
44+ "name.method" : unsupported ,
45+ "statement.class" : unsupported ,
46+ "string.multiLine" : unsupported ,
47+ "string.singleLine" : unsupported ,
48+ "value.attribute" : unsupported ,
49+ "value.foreach" : unsupported ,
50+ "value.return" : unsupported ,
3851 attribute : unsupported ,
52+ class : unsupported ,
53+ className : unsupported ,
3954 environment : unsupported ,
40- // Not applicable for base language but might be useful for markdown or quarto
41- section : notApplicable ,
42- "section.iteration.document" : notApplicable ,
43- "section.iteration.parent" : notApplicable ,
44- notebookCell : notApplicable ,
45-
55+ fieldAccess : unsupported ,
4656 map : unsupported ,
4757 regularExpression : unsupported ,
4858 switchStatementSubject : unsupported ,
49- fieldAccess : unsupported ,
50- "string.singleLine" : unsupported ,
51- "string.multiLine" : unsupported ,
5259
53- // "statement.class"
54- // "statement.iteration.document"
55- // "statement.iteration.block"
56- class : unsupported ,
57- // "class.iteration.document"
58- // "class.iteration.block"
59- className : unsupported ,
60- // "className.iteration.document"
61- // "className.iteration.block"
62- // "namedFunction.method"
63- // "namedFunction.method.iteration.class"
64- // "namedFunction.constructor"
65- // "namedFunction.iteration.block"
66- // "namedFunction.iteration.document"
67- // "functionName.method"
68- // "functionName.method.iteration.class"
69- // "functionName.constructor"
70- // "functionName.iteration.block"
71- // "functionName.iteration.document"
72- // "functionCall.constructor"
73- // "functionCallee.constructor"
74- // "argument.actual"
75- // "argument.actual.iteration"
76- // "argument.actual.method"
77- // "argument.actual.method.iteration"
78- // "argument.actual.constructor"
79- // "argument.actual.constructor.iteration"
80- // "argument.formal"
81- // "argument.formal.iteration"
82- // "argument.formal.method"
83- // "argument.formal.method.iteration"
84- // "argument.formal.constructor"
85- // "argument.formal.constructor.iteration"
86- // "argument.formal.lambda"
87- // "argument.formal.lambda.iteration"
88- // "argumentList.formal.method"
89- // "argumentList.formal.constructor"
90- // "argumentList.formal.lambda"
91- // "textFragment.comment.line"
92- // "textFragment.comment.block"
93- // "textFragment.string.singleLine"
94- // "textFragment.string.multiLine"
95- // "textFragment.element"
96- // disqualifyDelimiter
97- // pairDelimiter
98- "branch.if" : unsupported ,
99- // "branch.loop"
100- // "branch.if.iteration"
101- // "branch.try"
102- // "branch.try.iteration"
103- // "branch.switchCase"
104- // "branch.switchCase.iteration"
105- // "branch.ternary"
106- // "collectionItem.unenclosed"
107- // "collectionItem.unenclosed.iteration"
108- // "condition.if"
109- // "condition.while"
110- // "condition.doWhile"
111- // "condition.for"
112- // "condition.ternary"
113- // "condition.switchCase"
114- // "condition.switchCase.iteration"
115- // "name.assignment"
116- // "name.assignment.pattern"
117- // "name.variable"
118- // "name.variable.pattern"
119- // "name.foreach"
120- // "name.function"
121- // "name.method"
122- // "name.constructor"
123- // "name.class"
124- // "name.field"
125- // "name.resource"
126- // "name.resource.iteration"
127- // "name.argument.actual"
128- // "name.argument.actual.iteration"
129- // "name.argument.formal"
130- // "name.argument.formal.iteration"
131- // "name.argument.formal.method"
132- // "name.argument.formal.method.iteration"
133- // "name.argument.formal.constructor"
134- // "name.argument.formal.constructor.iteration"
135- // "name.iteration.block"
136- // "name.iteration.document"
137- // "key.attribute"
138- // "key.mapPair"
139- // "key.mapPair.iteration"
140- // "value.mapPair"
141- // "value.mapPair.iteration"
142- // "value.foreach"
143- // "value.attribute"
144- "value.return" : unsupported ,
145- // "value.return.lambda"
146- // "value.field"
147- // "value.yield"
148- // "value.resource"
149- // "value.resource.iteration"
150- // "value.argument.formal"
151- // "value.argument.formal.iteration"
152- // "value.argument.actual"
153- // "value.argument.actual.iteration"
154- // "value.argument.formal.method"
155- // "value.argument.formal.method.iteration"
156- // "value.argument.formal.constructor"
157- // "value.argument.formal.constructor.iteration"
158- // "value.typeAlias": notApplicable,
159- "type.variable" : notApplicable ,
60+ "interior.cell" : notApplicable ,
61+ "interior.command" : notApplicable ,
62+ "interior.element" : notApplicable ,
63+ "name.assignment.pattern" : notApplicable ,
64+ // Not applicable for base language but might be useful for markdown or quarto
65+ "section.iteration.document" : notApplicable ,
66+ "section.iteration.parent" : notApplicable ,
67+ "type.alias" : notApplicable ,
16068 "type.argument.formal" : notApplicable ,
69+ "type.argument.formal.constructor" : notApplicable ,
70+ "type.argument.formal.constructor.iteration" : notApplicable ,
16171 "type.argument.formal.iteration" : notApplicable ,
16272 "type.argument.formal.method" : notApplicable ,
16373 "type.argument.formal.method.iteration" : notApplicable ,
164- "type.argument.formal.constructor " : notApplicable ,
165- "type.argument.formal.constructor.iteration " : notApplicable ,
166- "type.return " : notApplicable ,
74+ "type.cast " : notApplicable ,
75+ "type.class " : notApplicable ,
76+ "type.enum " : notApplicable ,
16777 "type.field" : notApplicable ,
16878 "type.field.iteration" : notApplicable ,
16979 "type.foreach" : notApplicable ,
17080 "type.interface" : notApplicable ,
171- "type.enum" : notApplicable ,
172- "type.class" : notApplicable ,
173- "type.alias" : notApplicable ,
174- "type.cast" : notApplicable ,
175- "type.typeArgument" : notApplicable ,
176- "type.typeArgument.iteration" : notApplicable ,
17781 "type.resource" : notApplicable ,
17882 "type.resource.iteration" : notApplicable ,
179- "interior.element" : notApplicable ,
180- "interior.command" : notApplicable ,
181- "interior.cell" : notApplicable ,
182- "interior.class" : unsupported ,
183- // "interior.switchCase"
184- // "interior.ternary"
185- // "interior.loop"
186- // "interior.resource"
187-
188- "name.foreach" : unsupported ,
83+ "type.return" : notApplicable ,
84+ "type.typeArgument" : notApplicable ,
85+ "type.typeArgument.iteration" : notApplicable ,
86+ "type.variable" : notApplicable ,
87+ "value.typeAlias" : notApplicable ,
88+ "value.variable.pattern" : notApplicable ,
89+ command : notApplicable ,
90+ element : notApplicable ,
91+ endTag : notApplicable ,
92+ notebookCell : notApplicable ,
93+ section : notApplicable ,
94+ startTag : notApplicable ,
95+ tags : notApplicable ,
18996} ;
0 commit comments