@exercism/codemirror-lang-vbnet 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +103 -2
- package/dist/index.cjs +1194 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1186 -0
- package/package.json +51 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,1186 @@
|
|
|
1
|
+
import { ExternalTokenizer, LRParser } from '@lezer/lr';
|
|
2
|
+
import { syntaxTree, LRLanguage, indentNodeProp, delimitedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';
|
|
3
|
+
import { styleTags, tags } from '@lezer/highlight';
|
|
4
|
+
import { snippetCompletion, completeFromList } from '@codemirror/autocomplete';
|
|
5
|
+
import { NodeWeakMap, IterMode } from '@lezer/common';
|
|
6
|
+
|
|
7
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
8
|
+
const
|
|
9
|
+
newline$1 = 309,
|
|
10
|
+
propertyBodyStart$1 = 310,
|
|
11
|
+
softNewline$1 = 311,
|
|
12
|
+
ofParen$1 = 1,
|
|
13
|
+
Identifier$2 = 2,
|
|
14
|
+
PredefinedType$1 = 3,
|
|
15
|
+
Modifier$1 = 4,
|
|
16
|
+
ParameterModifier$1 = 5,
|
|
17
|
+
ConversionFunction$1 = 6,
|
|
18
|
+
BooleanLiteral$1 = 7,
|
|
19
|
+
kwAddHandler = 8,
|
|
20
|
+
kwAddressOf = 9,
|
|
21
|
+
kwAggregate = 10,
|
|
22
|
+
kwAnd = 11,
|
|
23
|
+
kwAndAlso = 12,
|
|
24
|
+
kwAs = 13,
|
|
25
|
+
kwAscending = 14,
|
|
26
|
+
kwAssembly = 15,
|
|
27
|
+
kwAwait = 16,
|
|
28
|
+
kwBy = 17,
|
|
29
|
+
kwCall = 18,
|
|
30
|
+
kwCase = 19,
|
|
31
|
+
kwCatch = 20,
|
|
32
|
+
kwClass = 21,
|
|
33
|
+
kwConst = 22,
|
|
34
|
+
kwContinue = 23,
|
|
35
|
+
kwCType = 24,
|
|
36
|
+
kwDelegate = 25,
|
|
37
|
+
kwDescending = 26,
|
|
38
|
+
kwDim = 27,
|
|
39
|
+
kwDirectCast = 28,
|
|
40
|
+
kwDistinct = 29,
|
|
41
|
+
kwDo = 30,
|
|
42
|
+
kwEach = 31,
|
|
43
|
+
kwElse = 32,
|
|
44
|
+
kwElseIf = 33,
|
|
45
|
+
kwEnd = 34,
|
|
46
|
+
kwEnum = 35,
|
|
47
|
+
kwEquals = 36,
|
|
48
|
+
kwErase = 37,
|
|
49
|
+
kwEvent = 38,
|
|
50
|
+
kwExit = 39,
|
|
51
|
+
kwFinally = 40,
|
|
52
|
+
kwFor = 41,
|
|
53
|
+
kwFrom = 42,
|
|
54
|
+
kwFunction = 43,
|
|
55
|
+
kwGet = 44,
|
|
56
|
+
kwGetType = 45,
|
|
57
|
+
kwGlobal = 46,
|
|
58
|
+
kwGoTo = 47,
|
|
59
|
+
kwGroup = 48,
|
|
60
|
+
kwHandles = 49,
|
|
61
|
+
kwIf$1 = 50,
|
|
62
|
+
kwIfOperator$1 = 51,
|
|
63
|
+
kwImplements = 52,
|
|
64
|
+
kwImports = 53,
|
|
65
|
+
kwIn = 54,
|
|
66
|
+
kwInherits = 55,
|
|
67
|
+
kwInterface = 56,
|
|
68
|
+
kwInto = 57,
|
|
69
|
+
kwIs = 58,
|
|
70
|
+
kwIsNot = 59,
|
|
71
|
+
kwJoin = 60,
|
|
72
|
+
kwKey = 61,
|
|
73
|
+
kwLet = 62,
|
|
74
|
+
kwLike = 63,
|
|
75
|
+
kwLoop = 64,
|
|
76
|
+
kwMe = 65,
|
|
77
|
+
kwMod = 66,
|
|
78
|
+
kwMustOverride = 67,
|
|
79
|
+
kwModule = 68,
|
|
80
|
+
kwMyBase = 69,
|
|
81
|
+
kwMyClass = 70,
|
|
82
|
+
kwNameOf = 71,
|
|
83
|
+
kwNamespace = 72,
|
|
84
|
+
kwNew = 73,
|
|
85
|
+
kwNext = 74,
|
|
86
|
+
kwNot = 75,
|
|
87
|
+
kwNothing = 76,
|
|
88
|
+
kwOf = 77,
|
|
89
|
+
kwOn = 78,
|
|
90
|
+
kwOperator = 79,
|
|
91
|
+
kwOption = 80,
|
|
92
|
+
kwOr = 81,
|
|
93
|
+
kwOrder = 82,
|
|
94
|
+
kwOrElse = 83,
|
|
95
|
+
kwOut = 84,
|
|
96
|
+
kwPreserve = 85,
|
|
97
|
+
kwProperty = 86,
|
|
98
|
+
kwRaiseEvent = 87,
|
|
99
|
+
kwReDim = 88,
|
|
100
|
+
kwRemoveHandler = 89,
|
|
101
|
+
kwReturn = 90,
|
|
102
|
+
kwSelect = 91,
|
|
103
|
+
kwSet = 92,
|
|
104
|
+
kwSkip = 93,
|
|
105
|
+
kwStep = 94,
|
|
106
|
+
kwStop = 95,
|
|
107
|
+
kwStructure = 96,
|
|
108
|
+
kwSub = 97,
|
|
109
|
+
kwSyncLock = 98,
|
|
110
|
+
kwTake = 99,
|
|
111
|
+
kwThen = 100,
|
|
112
|
+
kwThrow = 101,
|
|
113
|
+
kwTo = 102,
|
|
114
|
+
kwTry = 103,
|
|
115
|
+
kwTryCast = 104,
|
|
116
|
+
kwTypeOf = 105,
|
|
117
|
+
kwUntil = 106,
|
|
118
|
+
kwUsing = 107,
|
|
119
|
+
kwWend = 108,
|
|
120
|
+
kwWhen = 109,
|
|
121
|
+
kwWhere = 110,
|
|
122
|
+
kwWhile = 111,
|
|
123
|
+
kwWith = 112,
|
|
124
|
+
kwXor = 113,
|
|
125
|
+
kwYield = 114,
|
|
126
|
+
Comment = 115,
|
|
127
|
+
Directive = 116,
|
|
128
|
+
Program = 117,
|
|
129
|
+
OptionStatement = 118,
|
|
130
|
+
ImportsStatement = 119,
|
|
131
|
+
Definition = 120,
|
|
132
|
+
QualifiedName = 122,
|
|
133
|
+
NamespaceDeclaration = 125,
|
|
134
|
+
NamespaceBody = 127,
|
|
135
|
+
ClassDeclaration = 128,
|
|
136
|
+
AttributeList = 131,
|
|
137
|
+
Attribute = 132,
|
|
138
|
+
TypeName = 133,
|
|
139
|
+
ArgList = 136,
|
|
140
|
+
Number = 137,
|
|
141
|
+
String$1 = 138,
|
|
142
|
+
Character = 139,
|
|
143
|
+
interpolatedEnd = 140,
|
|
144
|
+
InterpolatedString = 141,
|
|
145
|
+
interpolatedStart = 142,
|
|
146
|
+
Escape = 143,
|
|
147
|
+
Interpolation = 146,
|
|
148
|
+
FormatSpec = 147,
|
|
149
|
+
ParenthesizedExpression = 148,
|
|
150
|
+
TupleExpression = 149,
|
|
151
|
+
NamedArgument = 150,
|
|
152
|
+
ArgumentName = 151,
|
|
153
|
+
ConditionalExpression = 153,
|
|
154
|
+
CastExpression = 154,
|
|
155
|
+
TupleType = 155,
|
|
156
|
+
ArrayRank = 157,
|
|
157
|
+
TypeArguments = 159,
|
|
158
|
+
ConversionExpression = 160,
|
|
159
|
+
GetTypeExpression = 161,
|
|
160
|
+
NameOfExpression = 162,
|
|
161
|
+
ObjectCreationExpression = 163,
|
|
162
|
+
creationType = 164,
|
|
163
|
+
ObjectInitializer = 165,
|
|
164
|
+
FieldInitializer = 166,
|
|
165
|
+
PropertyName = 167,
|
|
166
|
+
CollectionInitializer = 168,
|
|
167
|
+
ArrayLiteral = 169,
|
|
168
|
+
WithMemberExpression = 170,
|
|
169
|
+
MemberExpression = 171,
|
|
170
|
+
CallExpression = 173,
|
|
171
|
+
BinaryExpression = 174,
|
|
172
|
+
CompareOp = 184,
|
|
173
|
+
UnaryExpression = 185,
|
|
174
|
+
NotExpression = 186,
|
|
175
|
+
AwaitExpression = 187,
|
|
176
|
+
AddressOfExpression = 188,
|
|
177
|
+
TypeOfExpression = 189,
|
|
178
|
+
Lambda = 190,
|
|
179
|
+
ParamList = 191,
|
|
180
|
+
Parameter = 192,
|
|
181
|
+
ArrayBounds = 193,
|
|
182
|
+
Block = 194,
|
|
183
|
+
LocalDeclaration = 195,
|
|
184
|
+
VariableDeclarator = 196,
|
|
185
|
+
IfStatement = 197,
|
|
186
|
+
ElseIfClause = 198,
|
|
187
|
+
ElseClause = 199,
|
|
188
|
+
SelectStatement = 200,
|
|
189
|
+
CaseClause = 201,
|
|
190
|
+
ForStatement = 202,
|
|
191
|
+
ForEachStatement = 203,
|
|
192
|
+
WhileStatement = 204,
|
|
193
|
+
DoStatement = 205,
|
|
194
|
+
TryStatement = 206,
|
|
195
|
+
CatchClause = 207,
|
|
196
|
+
FinallyClause = 208,
|
|
197
|
+
WithStatement = 209,
|
|
198
|
+
UsingStatement = 210,
|
|
199
|
+
SyncLockStatement = 211,
|
|
200
|
+
ReturnStatement = 212,
|
|
201
|
+
ExitStatement = 213,
|
|
202
|
+
ContinueStatement = 214,
|
|
203
|
+
ThrowStatement = 215,
|
|
204
|
+
ReDimStatement = 216,
|
|
205
|
+
EraseStatement = 217,
|
|
206
|
+
YieldStatement = 218,
|
|
207
|
+
CallStatement = 219,
|
|
208
|
+
HandlerStatement = 220,
|
|
209
|
+
RaiseEventStatement = 221,
|
|
210
|
+
StopStatement = 222,
|
|
211
|
+
GoToStatement = 223,
|
|
212
|
+
SingleLineIfStatement = 224,
|
|
213
|
+
AssignmentStatement = 225,
|
|
214
|
+
AssignOp = 226,
|
|
215
|
+
ExpressionStatement = 227,
|
|
216
|
+
QueryExpression = 228,
|
|
217
|
+
FromClause = 229,
|
|
218
|
+
AggregateClause = 230,
|
|
219
|
+
TypeParameters = 240,
|
|
220
|
+
TypeParameter = 241,
|
|
221
|
+
ClassBody = 242,
|
|
222
|
+
InheritsStatement = 243,
|
|
223
|
+
ImplementsStatement = 244,
|
|
224
|
+
SubDeclaration = 245,
|
|
225
|
+
FunctionDeclaration = 246,
|
|
226
|
+
PropertyDeclaration = 247,
|
|
227
|
+
AccessorList = 248,
|
|
228
|
+
Accessor = 249,
|
|
229
|
+
OperatorDeclaration = 250,
|
|
230
|
+
EventDeclaration = 251,
|
|
231
|
+
FieldDeclaration = 252,
|
|
232
|
+
MustOverrideDeclaration = 253,
|
|
233
|
+
ModuleDeclaration = 254,
|
|
234
|
+
StructureDeclaration = 255,
|
|
235
|
+
InterfaceDeclaration = 256,
|
|
236
|
+
InterfaceBody = 257,
|
|
237
|
+
SubSignature = 258,
|
|
238
|
+
FunctionSignature = 259,
|
|
239
|
+
PropertySignature = 260,
|
|
240
|
+
EnumDeclaration = 261,
|
|
241
|
+
EnumBody = 262,
|
|
242
|
+
EnumMember = 263,
|
|
243
|
+
DelegateDeclaration = 264,
|
|
244
|
+
AttributeStatement = 265;
|
|
245
|
+
|
|
246
|
+
var terms = /*#__PURE__*/Object.freeze({
|
|
247
|
+
__proto__: null,
|
|
248
|
+
Accessor: Accessor,
|
|
249
|
+
AccessorList: AccessorList,
|
|
250
|
+
AddressOfExpression: AddressOfExpression,
|
|
251
|
+
AggregateClause: AggregateClause,
|
|
252
|
+
ArgList: ArgList,
|
|
253
|
+
ArgumentName: ArgumentName,
|
|
254
|
+
ArrayBounds: ArrayBounds,
|
|
255
|
+
ArrayLiteral: ArrayLiteral,
|
|
256
|
+
ArrayRank: ArrayRank,
|
|
257
|
+
AssignOp: AssignOp,
|
|
258
|
+
AssignmentStatement: AssignmentStatement,
|
|
259
|
+
Attribute: Attribute,
|
|
260
|
+
AttributeList: AttributeList,
|
|
261
|
+
AttributeStatement: AttributeStatement,
|
|
262
|
+
AwaitExpression: AwaitExpression,
|
|
263
|
+
BinaryExpression: BinaryExpression,
|
|
264
|
+
Block: Block,
|
|
265
|
+
BooleanLiteral: BooleanLiteral$1,
|
|
266
|
+
CallExpression: CallExpression,
|
|
267
|
+
CallStatement: CallStatement,
|
|
268
|
+
CaseClause: CaseClause,
|
|
269
|
+
CastExpression: CastExpression,
|
|
270
|
+
CatchClause: CatchClause,
|
|
271
|
+
Character: Character,
|
|
272
|
+
ClassBody: ClassBody,
|
|
273
|
+
ClassDeclaration: ClassDeclaration,
|
|
274
|
+
CollectionInitializer: CollectionInitializer,
|
|
275
|
+
Comment: Comment,
|
|
276
|
+
CompareOp: CompareOp,
|
|
277
|
+
ConditionalExpression: ConditionalExpression,
|
|
278
|
+
ContinueStatement: ContinueStatement,
|
|
279
|
+
ConversionExpression: ConversionExpression,
|
|
280
|
+
ConversionFunction: ConversionFunction$1,
|
|
281
|
+
Definition: Definition,
|
|
282
|
+
DelegateDeclaration: DelegateDeclaration,
|
|
283
|
+
Directive: Directive,
|
|
284
|
+
DoStatement: DoStatement,
|
|
285
|
+
ElseClause: ElseClause,
|
|
286
|
+
ElseIfClause: ElseIfClause,
|
|
287
|
+
EnumBody: EnumBody,
|
|
288
|
+
EnumDeclaration: EnumDeclaration,
|
|
289
|
+
EnumMember: EnumMember,
|
|
290
|
+
EraseStatement: EraseStatement,
|
|
291
|
+
Escape: Escape,
|
|
292
|
+
EventDeclaration: EventDeclaration,
|
|
293
|
+
ExitStatement: ExitStatement,
|
|
294
|
+
ExpressionStatement: ExpressionStatement,
|
|
295
|
+
FieldDeclaration: FieldDeclaration,
|
|
296
|
+
FieldInitializer: FieldInitializer,
|
|
297
|
+
FinallyClause: FinallyClause,
|
|
298
|
+
ForEachStatement: ForEachStatement,
|
|
299
|
+
ForStatement: ForStatement,
|
|
300
|
+
FormatSpec: FormatSpec,
|
|
301
|
+
FromClause: FromClause,
|
|
302
|
+
FunctionDeclaration: FunctionDeclaration,
|
|
303
|
+
FunctionSignature: FunctionSignature,
|
|
304
|
+
GetTypeExpression: GetTypeExpression,
|
|
305
|
+
GoToStatement: GoToStatement,
|
|
306
|
+
HandlerStatement: HandlerStatement,
|
|
307
|
+
Identifier: Identifier$2,
|
|
308
|
+
IfStatement: IfStatement,
|
|
309
|
+
ImplementsStatement: ImplementsStatement,
|
|
310
|
+
ImportsStatement: ImportsStatement,
|
|
311
|
+
InheritsStatement: InheritsStatement,
|
|
312
|
+
InterfaceBody: InterfaceBody,
|
|
313
|
+
InterfaceDeclaration: InterfaceDeclaration,
|
|
314
|
+
InterpolatedString: InterpolatedString,
|
|
315
|
+
Interpolation: Interpolation,
|
|
316
|
+
Lambda: Lambda,
|
|
317
|
+
LocalDeclaration: LocalDeclaration,
|
|
318
|
+
MemberExpression: MemberExpression,
|
|
319
|
+
Modifier: Modifier$1,
|
|
320
|
+
ModuleDeclaration: ModuleDeclaration,
|
|
321
|
+
MustOverrideDeclaration: MustOverrideDeclaration,
|
|
322
|
+
NameOfExpression: NameOfExpression,
|
|
323
|
+
NamedArgument: NamedArgument,
|
|
324
|
+
NamespaceBody: NamespaceBody,
|
|
325
|
+
NamespaceDeclaration: NamespaceDeclaration,
|
|
326
|
+
NotExpression: NotExpression,
|
|
327
|
+
Number: Number,
|
|
328
|
+
ObjectCreationExpression: ObjectCreationExpression,
|
|
329
|
+
ObjectInitializer: ObjectInitializer,
|
|
330
|
+
OperatorDeclaration: OperatorDeclaration,
|
|
331
|
+
OptionStatement: OptionStatement,
|
|
332
|
+
ParamList: ParamList,
|
|
333
|
+
Parameter: Parameter,
|
|
334
|
+
ParameterModifier: ParameterModifier$1,
|
|
335
|
+
ParenthesizedExpression: ParenthesizedExpression,
|
|
336
|
+
PredefinedType: PredefinedType$1,
|
|
337
|
+
Program: Program,
|
|
338
|
+
PropertyDeclaration: PropertyDeclaration,
|
|
339
|
+
PropertyName: PropertyName,
|
|
340
|
+
PropertySignature: PropertySignature,
|
|
341
|
+
QualifiedName: QualifiedName,
|
|
342
|
+
QueryExpression: QueryExpression,
|
|
343
|
+
RaiseEventStatement: RaiseEventStatement,
|
|
344
|
+
ReDimStatement: ReDimStatement,
|
|
345
|
+
ReturnStatement: ReturnStatement,
|
|
346
|
+
SelectStatement: SelectStatement,
|
|
347
|
+
SingleLineIfStatement: SingleLineIfStatement,
|
|
348
|
+
StopStatement: StopStatement,
|
|
349
|
+
String: String$1,
|
|
350
|
+
StructureDeclaration: StructureDeclaration,
|
|
351
|
+
SubDeclaration: SubDeclaration,
|
|
352
|
+
SubSignature: SubSignature,
|
|
353
|
+
SyncLockStatement: SyncLockStatement,
|
|
354
|
+
ThrowStatement: ThrowStatement,
|
|
355
|
+
TryStatement: TryStatement,
|
|
356
|
+
TupleExpression: TupleExpression,
|
|
357
|
+
TupleType: TupleType,
|
|
358
|
+
TypeArguments: TypeArguments,
|
|
359
|
+
TypeName: TypeName,
|
|
360
|
+
TypeOfExpression: TypeOfExpression,
|
|
361
|
+
TypeParameter: TypeParameter,
|
|
362
|
+
TypeParameters: TypeParameters,
|
|
363
|
+
UnaryExpression: UnaryExpression,
|
|
364
|
+
UsingStatement: UsingStatement,
|
|
365
|
+
VariableDeclarator: VariableDeclarator,
|
|
366
|
+
WhileStatement: WhileStatement,
|
|
367
|
+
WithMemberExpression: WithMemberExpression,
|
|
368
|
+
WithStatement: WithStatement,
|
|
369
|
+
YieldStatement: YieldStatement,
|
|
370
|
+
creationType: creationType,
|
|
371
|
+
interpolatedEnd: interpolatedEnd,
|
|
372
|
+
interpolatedStart: interpolatedStart,
|
|
373
|
+
kwAddHandler: kwAddHandler,
|
|
374
|
+
kwAddressOf: kwAddressOf,
|
|
375
|
+
kwAggregate: kwAggregate,
|
|
376
|
+
kwAnd: kwAnd,
|
|
377
|
+
kwAndAlso: kwAndAlso,
|
|
378
|
+
kwAs: kwAs,
|
|
379
|
+
kwAscending: kwAscending,
|
|
380
|
+
kwAssembly: kwAssembly,
|
|
381
|
+
kwAwait: kwAwait,
|
|
382
|
+
kwBy: kwBy,
|
|
383
|
+
kwCType: kwCType,
|
|
384
|
+
kwCall: kwCall,
|
|
385
|
+
kwCase: kwCase,
|
|
386
|
+
kwCatch: kwCatch,
|
|
387
|
+
kwClass: kwClass,
|
|
388
|
+
kwConst: kwConst,
|
|
389
|
+
kwContinue: kwContinue,
|
|
390
|
+
kwDelegate: kwDelegate,
|
|
391
|
+
kwDescending: kwDescending,
|
|
392
|
+
kwDim: kwDim,
|
|
393
|
+
kwDirectCast: kwDirectCast,
|
|
394
|
+
kwDistinct: kwDistinct,
|
|
395
|
+
kwDo: kwDo,
|
|
396
|
+
kwEach: kwEach,
|
|
397
|
+
kwElse: kwElse,
|
|
398
|
+
kwElseIf: kwElseIf,
|
|
399
|
+
kwEnd: kwEnd,
|
|
400
|
+
kwEnum: kwEnum,
|
|
401
|
+
kwEquals: kwEquals,
|
|
402
|
+
kwErase: kwErase,
|
|
403
|
+
kwEvent: kwEvent,
|
|
404
|
+
kwExit: kwExit,
|
|
405
|
+
kwFinally: kwFinally,
|
|
406
|
+
kwFor: kwFor,
|
|
407
|
+
kwFrom: kwFrom,
|
|
408
|
+
kwFunction: kwFunction,
|
|
409
|
+
kwGet: kwGet,
|
|
410
|
+
kwGetType: kwGetType,
|
|
411
|
+
kwGlobal: kwGlobal,
|
|
412
|
+
kwGoTo: kwGoTo,
|
|
413
|
+
kwGroup: kwGroup,
|
|
414
|
+
kwHandles: kwHandles,
|
|
415
|
+
kwIf: kwIf$1,
|
|
416
|
+
kwIfOperator: kwIfOperator$1,
|
|
417
|
+
kwImplements: kwImplements,
|
|
418
|
+
kwImports: kwImports,
|
|
419
|
+
kwIn: kwIn,
|
|
420
|
+
kwInherits: kwInherits,
|
|
421
|
+
kwInterface: kwInterface,
|
|
422
|
+
kwInto: kwInto,
|
|
423
|
+
kwIs: kwIs,
|
|
424
|
+
kwIsNot: kwIsNot,
|
|
425
|
+
kwJoin: kwJoin,
|
|
426
|
+
kwKey: kwKey,
|
|
427
|
+
kwLet: kwLet,
|
|
428
|
+
kwLike: kwLike,
|
|
429
|
+
kwLoop: kwLoop,
|
|
430
|
+
kwMe: kwMe,
|
|
431
|
+
kwMod: kwMod,
|
|
432
|
+
kwModule: kwModule,
|
|
433
|
+
kwMustOverride: kwMustOverride,
|
|
434
|
+
kwMyBase: kwMyBase,
|
|
435
|
+
kwMyClass: kwMyClass,
|
|
436
|
+
kwNameOf: kwNameOf,
|
|
437
|
+
kwNamespace: kwNamespace,
|
|
438
|
+
kwNew: kwNew,
|
|
439
|
+
kwNext: kwNext,
|
|
440
|
+
kwNot: kwNot,
|
|
441
|
+
kwNothing: kwNothing,
|
|
442
|
+
kwOf: kwOf,
|
|
443
|
+
kwOn: kwOn,
|
|
444
|
+
kwOperator: kwOperator,
|
|
445
|
+
kwOption: kwOption,
|
|
446
|
+
kwOr: kwOr,
|
|
447
|
+
kwOrElse: kwOrElse,
|
|
448
|
+
kwOrder: kwOrder,
|
|
449
|
+
kwOut: kwOut,
|
|
450
|
+
kwPreserve: kwPreserve,
|
|
451
|
+
kwProperty: kwProperty,
|
|
452
|
+
kwRaiseEvent: kwRaiseEvent,
|
|
453
|
+
kwReDim: kwReDim,
|
|
454
|
+
kwRemoveHandler: kwRemoveHandler,
|
|
455
|
+
kwReturn: kwReturn,
|
|
456
|
+
kwSelect: kwSelect,
|
|
457
|
+
kwSet: kwSet,
|
|
458
|
+
kwSkip: kwSkip,
|
|
459
|
+
kwStep: kwStep,
|
|
460
|
+
kwStop: kwStop,
|
|
461
|
+
kwStructure: kwStructure,
|
|
462
|
+
kwSub: kwSub,
|
|
463
|
+
kwSyncLock: kwSyncLock,
|
|
464
|
+
kwTake: kwTake,
|
|
465
|
+
kwThen: kwThen,
|
|
466
|
+
kwThrow: kwThrow,
|
|
467
|
+
kwTo: kwTo,
|
|
468
|
+
kwTry: kwTry,
|
|
469
|
+
kwTryCast: kwTryCast,
|
|
470
|
+
kwTypeOf: kwTypeOf,
|
|
471
|
+
kwUntil: kwUntil,
|
|
472
|
+
kwUsing: kwUsing,
|
|
473
|
+
kwWend: kwWend,
|
|
474
|
+
kwWhen: kwWhen,
|
|
475
|
+
kwWhere: kwWhere,
|
|
476
|
+
kwWhile: kwWhile,
|
|
477
|
+
kwWith: kwWith,
|
|
478
|
+
kwXor: kwXor,
|
|
479
|
+
kwYield: kwYield,
|
|
480
|
+
newline: newline$1,
|
|
481
|
+
ofParen: ofParen$1,
|
|
482
|
+
propertyBodyStart: propertyBodyStart$1,
|
|
483
|
+
softNewline: softNewline$1
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
const { Identifier: Identifier$1, PredefinedType, Modifier, ParameterModifier, ConversionFunction, BooleanLiteral, kwIf, kwIfOperator, newline, propertyBodyStart, softNewline, ofParen, } = terms;
|
|
487
|
+
// Every keyword term in the grammar is named `kw` plus the keyword, so the
|
|
488
|
+
// table of keywords comes from the term names.
|
|
489
|
+
const keywords$1 = Object.create(null);
|
|
490
|
+
for (const [name, id] of Object.entries(terms)) {
|
|
491
|
+
if (name.startsWith("kw") && name != "kwIfOperator")
|
|
492
|
+
keywords$1[name.slice(2).toLowerCase()] = id;
|
|
493
|
+
}
|
|
494
|
+
function group(term, words) {
|
|
495
|
+
for (const word of words.split(" "))
|
|
496
|
+
keywords$1[word] = term;
|
|
497
|
+
}
|
|
498
|
+
group(PredefinedType, "boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort");
|
|
499
|
+
group(Modifier, "public private protected friend shared readonly writeonly overrides overridable " +
|
|
500
|
+
"notoverridable overloads shadows mustinherit notinheritable partial default withevents static " +
|
|
501
|
+
"async iterator widening narrowing");
|
|
502
|
+
group(ParameterModifier, "byval byref optional paramarray");
|
|
503
|
+
group(ConversionFunction, "cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort");
|
|
504
|
+
group(BooleanLiteral, "true false");
|
|
505
|
+
function isLetter(ch) {
|
|
506
|
+
return ((ch >= 97 /* Ch.LowerA */ && ch <= 122 /* Ch.LowerZ */) ||
|
|
507
|
+
(ch >= 65 /* Ch.UpperA */ && ch <= 90 /* Ch.UpperZ */) ||
|
|
508
|
+
(ch > 127 && /\p{L}/u.test(String.fromCharCode(ch))));
|
|
509
|
+
}
|
|
510
|
+
function isWordChar(ch) {
|
|
511
|
+
return isLetter(ch) || ch == 95 /* Ch.Underscore */ || (ch >= 48 /* Ch.Digit0 */ && ch <= 57 /* Ch.Digit9 */) ||
|
|
512
|
+
(ch > 127 && /[\p{L}\p{N}\p{Mn}\p{Mc}\p{Pc}]/u.test(String.fromCharCode(ch)));
|
|
513
|
+
}
|
|
514
|
+
function isSpace(ch) {
|
|
515
|
+
return ch == 32 /* Ch.Space */ || ch == 9 /* Ch.Tab */;
|
|
516
|
+
}
|
|
517
|
+
// Reads the word that starts `offset` characters ahead, in lower case.
|
|
518
|
+
function wordAt(input, offset) {
|
|
519
|
+
let word = "";
|
|
520
|
+
for (let ch = input.peek(offset); isWordChar(ch); ch = input.peek(++offset)) {
|
|
521
|
+
word += String.fromCharCode(ch).toLowerCase();
|
|
522
|
+
}
|
|
523
|
+
return { word, end: offset };
|
|
524
|
+
}
|
|
525
|
+
function skipSpaces(input, offset) {
|
|
526
|
+
while (isSpace(input.peek(offset)))
|
|
527
|
+
offset++;
|
|
528
|
+
return offset;
|
|
529
|
+
}
|
|
530
|
+
// `If(a, b, c)` is an operator, and `If (a) Then` starts a statement. The
|
|
531
|
+
// operator always has a comma inside its brackets.
|
|
532
|
+
function ternaryAhead(input, offset) {
|
|
533
|
+
offset = skipSpaces(input, offset);
|
|
534
|
+
if (input.peek(offset) != 40 /* Ch.ParenL */)
|
|
535
|
+
return false;
|
|
536
|
+
let depth = 0;
|
|
537
|
+
for (let i = offset; i < offset + 5000; i++) {
|
|
538
|
+
const ch = input.peek(i);
|
|
539
|
+
if (ch < 0)
|
|
540
|
+
return false;
|
|
541
|
+
if (ch == 34 /* Ch.Quote */) {
|
|
542
|
+
for (i++;; i++) {
|
|
543
|
+
const c = input.peek(i);
|
|
544
|
+
if (c < 0 || c == 10 /* Ch.Newline */)
|
|
545
|
+
return false;
|
|
546
|
+
if (c == 34 /* Ch.Quote */) {
|
|
547
|
+
if (input.peek(i + 1) == 34 /* Ch.Quote */)
|
|
548
|
+
i++;
|
|
549
|
+
else
|
|
550
|
+
break;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
else if (ch == 40 /* Ch.ParenL */ || ch == 123 /* Ch.BraceL */) {
|
|
555
|
+
depth++;
|
|
556
|
+
}
|
|
557
|
+
else if (ch == 41 /* Ch.ParenR */ || ch == 125 /* Ch.BraceR */) {
|
|
558
|
+
if (--depth == 0)
|
|
559
|
+
return false;
|
|
560
|
+
}
|
|
561
|
+
else if (ch == 44 /* Ch.Comma */ && depth == 1) {
|
|
562
|
+
return true;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return false;
|
|
566
|
+
}
|
|
567
|
+
const words = new ExternalTokenizer((input, stack) => {
|
|
568
|
+
const start = input.next;
|
|
569
|
+
if (start == 91 /* Ch.BracketL */) {
|
|
570
|
+
// `[Select]` is a name, even though `Select` is a keyword.
|
|
571
|
+
let i = 1;
|
|
572
|
+
while (isWordChar(input.peek(i)))
|
|
573
|
+
i++;
|
|
574
|
+
if (i > 1 && input.peek(i) == 93 /* Ch.BracketR */)
|
|
575
|
+
input.acceptToken(Identifier$1, i + 1);
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
if (!isLetter(start) && !(start == 95 /* Ch.Underscore */ && isWordChar(input.peek(1))))
|
|
579
|
+
return;
|
|
580
|
+
const { word, end } = wordAt(input, 0);
|
|
581
|
+
input.acceptToken(chooseTerm(word, end, input, stack), end);
|
|
582
|
+
}, { contextual: true });
|
|
583
|
+
function chooseTerm(word, end, input, stack) {
|
|
584
|
+
if (word == "if") {
|
|
585
|
+
const operator = stack.canShift(kwIfOperator);
|
|
586
|
+
const statement = stack.canShift(kwIf);
|
|
587
|
+
if (operator && (!statement || ternaryAhead(input, end)))
|
|
588
|
+
return kwIfOperator;
|
|
589
|
+
if (statement || !stack.canShift(Identifier$1))
|
|
590
|
+
return kwIf;
|
|
591
|
+
return Identifier$1;
|
|
592
|
+
}
|
|
593
|
+
const keyword = keywords$1[word];
|
|
594
|
+
if (keyword == null)
|
|
595
|
+
return Identifier$1;
|
|
596
|
+
if (stack.canShift(keyword) || !stack.canShift(Identifier$1))
|
|
597
|
+
return keyword;
|
|
598
|
+
// Where the grammar can't use a keyword, an unreserved one such as `Text` or
|
|
599
|
+
// `Key` is a name, and so is any keyword after a dot, such as `random.Next`.
|
|
600
|
+
// A reserved keyword anywhere else stays a keyword, so that a half-typed
|
|
601
|
+
// line doesn't turn the `End Sub` after it into names.
|
|
602
|
+
if (unreserved.has(word) || afterDot$1(input))
|
|
603
|
+
return Identifier$1;
|
|
604
|
+
return keyword;
|
|
605
|
+
}
|
|
606
|
+
const unreserved = new Set(("aggregate ansi assembly async auto await binary by compare custom distinct equals explicit " +
|
|
607
|
+
"from group infer into isfalse istrue iterator join key mid off order out preserve skip " +
|
|
608
|
+
"strict take text unicode until where yield ascending descending").split(" "));
|
|
609
|
+
// A line can end with the dot, as in `xs.Where(...).` with `Select(...)` on
|
|
610
|
+
// the next line, so line breaks are skipped too.
|
|
611
|
+
function afterDot$1(input) {
|
|
612
|
+
let offset = -1;
|
|
613
|
+
for (;;) {
|
|
614
|
+
const ch = input.peek(offset);
|
|
615
|
+
if (isSpace(ch) || ch == 10 /* Ch.Newline */ || ch == 13 /* Ch.Return */)
|
|
616
|
+
offset--;
|
|
617
|
+
else if (ch == 95 /* Ch.Underscore */ && isSpace(input.peek(offset - 1)))
|
|
618
|
+
offset--;
|
|
619
|
+
else
|
|
620
|
+
return ch == 46 /* Ch.Dot */;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
// Skips the line break at `offset`, and any blank or comment lines after it,
|
|
624
|
+
// and returns the offset of the first character of code.
|
|
625
|
+
function nextCodeLine(input, offset) {
|
|
626
|
+
for (;;) {
|
|
627
|
+
offset = skipSpaces(input, offset);
|
|
628
|
+
const ch = input.peek(offset);
|
|
629
|
+
if (ch == 39 /* Ch.Apostrophe */) {
|
|
630
|
+
while (input.peek(offset) >= 0 && input.peek(offset) != 10 /* Ch.Newline */)
|
|
631
|
+
offset++;
|
|
632
|
+
}
|
|
633
|
+
else if (ch == 13 /* Ch.Return */ || ch == 10 /* Ch.Newline */) {
|
|
634
|
+
offset++;
|
|
635
|
+
}
|
|
636
|
+
else {
|
|
637
|
+
return offset;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
const accessModifiers = new Set(["public", "private", "protected", "friend"]);
|
|
642
|
+
// Does the next line of code start a property's Get or Set block?
|
|
643
|
+
function accessorAhead(input) {
|
|
644
|
+
let offset = nextCodeLine(input, 0);
|
|
645
|
+
for (;;) {
|
|
646
|
+
if (input.peek(offset) == 60 /* Ch.Less */) {
|
|
647
|
+
while (input.peek(offset) >= 0 && input.peek(offset) != 62 /* Ch.Greater */)
|
|
648
|
+
offset++;
|
|
649
|
+
offset = nextCodeLine(input, offset + 1);
|
|
650
|
+
continue;
|
|
651
|
+
}
|
|
652
|
+
const { word, end } = wordAt(input, offset);
|
|
653
|
+
if (accessModifiers.has(word)) {
|
|
654
|
+
offset = skipSpaces(input, end);
|
|
655
|
+
continue;
|
|
656
|
+
}
|
|
657
|
+
return word == "get" || word == "set";
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
const queryClauses = new Set([
|
|
661
|
+
"where", "select", "order", "group", "join", "take", "skip", "let", "distinct", "aggregate",
|
|
662
|
+
"from", "into",
|
|
663
|
+
]);
|
|
664
|
+
// A query can carry on over several lines, with each clause on a line of its
|
|
665
|
+
// own.
|
|
666
|
+
function queryClauseAhead(input, stack) {
|
|
667
|
+
const offset = skipSpaces(input, 0);
|
|
668
|
+
const { word } = wordAt(input, offset);
|
|
669
|
+
return queryClauses.has(word) && stack.canShift(keywords$1[word]);
|
|
670
|
+
}
|
|
671
|
+
const newlines = new ExternalTokenizer((input, stack) => {
|
|
672
|
+
if (input.next == 13 /* Ch.Return */) {
|
|
673
|
+
input.advance();
|
|
674
|
+
if (input.next == 10 /* Ch.Newline */)
|
|
675
|
+
input.advance();
|
|
676
|
+
}
|
|
677
|
+
else if (input.next == 10 /* Ch.Newline */) {
|
|
678
|
+
input.advance();
|
|
679
|
+
}
|
|
680
|
+
else {
|
|
681
|
+
return;
|
|
682
|
+
}
|
|
683
|
+
if (stack.canShift(propertyBodyStart) && accessorAhead(input)) {
|
|
684
|
+
input.acceptToken(propertyBodyStart);
|
|
685
|
+
}
|
|
686
|
+
else if (stack.canShift(newline) && !queryClauseAhead(input, stack)) {
|
|
687
|
+
input.acceptToken(newline);
|
|
688
|
+
}
|
|
689
|
+
else {
|
|
690
|
+
input.acceptToken(softNewline);
|
|
691
|
+
}
|
|
692
|
+
}, { contextual: true });
|
|
693
|
+
const ofParens = new ExternalTokenizer((input) => {
|
|
694
|
+
if (input.next != 40 /* Ch.ParenL */)
|
|
695
|
+
return;
|
|
696
|
+
const offset = skipSpaces(input, 1);
|
|
697
|
+
const { word } = wordAt(input, offset);
|
|
698
|
+
if (word == "of")
|
|
699
|
+
input.acceptToken(ofParen, 1);
|
|
700
|
+
});
|
|
701
|
+
|
|
702
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
703
|
+
const parser = LRParser.deserialize({
|
|
704
|
+
version: 14,
|
|
705
|
+
states: "$>xQ!pQ]OOO!zQ]O'#EvO#PQ]O'#EwOOQT'#JV'#JVOOQT'#Ib'#IbO$YQ]O'#JXO$aQ]O'#FTOOQT'#IT'#ITO$lQ]O'#JXO%[Q]O'#HmO%oQ]O'#HrOOQP'#Js'#JsOOQP'#JW'#JWO%tQ]O'#E}OOQP'#JT'#JTO%|Q]O'#I{Q&ZQXOOQ&ZQXOOO&cQ]O,5;bO'VQXO'#ExO&tQXO'#EzOOQP'#JU'#JUO'^QXO'#JUO'cQXO,5;cOOQV'#Ex'#ExOOQT-E<`-E<`O'qQ]O'#JfO(`Q]O'#GhO(tQXO,5>^O%oQ]O,5>^OOQV'#FV'#FVO)SQXO'#JYO)bQXO'#FUO)mQXO,5;oO)uQXO,5>kO*oQ]O,5?sO+SQ]O'#FTOOQT-E<R-E<RO+XQ]O,5>VO%oQ]O,5>WO%oQ]O,5>XO+aQ]O,5>[O%oQ]O,5>]O,qQ]O,5>_O%oQ]O,5;lO%oQ]O,5>`O%oQ]O,5>aO%oQ]O,5>bO%oQ]O,5>gO-PQ]O,5>jO&t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vS'g$h+hS+d'f'hR/S+gQ#r!^R&d#oQ!ckQ$s!qQ$y!rQ$|!uQ%]#OS(e$t$uQ(q$zQ(s${S(w%R%SQ)e%^Y*l&h9q;a;b<oQ*r&jQ+f'gQ,l(fU,z(u(v(yS-f)f)gY.`*g:U;k;l<pQ/Q+dQ/l+zS0a,|,}Q0t-gQ2R/SQ3Y0bQ3a0lQ3d0mS5i3b3cQ5k3eQ6q5OQ7T5jR:}:{!y([$l$q(](_(c(r*k*p,O,Q,f,j,y._.b/g/o/s/u/v/}0R0T1k2^2j2r2|3O4|5S6]6e6i6o7g7p7s7w8b8k8x8{Q!ckQ$y!rR(q$zQ4q2aR7n6cQ+{'sR/n+|!x(Y$l$q(](_(c(r*k*p,O,Q,f,j,y._.b/g/o/s/u/v/}0R0T1k2^2j2r2|3O4|5S6]6e6i6o7g7p7s7w8b8k8x8{S2_/h1nY6`4l8Y:k:l<TQ7]:cQ;_;sQ;`;tR<n:dY*m&i9r9s9t<UZ.a*h:V:W:X<VQ&k#uS&l#v;yQ*y&qQ-r9dS.h*s;OR<j<zX&s#w&t)o-sQ.k*vQ3s:ZT4V1r:e])O%T%V%W)P)R)US^O_](|%T%V%W)P)R)UQ$m!pQ$r!qS(`$n$oU(d$s$t$uQ,g(aS,k(e(fR0S,lR!tyV)Y%Y)Z)]",
|
|
708
|
+
nodeNames: "⚠ ( Identifier PredefinedType Modifier ParameterModifier ConversionFunction BooleanLiteral AddHandler AddressOf Aggregate And AndAlso As Ascending Assembly Await By Call Case Catch Class Const Continue CType Delegate Descending Dim DirectCast Distinct Do Each Else ElseIf End Enum Equals Erase Event Exit Finally For From Function Get GetType Global GoTo Group Handles If If Implements Imports In Inherits Interface Into Is IsNot Join Key Let Like Loop Me Mod MustOverride Module MyBase MyClass NameOf Namespace New Next Not Nothing Of On Operator Option Or Order OrElse Out Preserve Property RaiseEvent ReDim RemoveHandler Return Select Set Skip Step Stop Structure Sub SyncLock Take Then Throw To Try TryCast TypeOf Until Using Wend When Where While With Xor Yield Comment Directive Program OptionStatement ImportsStatement Definition = QualifiedName . , NamespaceDeclaration : NamespaceBody ClassDeclaration > < AttributeList Attribute TypeName ) ( ArgList Number String Character InterpolatedStringEnd InterpolatedString InterpolatedStringStart Escape } { Interpolation FormatSpec ParenthesizedExpression TupleExpression NamedArgument ArgumentName := ConditionalExpression CastExpression TupleType ? ArrayRank NamedType TypeArguments ConversionExpression GetTypeExpression NameOfExpression ObjectCreationExpression NamedType ObjectInitializer FieldInitializer PropertyName CollectionInitializer ArrayLiteral WithMemberExpression MemberExpression ?. CallExpression BinaryExpression ^ * / \\ + - & << >> CompareOp UnaryExpression NotExpression AwaitExpression AddressOfExpression TypeOfExpression Lambda ParamList Parameter ArrayBounds Block LocalDeclaration VariableDeclarator IfStatement ElseIfClause ElseClause SelectStatement CaseClause ForStatement ForEachStatement WhileStatement DoStatement TryStatement CatchClause FinallyClause WithStatement UsingStatement SyncLockStatement ReturnStatement ExitStatement ContinueStatement ThrowStatement ReDimStatement EraseStatement YieldStatement CallStatement HandlerStatement RaiseEventStatement StopStatement GoToStatement SingleLineIfStatement AssignmentStatement AssignOp ExpressionStatement QueryExpression FromClause AggregateClause QueryClause QueryClause QueryClause QueryClause QueryClause QueryClause QueryClause QueryClause QueryClause TypeParameters TypeParameter ClassBody InheritsStatement ImplementsStatement SubDeclaration FunctionDeclaration PropertyDeclaration AccessorList Accessor OperatorDeclaration EventDeclaration FieldDeclaration MustOverrideDeclaration ModuleDeclaration StructureDeclaration InterfaceDeclaration InterfaceBody SubSignature FunctionSignature PropertySignature EnumDeclaration EnumBody EnumMember DelegateDeclaration AttributeStatement",
|
|
709
|
+
maxTerm: 348,
|
|
710
|
+
nodeProps: [
|
|
711
|
+
["group", -32,2,3,7,46,65,69,70,76,137,138,139,141,148,149,153,154,160,161,162,163,169,170,171,173,174,185,186,187,188,189,190,228,"Expression"],
|
|
712
|
+
["openedBy", 129,"<",134,"(",144,"{"],
|
|
713
|
+
["closedBy", 130,">",135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725
|
+
snippetCompletion("Module ${Name}\n\t${}\nEnd Module", { label: "Module", detail: "definition", type: "keyword" }),
|
|
726
|
+
snippetCompletion("Public Class ${Name}\n\t${}\nEnd Class", { label: "Class", detail: "definition", type: "keyword" }),
|
|
727
|
+
snippetCompletion("Public Structure ${Name}\n\t${}\nEnd Structure", {
|
|
728
|
+
label: "Structure",
|
|
729
|
+
detail: "definition",
|
|
730
|
+
type: "keyword",
|
|
731
|
+
}),
|
|
732
|
+
snippetCompletion("Public Enum ${Name}\n\t${}\nEnd Enum", { label: "Enum", detail: "definition", type: "keyword" }),
|
|
733
|
+
snippetCompletion("Public Interface ${IName}\n\t${}\nEnd Interface", {
|
|
734
|
+
label: "Interface",
|
|
735
|
+
detail: "definition",
|
|
736
|
+
type: "keyword",
|
|
737
|
+
}),
|
|
738
|
+
snippetCompletion("Public Function ${Name}(${}) As ${Integer}\n\t${}\nEnd Function", {
|
|
739
|
+
label: "Function",
|
|
740
|
+
detail: "definition",
|
|
741
|
+
type: "keyword",
|
|
742
|
+
}),
|
|
743
|
+
snippetCompletion("Public Sub ${Name}(${})\n\t${}\nEnd Sub", { label: "Sub", detail: "definition", type: "keyword" }),
|
|
744
|
+
snippetCompletion("Public Sub New(${})\n\t${}\nEnd Sub", { label: "Sub New", detail: "constructor", type: "keyword" }),
|
|
745
|
+
snippetCompletion("Public Property ${Name} As ${Integer}", { label: "Property", detail: "auto", type: "keyword" }),
|
|
746
|
+
snippetCompletion("Public Property ${Name} As ${Integer}\n\tGet\n\t\t${}\n\tEnd Get\n\tSet(value As ${Integer})\n\t\t${}\n\tEnd Set\nEnd Property", {
|
|
747
|
+
label: "Property",
|
|
748
|
+
detail: "/ Get / Set",
|
|
749
|
+
type: "keyword",
|
|
750
|
+
}),
|
|
751
|
+
snippetCompletion("If ${} Then\n\t${}\nEnd If", { label: "If", detail: "block", type: "keyword" }),
|
|
752
|
+
snippetCompletion("If ${} Then\n\t${}\nElse\n\t${}\nEnd If", { label: "If", detail: "/ Else block", type: "keyword" }),
|
|
753
|
+
snippetCompletion("If ${} Then\n\t${}\nElseIf ${} Then\n\t${}\nElse\n\t${}\nEnd If", {
|
|
754
|
+
label: "If",
|
|
755
|
+
detail: "/ ElseIf / Else block",
|
|
756
|
+
type: "keyword",
|
|
757
|
+
}),
|
|
758
|
+
snippetCompletion("ElseIf ${} Then\n\t${}", { label: "ElseIf", detail: "block", type: "keyword" }),
|
|
759
|
+
snippetCompletion("For ${i} = ${0} To ${n}\n\t${}\nNext", { label: "For", detail: "/ Next loop", type: "keyword" }),
|
|
760
|
+
snippetCompletion("For Each ${item} In ${collection}\n\t${}\nNext", {
|
|
761
|
+
label: "For Each",
|
|
762
|
+
detail: "loop",
|
|
763
|
+
type: "keyword",
|
|
764
|
+
}),
|
|
765
|
+
snippetCompletion("While ${}\n\t${}\nEnd While", { label: "While", detail: "loop", type: "keyword" }),
|
|
766
|
+
snippetCompletion("Do While ${}\n\t${}\nLoop", { label: "Do", detail: "/ Loop", type: "keyword" }),
|
|
767
|
+
snippetCompletion("Select Case ${}\n\tCase ${}\n\t\t${}\n\tCase Else\n\t\t${}\nEnd Select", {
|
|
768
|
+
label: "Select Case",
|
|
769
|
+
detail: "statement",
|
|
770
|
+
type: "keyword",
|
|
771
|
+
}),
|
|
772
|
+
snippetCompletion("Try\n\t${}\nCatch ${ex} As ${Exception}\n\t${}\nEnd Try", {
|
|
773
|
+
label: "Try",
|
|
774
|
+
detail: "/ Catch block",
|
|
775
|
+
type: "keyword",
|
|
776
|
+
}),
|
|
777
|
+
snippetCompletion("Try\n\t${}\nFinally\n\t${}\nEnd Try", { label: "Try", detail: "/ Finally block", type: "keyword" }),
|
|
778
|
+
snippetCompletion("Using ${name} = ${}\n\t${}\nEnd Using", { label: "Using", detail: "block", type: "keyword" }),
|
|
779
|
+
snippetCompletion("Function(${x}) ${}", { label: "Function", detail: "lambda", type: "keyword" }),
|
|
780
|
+
snippetCompletion("Imports ${System}", { label: "Imports", detail: "statement", type: "keyword" }),
|
|
781
|
+
snippetCompletion('Throw New ${ArgumentException}(${})', { label: "Throw", detail: "new exception", type: "keyword" }),
|
|
782
|
+
];
|
|
783
|
+
// Nodes that hold names of their own. When the cursor is inside one, the names
|
|
784
|
+
// it holds are in scope, and nothing outside it can see them.
|
|
785
|
+
const scopeNodes = new Set([
|
|
786
|
+
"Program", "NamespaceDeclaration", "ClassDeclaration", "ModuleDeclaration",
|
|
787
|
+
"StructureDeclaration", "InterfaceDeclaration", "EnumDeclaration", "DelegateDeclaration",
|
|
788
|
+
"SubDeclaration", "FunctionDeclaration", "OperatorDeclaration", "PropertyDeclaration",
|
|
789
|
+
"MustOverrideDeclaration", "SubSignature", "FunctionSignature", "PropertySignature",
|
|
790
|
+
"EventDeclaration", "Accessor", "Block", "Lambda", "QueryExpression", "ForStatement",
|
|
791
|
+
"ForEachStatement", "CatchClause", "UsingStatement",
|
|
792
|
+
]);
|
|
793
|
+
// Declarations whose Definition is their own name. That name belongs to the
|
|
794
|
+
// scope around the declaration.
|
|
795
|
+
const ownName = new Set([
|
|
796
|
+
"ClassDeclaration", "ModuleDeclaration", "StructureDeclaration", "InterfaceDeclaration",
|
|
797
|
+
"EnumDeclaration", "DelegateDeclaration", "SubDeclaration", "FunctionDeclaration",
|
|
798
|
+
"PropertyDeclaration", "MustOverrideDeclaration", "SubSignature", "FunctionSignature",
|
|
799
|
+
"PropertySignature", "EventDeclaration",
|
|
800
|
+
]);
|
|
801
|
+
// For each node that can hold a Definition, the kind of completion its name
|
|
802
|
+
// becomes.
|
|
803
|
+
const definitionKinds = {
|
|
804
|
+
ClassDeclaration: "class",
|
|
805
|
+
StructureDeclaration: "class",
|
|
806
|
+
ModuleDeclaration: "namespace",
|
|
807
|
+
InterfaceDeclaration: "interface",
|
|
808
|
+
EnumDeclaration: "enum",
|
|
809
|
+
DelegateDeclaration: "type",
|
|
810
|
+
TypeParameter: "type",
|
|
811
|
+
EnumMember: "constant",
|
|
812
|
+
SubDeclaration: "method",
|
|
813
|
+
FunctionDeclaration: "method",
|
|
814
|
+
MustOverrideDeclaration: "method",
|
|
815
|
+
SubSignature: "method",
|
|
816
|
+
FunctionSignature: "method",
|
|
817
|
+
PropertyDeclaration: "property",
|
|
818
|
+
PropertySignature: "property",
|
|
819
|
+
EventDeclaration: "property",
|
|
820
|
+
ImportsStatement: "namespace",
|
|
821
|
+
Parameter: "variable",
|
|
822
|
+
VariableDeclarator: "variable",
|
|
823
|
+
ForStatement: "variable",
|
|
824
|
+
ForEachStatement: "variable",
|
|
825
|
+
CatchClause: "variable",
|
|
826
|
+
FromClause: "variable",
|
|
827
|
+
AggregateClause: "variable",
|
|
828
|
+
QueryClause: "variable",
|
|
829
|
+
};
|
|
830
|
+
function kindOf(def) {
|
|
831
|
+
var _a;
|
|
832
|
+
const parent = def.parent;
|
|
833
|
+
if (!parent)
|
|
834
|
+
return null;
|
|
835
|
+
const kind = definitionKinds[parent.name];
|
|
836
|
+
if (kind == "variable" && parent.name == "VariableDeclarator" && ((_a = parent.parent) === null || _a === void 0 ? void 0 : _a.name) == "FieldDeclaration") {
|
|
837
|
+
return "property";
|
|
838
|
+
}
|
|
839
|
+
return kind || null;
|
|
840
|
+
}
|
|
841
|
+
const cache = new NodeWeakMap();
|
|
842
|
+
function getScope(doc, node) {
|
|
843
|
+
const cached = cache.get(node);
|
|
844
|
+
if (cached)
|
|
845
|
+
return cached;
|
|
846
|
+
const completions = [];
|
|
847
|
+
const seen = new Set();
|
|
848
|
+
const add = (def) => {
|
|
849
|
+
const kind = kindOf(def);
|
|
850
|
+
const label = doc.sliceString(def.from, def.to);
|
|
851
|
+
if (kind && label && !seen.has(label.toLowerCase())) {
|
|
852
|
+
seen.add(label.toLowerCase());
|
|
853
|
+
completions.push({ label, type: kind });
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
node.cursor(IterMode.IncludeAnonymous).iterate((cur) => {
|
|
857
|
+
if (cur.from == node.from && cur.to == node.to && cur.name == node.name)
|
|
858
|
+
return;
|
|
859
|
+
if (cur.name == "Definition") {
|
|
860
|
+
// A declaration's own name is offered in the scope around it.
|
|
861
|
+
if (ownName.has(node.name) && cur.node.parent.from == node.from && cur.node.parent.name == node.name) {
|
|
862
|
+
return false;
|
|
863
|
+
}
|
|
864
|
+
add(cur.node);
|
|
865
|
+
return false;
|
|
866
|
+
}
|
|
867
|
+
// A nested scope keeps its names to itself, apart from a declaration's own
|
|
868
|
+
// name.
|
|
869
|
+
if (scopeNodes.has(cur.name)) {
|
|
870
|
+
if (ownName.has(cur.name)) {
|
|
871
|
+
const def = cur.node.getChild("Definition");
|
|
872
|
+
if (def)
|
|
873
|
+
add(def);
|
|
874
|
+
}
|
|
875
|
+
return false;
|
|
876
|
+
}
|
|
877
|
+
// The names of a tuple's elements are not variables.
|
|
878
|
+
if (cur.name == "TupleType")
|
|
879
|
+
return false;
|
|
880
|
+
});
|
|
881
|
+
cache.set(node, completions);
|
|
882
|
+
return completions;
|
|
883
|
+
}
|
|
884
|
+
const Identifier = /^\[?[\w\xa1-]*\]?$/;
|
|
885
|
+
// Places where completing a name would get in the way: inside strings and
|
|
886
|
+
// comments, and where a new name is being written.
|
|
887
|
+
const dontComplete = new Set([
|
|
888
|
+
"String", "Character", "InterpolatedString", "InterpolatedStringStart", "InterpolatedStringEnd",
|
|
889
|
+
"Escape", "FormatSpec", "Comment", "Directive", "Number", "Definition", "ArgumentName",
|
|
890
|
+
]);
|
|
891
|
+
function inExcluded(node) {
|
|
892
|
+
for (let pos = node; pos; pos = pos.parent) {
|
|
893
|
+
if (pos.name == "Interpolation")
|
|
894
|
+
return false;
|
|
895
|
+
if (dontComplete.has(pos.name))
|
|
896
|
+
return true;
|
|
897
|
+
}
|
|
898
|
+
return false;
|
|
899
|
+
}
|
|
900
|
+
// The `.` in front of the cursor, if the word being typed follows one.
|
|
901
|
+
function dotBefore(node) {
|
|
902
|
+
if (node.name == "." || node.name == "?.")
|
|
903
|
+
return node;
|
|
904
|
+
if (node.name == "Identifier" && node.parent)
|
|
905
|
+
node = node.parent;
|
|
906
|
+
if (node.name == "PropertyName" || node.name == "TypeName" || node.type.isError) {
|
|
907
|
+
const prev = node.prevSibling;
|
|
908
|
+
if (prev && (prev.name == "." || prev.name == "?."))
|
|
909
|
+
return prev;
|
|
910
|
+
}
|
|
911
|
+
return null;
|
|
912
|
+
}
|
|
913
|
+
// Error recovery can leave the cursor just after a `.` with nothing joined to
|
|
914
|
+
// it, so the text decides as well.
|
|
915
|
+
function afterDot(context, node) {
|
|
916
|
+
return !!dotBefore(node) || /\??\.[\w\xa1-]*$/.test(context.state.sliceDoc(Math.max(0, context.pos - 80), context.pos));
|
|
917
|
+
}
|
|
918
|
+
function wordBefore(context) {
|
|
919
|
+
return context.matchBefore(/\[?[\w\xa1-]+/);
|
|
920
|
+
}
|
|
921
|
+
/// Completion source that offers the names declared in the file and in scope
|
|
922
|
+
/// at the cursor: types, members of the enclosing types, parameters and
|
|
923
|
+
/// locals.
|
|
924
|
+
const localCompletionSource = (context) => {
|
|
925
|
+
const inner = syntaxTree(context.state).resolveInner(context.pos, -1);
|
|
926
|
+
if (inExcluded(inner) || afterDot(context, inner))
|
|
927
|
+
return null;
|
|
928
|
+
const word = wordBefore(context);
|
|
929
|
+
if (!word && !context.explicit)
|
|
930
|
+
return null;
|
|
931
|
+
let options = [];
|
|
932
|
+
for (let pos = inner; pos; pos = pos.parent) {
|
|
933
|
+
if (scopeNodes.has(pos.name))
|
|
934
|
+
options = options.concat(getScope(context.state.doc, pos));
|
|
935
|
+
}
|
|
936
|
+
return { options, from: word ? word.from : context.pos, validFor: Identifier };
|
|
937
|
+
};
|
|
938
|
+
const keywords = ("AddHandler AddressOf And AndAlso As Async Await ByRef ByVal Call Case Catch Class Const " +
|
|
939
|
+
"Continue CType Delegate Dim DirectCast Do Each Else ElseIf End Enum Erase Event Exit False " +
|
|
940
|
+
"Finally For Friend From Function Get GetType Global Handles If Implements Imports In Inherits " +
|
|
941
|
+
"Interface Is IsNot Iterator Key Like Loop Me Mod Module MustInherit MustOverride MyBase " +
|
|
942
|
+
"NameOf Namespace New Next Not Nothing NotInheritable NotOverridable Of Operator Option " +
|
|
943
|
+
"Optional Or OrElse Overloads Overridable Overrides ParamArray Partial Preserve Private " +
|
|
944
|
+
"Property Protected Public RaiseEvent ReadOnly ReDim RemoveHandler Return Select Set Shadows " +
|
|
945
|
+
"Shared Static Step Stop Structure Sub SyncLock Then Throw To True Try TryCast TypeOf Until " +
|
|
946
|
+
"Using When Where While With WriteOnly Xor Yield")
|
|
947
|
+
.split(" ")
|
|
948
|
+
.map((label) => ({ label, type: "keyword" }));
|
|
949
|
+
// The types written as keywords, and the corner of the .NET library that
|
|
950
|
+
// exercises reach for most.
|
|
951
|
+
const types = ("Boolean Byte Char Date Decimal Double Integer Long Object SByte Short Single String " +
|
|
952
|
+
"UInteger ULong UShort " +
|
|
953
|
+
"List Dictionary HashSet Queue Stack Array IEnumerable ICollection IList IDictionary " +
|
|
954
|
+
"IReadOnlyList IReadOnlyDictionary IComparable IEquatable IDisposable Exception " +
|
|
955
|
+
"ArgumentException ArgumentOutOfRangeException ArgumentNullException InvalidOperationException " +
|
|
956
|
+
"NotImplementedException Console Math Convert Enumerable StringBuilder Regex DateTime " +
|
|
957
|
+
"TimeSpan DayOfWeek Environment Strings Random BigInteger Tuple KeyValuePair Func Action " +
|
|
958
|
+
"Predicate Nullable CultureInfo StringComparison StringSplitOptions Linq Text")
|
|
959
|
+
.split(" ")
|
|
960
|
+
.map((label) => ({ label, type: "type" }));
|
|
961
|
+
// Visual Basic's own functions, which need no type in front of them.
|
|
962
|
+
const functions = ("CBool CByte CChar CDate CDbl CDec CInt CLng CObj CShort CSng CStr " +
|
|
963
|
+
"Len Mid Left Right UCase LCase Trim InStr Asc AscW Chr ChrW Val Int Fix IsNumeric IsNothing StrReverse")
|
|
964
|
+
.split(" ")
|
|
965
|
+
.map((label) => ({ label, type: "function" }));
|
|
966
|
+
// Members are offered after a dot, where they are what people type next.
|
|
967
|
+
const members = ("WriteLine ReadLine Write ToString Parse TryParse Length Count Add AddRange Remove RemoveAt " +
|
|
968
|
+
"Contains ContainsKey TryGetValue IndexOf Substring Split Join Replace Trim ToUpper ToLower " +
|
|
969
|
+
"ToCharArray StartsWith EndsWith PadLeft PadRight Insert IsNullOrEmpty IsNullOrWhiteSpace " +
|
|
970
|
+
"IsDigit IsLetter IsUpper IsLower IsWhiteSpace IsLetterOrDigit Select SelectMany Where OrderBy " +
|
|
971
|
+
"OrderByDescending ThenBy GroupBy Distinct First FirstOrDefault Last LastOrDefault Single Any " +
|
|
972
|
+
"All Sum Min Max Average Range Repeat Empty ToArray ToList ToDictionary ToHashSet Aggregate " +
|
|
973
|
+
"Zip Skip Take TakeWhile SkipWhile Reverse Equals GetHashCode GetType Format Concat Sort " +
|
|
974
|
+
"Clear Abs Pow Sqrt Floor Ceiling Round Now Today Value HasValue Keys Values Key Item")
|
|
975
|
+
.split(" ")
|
|
976
|
+
.map((label) => ({ label, type: "method" }));
|
|
977
|
+
const keywordList = completeFromList([...snippets, ...keywords, ...types, ...functions]);
|
|
978
|
+
/// Keywords, snippets, Visual Basic's functions and common .NET types,
|
|
979
|
+
/// offered wherever a name could start.
|
|
980
|
+
const keywordCompletionSource = (context) => {
|
|
981
|
+
const inner = syntaxTree(context.state).resolveInner(context.pos, -1);
|
|
982
|
+
if (inExcluded(inner) || afterDot(context, inner))
|
|
983
|
+
return null;
|
|
984
|
+
return keywordList(context);
|
|
985
|
+
};
|
|
986
|
+
const memberKinds = new Set(["property", "method"]);
|
|
987
|
+
function enclosingType(node) {
|
|
988
|
+
for (let pos = node; pos; pos = pos.parent) {
|
|
989
|
+
if (pos.name == "ClassDeclaration" || pos.name == "StructureDeclaration" || pos.name == "ModuleDeclaration") {
|
|
990
|
+
return pos;
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
return null;
|
|
994
|
+
}
|
|
995
|
+
// The declaration in the file that a name such as `Colour` in `Colour.Red`
|
|
996
|
+
// refers to.
|
|
997
|
+
function declarationNamed(doc, tree, name) {
|
|
998
|
+
let found = null;
|
|
999
|
+
const lower = name.toLowerCase();
|
|
1000
|
+
tree.cursor().iterate((cur) => {
|
|
1001
|
+
if (found)
|
|
1002
|
+
return false;
|
|
1003
|
+
if (ownName.has(cur.name) || cur.name == "EnumDeclaration") {
|
|
1004
|
+
const def = cur.node.getChild("Definition");
|
|
1005
|
+
if (def && doc.sliceString(def.from, def.to).toLowerCase() == lower) {
|
|
1006
|
+
found = cur.node;
|
|
1007
|
+
return false;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
});
|
|
1011
|
+
return found;
|
|
1012
|
+
}
|
|
1013
|
+
/// Members offered after a `.`. After `Me.` they are the members of the
|
|
1014
|
+
/// enclosing type. After the name of an enum, class or module declared in the
|
|
1015
|
+
/// file, they are its members. After anything else they are the common .NET
|
|
1016
|
+
/// members.
|
|
1017
|
+
const memberCompletionSource = (context) => {
|
|
1018
|
+
const tree = syntaxTree(context.state);
|
|
1019
|
+
const inner = tree.resolveInner(context.pos, -1);
|
|
1020
|
+
if (inExcluded(inner) || !afterDot(context, inner))
|
|
1021
|
+
return null;
|
|
1022
|
+
const doc = context.state.doc;
|
|
1023
|
+
const word = context.matchBefore(/\[?[\w\xa1-]*/);
|
|
1024
|
+
const from = word ? word.from : context.pos;
|
|
1025
|
+
const before = context.state.sliceDoc(Math.max(0, from - 200), from);
|
|
1026
|
+
const target = /(\[?[\w\xa1-]+\]?)\s*\??\.$/.exec(before);
|
|
1027
|
+
let options = members;
|
|
1028
|
+
if (target) {
|
|
1029
|
+
const name = target[1].replace(/^\[|\]$/g, "");
|
|
1030
|
+
if (/^(me|myclass|mybase)$/i.test(name)) {
|
|
1031
|
+
const type = enclosingType(inner);
|
|
1032
|
+
if (type)
|
|
1033
|
+
options = getScope(doc, type).filter((o) => memberKinds.has(o.type));
|
|
1034
|
+
}
|
|
1035
|
+
else {
|
|
1036
|
+
const decl = declarationNamed(doc, tree.topNode, name);
|
|
1037
|
+
if (decl && decl.name == "EnumDeclaration") {
|
|
1038
|
+
options = getScope(doc, decl).filter((o) => o.type == "constant");
|
|
1039
|
+
}
|
|
1040
|
+
else if (decl && (decl.name == "ClassDeclaration" || decl.name == "ModuleDeclaration" || decl.name == "StructureDeclaration")) {
|
|
1041
|
+
options = getScope(doc, decl).filter((o) => memberKinds.has(o.type)).concat(members);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
return { options, from, validFor: Identifier };
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
// Lines that close a block, or start its next part, line up with the line
|
|
1049
|
+
// that opened it.
|
|
1050
|
+
const closing = /^\s*(End|Else|ElseIf|Catch|Finally|Next|Loop|Wend)\b/i;
|
|
1051
|
+
function blockIndent(context) {
|
|
1052
|
+
if (closing.test(context.textAfter))
|
|
1053
|
+
return context.baseIndent;
|
|
1054
|
+
return context.baseIndent + context.unit;
|
|
1055
|
+
}
|
|
1056
|
+
// The Case lines sit one level inside Select Case, and their statements one
|
|
1057
|
+
// level further in.
|
|
1058
|
+
function selectIndent(context) {
|
|
1059
|
+
if (/^\s*End\b/i.test(context.textAfter))
|
|
1060
|
+
return context.baseIndent;
|
|
1061
|
+
return context.baseIndent + context.unit;
|
|
1062
|
+
}
|
|
1063
|
+
function caseIndent(context) {
|
|
1064
|
+
if (/^\s*(Case|End)\b/i.test(context.textAfter))
|
|
1065
|
+
return context.baseIndent;
|
|
1066
|
+
return context.baseIndent + context.unit;
|
|
1067
|
+
}
|
|
1068
|
+
const blockNodes = "NamespaceDeclaration ClassDeclaration ModuleDeclaration StructureDeclaration " +
|
|
1069
|
+
"InterfaceDeclaration EnumDeclaration SubDeclaration FunctionDeclaration OperatorDeclaration " +
|
|
1070
|
+
"PropertyDeclaration Accessor IfStatement ForStatement ForEachStatement WhileStatement " +
|
|
1071
|
+
"DoStatement TryStatement WithStatement UsingStatement SyncLockStatement Lambda";
|
|
1072
|
+
const bodies = new Set(["Block", "ClassBody", "NamespaceBody", "InterfaceBody", "EnumBody", "AccessorList"]);
|
|
1073
|
+
// A block folds from the end of the line that opens it to the end of its last
|
|
1074
|
+
// line, so the closing `End` line stays in view. An If folds up to its first
|
|
1075
|
+
// ElseIf or Else, which fold on their own.
|
|
1076
|
+
function foldBlock(node, state) {
|
|
1077
|
+
let body = null;
|
|
1078
|
+
for (let child = node.firstChild; child; child = child.nextSibling) {
|
|
1079
|
+
if (bodies.has(child.name)) {
|
|
1080
|
+
body = child;
|
|
1081
|
+
break;
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
let from, to;
|
|
1085
|
+
if (body) {
|
|
1086
|
+
if (body.to <= body.from || !body.prevSibling)
|
|
1087
|
+
return null;
|
|
1088
|
+
from = state.doc.lineAt(body.prevSibling.to).to;
|
|
1089
|
+
to = state.doc.lineAt(body.to - 1).to;
|
|
1090
|
+
}
|
|
1091
|
+
else {
|
|
1092
|
+
from = state.doc.lineAt(node.from).to;
|
|
1093
|
+
to = state.doc.lineAt(node.to).from - 1;
|
|
1094
|
+
}
|
|
1095
|
+
return to > from ? { from, to } : null;
|
|
1096
|
+
}
|
|
1097
|
+
const vbnetLanguage = LRLanguage.define({
|
|
1098
|
+
name: "vbnet",
|
|
1099
|
+
parser: parser.configure({
|
|
1100
|
+
props: [
|
|
1101
|
+
indentNodeProp.add({
|
|
1102
|
+
[blockNodes]: blockIndent,
|
|
1103
|
+
SelectStatement: selectIndent,
|
|
1104
|
+
CaseClause: caseIndent,
|
|
1105
|
+
"ArgList ParamList TupleExpression TupleType TypeArguments TypeParameters ArrayBounds": delimitedIndent({ closing: ")" }),
|
|
1106
|
+
"ArrayLiteral ObjectInitializer": delimitedIndent({ closing: "}" }),
|
|
1107
|
+
}),
|
|
1108
|
+
foldNodeProp.add({
|
|
1109
|
+
[blockNodes + " SelectStatement CaseClause ElseIfClause ElseClause CatchClause FinallyClause"]: foldBlock,
|
|
1110
|
+
"ArgList ArrayLiteral ObjectInitializer": foldInside,
|
|
1111
|
+
}),
|
|
1112
|
+
styleTags({
|
|
1113
|
+
"Class Module Structure Interface Enum Delegate Sub Function Property Operator Event": tags.definitionKeyword,
|
|
1114
|
+
"Dim Const Get Set As Of Inherits Implements Handles Option": tags.definitionKeyword,
|
|
1115
|
+
"Imports Namespace": tags.moduleKeyword,
|
|
1116
|
+
"If Then Else ElseIf End Select Case For Each To Step Next While Wend Do Loop Until": tags.controlKeyword,
|
|
1117
|
+
"Try Catch Finally When Throw Return Exit Continue With Using SyncLock GoTo Stop Yield Call": tags.controlKeyword,
|
|
1118
|
+
"From Where Order By Ascending Descending Take Skip Distinct Let Group Into Join On Equals Aggregate": tags.controlKeyword,
|
|
1119
|
+
"Modifier ParameterModifier MustOverride Preserve Key In Out Assembly": tags.modifier,
|
|
1120
|
+
"And AndAlso Or OrElse Xor Not Mod Is IsNot Like": tags.operatorKeyword,
|
|
1121
|
+
"TypeOf AddressOf New Await GetType NameOf CType DirectCast TryCast": tags.operatorKeyword,
|
|
1122
|
+
"AddHandler RemoveHandler RaiseEvent ReDim Erase": tags.keyword,
|
|
1123
|
+
"Me MyBase MyClass": tags.self,
|
|
1124
|
+
Global: tags.namespace,
|
|
1125
|
+
Nothing: tags.null,
|
|
1126
|
+
BooleanLiteral: tags.bool,
|
|
1127
|
+
Number: tags.number,
|
|
1128
|
+
String: tags.string,
|
|
1129
|
+
Character: tags.character,
|
|
1130
|
+
"InterpolatedString InterpolatedStringStart InterpolatedStringEnd": tags.string,
|
|
1131
|
+
Escape: tags.escape,
|
|
1132
|
+
FormatSpec: tags.special(tags.string),
|
|
1133
|
+
"Interpolation/{ Interpolation/}": tags.special(tags.brace),
|
|
1134
|
+
Comment: tags.lineComment,
|
|
1135
|
+
Directive: tags.processingInstruction,
|
|
1136
|
+
"AttributeList/< AttributeList/>": tags.meta,
|
|
1137
|
+
"Attribute/TypeName!": tags.meta,
|
|
1138
|
+
PredefinedType: tags.standard(tags.typeName),
|
|
1139
|
+
ConversionFunction: tags.standard(tags.function(tags.variableName)),
|
|
1140
|
+
"TypeName!": tags.typeName,
|
|
1141
|
+
"QualifiedName/Identifier": tags.namespace,
|
|
1142
|
+
"ClassDeclaration/Definition! StructureDeclaration/Definition! ModuleDeclaration/Definition!": tags.definition(tags.className),
|
|
1143
|
+
"InterfaceDeclaration/Definition! EnumDeclaration/Definition! DelegateDeclaration/Definition!": tags.definition(tags.typeName),
|
|
1144
|
+
"TypeParameter/Definition!": tags.definition(tags.typeName),
|
|
1145
|
+
"SubDeclaration/Definition! FunctionDeclaration/Definition! MustOverrideDeclaration/Definition!": tags.definition(tags.function(tags.variableName)),
|
|
1146
|
+
"SubSignature/Definition! FunctionSignature/Definition!": tags.definition(tags.function(tags.variableName)),
|
|
1147
|
+
"PropertyDeclaration/Definition! PropertySignature/Definition! EventDeclaration/Definition!": tags.definition(tags.propertyName),
|
|
1148
|
+
"EnumMember/Definition!": tags.definition(tags.propertyName),
|
|
1149
|
+
"ImportsStatement/Definition!": tags.definition(tags.namespace),
|
|
1150
|
+
"Definition!": tags.definition(tags.variableName),
|
|
1151
|
+
"CallExpression/Identifier": tags.function(tags.variableName),
|
|
1152
|
+
"CallExpression/MemberExpression/PropertyName!": tags.function(tags.propertyName),
|
|
1153
|
+
"PropertyName!": tags.propertyName,
|
|
1154
|
+
"ArgumentName!": tags.labelName,
|
|
1155
|
+
Identifier: tags.variableName,
|
|
1156
|
+
'+ - "*" "/" \\ ^ &': tags.arithmeticOperator,
|
|
1157
|
+
"<< >>": tags.bitwiseOperator,
|
|
1158
|
+
"CompareOp < > =": tags.compareOperator,
|
|
1159
|
+
"AssignmentStatement/= VariableDeclarator/= FieldInitializer/= Parameter/=": tags.definitionOperator,
|
|
1160
|
+
AssignOp: tags.updateOperator,
|
|
1161
|
+
":=": tags.definitionOperator,
|
|
1162
|
+
". ?.": tags.derefOperator,
|
|
1163
|
+
"?": tags.operator,
|
|
1164
|
+
"( )": tags.paren,
|
|
1165
|
+
"{ }": tags.brace,
|
|
1166
|
+
", :": tags.separator,
|
|
1167
|
+
}),
|
|
1168
|
+
],
|
|
1169
|
+
}),
|
|
1170
|
+
languageData: {
|
|
1171
|
+
commentTokens: { line: "'" },
|
|
1172
|
+
closeBrackets: { brackets: ["(", "{", '"'] },
|
|
1173
|
+
indentOnInput: /^\s*(End|Else|ElseIf|Case|Catch|Finally|Next|Loop|Wend)\b/i,
|
|
1174
|
+
},
|
|
1175
|
+
});
|
|
1176
|
+
/// Visual Basic language support, with completion for keywords, snippets,
|
|
1177
|
+
/// common .NET types and members, and the names declared in the file.
|
|
1178
|
+
function vbnet() {
|
|
1179
|
+
return new LanguageSupport(vbnetLanguage, [
|
|
1180
|
+
vbnetLanguage.data.of({ autocomplete: localCompletionSource }),
|
|
1181
|
+
vbnetLanguage.data.of({ autocomplete: keywordCompletionSource }),
|
|
1182
|
+
vbnetLanguage.data.of({ autocomplete: memberCompletionSource }),
|
|
1183
|
+
]);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export { keywordCompletionSource, localCompletionSource, memberCompletionSource, parser, snippets, vbnet, vbnetLanguage };
|