sun-form-v3 1.0.51 → 1.0.53
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/abap-DfvySaIJ.js +1404 -0
- package/dist/apex-B__0irD3.js +332 -0
- package/dist/assets/css.worker-OK053IOu.js +84 -0
- package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
- package/dist/assets/html.worker-CL40hqKM.js +458 -0
- package/dist/assets/json.worker-6f9bhSHY.js +42 -0
- package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
- package/dist/azcli-CDMGhRmx.js +74 -0
- package/dist/bat-0Mk8aqzx.js +106 -0
- package/dist/bicep-BBi_I06Z.js +108 -0
- package/dist/cameligo-D0G_Zm6X.js +180 -0
- package/dist/clojure-o2ZKLeMp.js +767 -0
- package/dist/coffee-DOQff5VC.js +238 -0
- package/dist/cpp-CQGJnWhD.js +395 -0
- package/dist/csharp-C1jLsHl8.js +332 -0
- package/dist/csp-C_ttMQaW.js +59 -0
- package/dist/css-BC202kVV.js +193 -0
- package/dist/cssMode-CijMoTZZ.js +1541 -0
- package/dist/cypher-DwtEH7Fi.js +269 -0
- package/dist/dart-D9XknsP2.js +287 -0
- package/dist/dockerfile-DgsNjqqa.js +136 -0
- package/dist/ecl-BAMCHBl6.js +462 -0
- package/dist/elixir-CegIttP8.js +575 -0
- package/dist/flow9-9608t7UV.js +148 -0
- package/dist/freemarker2-D9YBhhWM.js +995 -0
- package/dist/fsharp-CCtt9-1_.js +223 -0
- package/dist/go-CGUIPbct.js +224 -0
- package/dist/graphql-BNRIFFIn.js +157 -0
- package/dist/handlebars-Dhqjd5tc.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-B-mTv9go.js +314 -0
- package/dist/htmlMode-B0tRSzS3.js +1551 -0
- package/dist/index2-Bdli2NxK.js +124568 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-D2ymRpX4.js +76 -0
- package/dist/jsonMode-CGIrxPxy.js +1957 -0
- package/dist/julia-BImNW7VE.js +517 -0
- package/dist/kotlin-BfE79GEb.js +259 -0
- package/dist/less-DglNOcaC.js +168 -0
- package/dist/lexon-BA0dRz9Q.js +163 -0
- package/dist/liquid-k0lS69v2.js +246 -0
- package/dist/lua-DMkWzJcm.js +168 -0
- package/dist/m3-sA-5shO8.js +216 -0
- package/dist/markdown-OYRB1igA.js +235 -0
- package/dist/mdx-CxifJq1N.js +171 -0
- package/dist/mips-rRzkJ_7G.js +204 -0
- package/dist/msdax-DoVJdUhd.js +381 -0
- package/dist/mysql-Ty44IHXo.js +884 -0
- package/dist/objective-c-VUfyhYrA.js +189 -0
- package/dist/pascal-DkASiYyw.js +257 -0
- package/dist/pascaligo-p-ELPlVO.js +170 -0
- package/dist/perl-Cjl1FxLZ.js +632 -0
- package/dist/pgsql-DjVenF7s.js +857 -0
- package/dist/php-CwvGzZOO.js +506 -0
- package/dist/pla-Br1iaBIV.js +143 -0
- package/dist/postiats-BaeP8zZY.js +913 -0
- package/dist/powerquery-CLCshuo8.js +896 -0
- package/dist/powershell-CZV50w5N.js +245 -0
- package/dist/protobuf-MV3XTewJ.js +426 -0
- package/dist/pug-DkDg4c4l.js +408 -0
- package/dist/python-C6Cj0Gak.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-Bv4FKN67.js +556 -0
- package/dist/redis-9sZiddxc.js +308 -0
- package/dist/redshift-DQfTOGC0.js +815 -0
- package/dist/restructuredtext-DXU-vkgr.js +180 -0
- package/dist/ruby-DotfqwMf.js +517 -0
- package/dist/rust-BIauJ5KN.js +349 -0
- package/dist/sb-CmWMvDEV.js +121 -0
- package/dist/scala-C81brEbk.js +376 -0
- package/dist/scheme-D0pcFz2x.js +114 -0
- package/dist/scss-BOdN2fGG.js +268 -0
- package/dist/shell-6E09eAkU.js +227 -0
- package/dist/solidity-CWStzA1K.js +1373 -0
- package/dist/sophia-76Sb6CWe.js +205 -0
- package/dist/sparql-BmZTkOWT.js +207 -0
- package/dist/sql-Cs9TBAW5.js +859 -0
- package/dist/st-B-rqE1Bu.js +422 -0
- package/dist/style.css +1 -0
- package/dist/sun-form-v3.es.js +2 -168
- package/dist/sun-form-v3.umd.js +1909 -1
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-B9h9b9mp.js +886 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-zCW2a0Fk.js +349 -0
- package/dist/typespec-CDWeg3SU.js +123 -0
- package/dist/vb-DEXnYwEI.js +378 -0
- package/dist/wgsl-D602c1lx.js +445 -0
- package/dist/xml-BJSUmOQK.js +101 -0
- package/dist/yaml-DFDANPGB.js +212 -0
- package/package.json +1 -1
@@ -0,0 +1,1404 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var e = {
|
8
|
+
comments: {
|
9
|
+
lineComment: "*"
|
10
|
+
},
|
11
|
+
brackets: [
|
12
|
+
["[", "]"],
|
13
|
+
["(", ")"]
|
14
|
+
]
|
15
|
+
}, t = {
|
16
|
+
defaultToken: "invalid",
|
17
|
+
ignoreCase: !0,
|
18
|
+
tokenPostfix: ".abap",
|
19
|
+
keywords: [
|
20
|
+
"abap-source",
|
21
|
+
"abbreviated",
|
22
|
+
"abstract",
|
23
|
+
"accept",
|
24
|
+
"accepting",
|
25
|
+
"according",
|
26
|
+
"activation",
|
27
|
+
"actual",
|
28
|
+
"add",
|
29
|
+
"add-corresponding",
|
30
|
+
"adjacent",
|
31
|
+
"after",
|
32
|
+
"alias",
|
33
|
+
"aliases",
|
34
|
+
"align",
|
35
|
+
"all",
|
36
|
+
"allocate",
|
37
|
+
"alpha",
|
38
|
+
"analysis",
|
39
|
+
"analyzer",
|
40
|
+
"and",
|
41
|
+
// also an operator
|
42
|
+
"append",
|
43
|
+
"appendage",
|
44
|
+
"appending",
|
45
|
+
"application",
|
46
|
+
"archive",
|
47
|
+
"area",
|
48
|
+
"arithmetic",
|
49
|
+
"as",
|
50
|
+
"ascending",
|
51
|
+
"aspect",
|
52
|
+
"assert",
|
53
|
+
"assign",
|
54
|
+
"assigned",
|
55
|
+
"assigning",
|
56
|
+
"association",
|
57
|
+
"asynchronous",
|
58
|
+
"at",
|
59
|
+
"attributes",
|
60
|
+
"authority",
|
61
|
+
"authority-check",
|
62
|
+
"avg",
|
63
|
+
"back",
|
64
|
+
"background",
|
65
|
+
"backup",
|
66
|
+
"backward",
|
67
|
+
"badi",
|
68
|
+
"base",
|
69
|
+
"before",
|
70
|
+
"begin",
|
71
|
+
"between",
|
72
|
+
// also an operator
|
73
|
+
"big",
|
74
|
+
"binary",
|
75
|
+
"bintohex",
|
76
|
+
"bit",
|
77
|
+
"black",
|
78
|
+
"blank",
|
79
|
+
"blanks",
|
80
|
+
"blob",
|
81
|
+
"block",
|
82
|
+
"blocks",
|
83
|
+
"blue",
|
84
|
+
"bound",
|
85
|
+
"boundaries",
|
86
|
+
"bounds",
|
87
|
+
"boxed",
|
88
|
+
"break-point",
|
89
|
+
"buffer",
|
90
|
+
"by",
|
91
|
+
"bypassing",
|
92
|
+
"byte",
|
93
|
+
"byte-order",
|
94
|
+
"call",
|
95
|
+
"calling",
|
96
|
+
"case",
|
97
|
+
"cast",
|
98
|
+
"casting",
|
99
|
+
"catch",
|
100
|
+
"center",
|
101
|
+
"centered",
|
102
|
+
"chain",
|
103
|
+
"chain-input",
|
104
|
+
"chain-request",
|
105
|
+
"change",
|
106
|
+
"changing",
|
107
|
+
"channels",
|
108
|
+
"character",
|
109
|
+
"char-to-hex",
|
110
|
+
"check",
|
111
|
+
"checkbox",
|
112
|
+
"ci_",
|
113
|
+
"circular",
|
114
|
+
"class",
|
115
|
+
"class-coding",
|
116
|
+
"class-data",
|
117
|
+
"class-events",
|
118
|
+
"class-methods",
|
119
|
+
"class-pool",
|
120
|
+
"cleanup",
|
121
|
+
"clear",
|
122
|
+
"client",
|
123
|
+
"clob",
|
124
|
+
"clock",
|
125
|
+
"close",
|
126
|
+
"coalesce",
|
127
|
+
"code",
|
128
|
+
"coding",
|
129
|
+
"col_background",
|
130
|
+
"col_group",
|
131
|
+
"col_heading",
|
132
|
+
"col_key",
|
133
|
+
"col_negative",
|
134
|
+
"col_normal",
|
135
|
+
"col_positive",
|
136
|
+
"col_total",
|
137
|
+
"collect",
|
138
|
+
"color",
|
139
|
+
"column",
|
140
|
+
"columns",
|
141
|
+
"comment",
|
142
|
+
"comments",
|
143
|
+
"commit",
|
144
|
+
"common",
|
145
|
+
"communication",
|
146
|
+
"comparing",
|
147
|
+
"component",
|
148
|
+
"components",
|
149
|
+
"compression",
|
150
|
+
"compute",
|
151
|
+
"concat",
|
152
|
+
"concat_with_space",
|
153
|
+
"concatenate",
|
154
|
+
"cond",
|
155
|
+
"condense",
|
156
|
+
// also a built-in
|
157
|
+
"condition",
|
158
|
+
"connect",
|
159
|
+
"connection",
|
160
|
+
"constants",
|
161
|
+
"context",
|
162
|
+
"contexts",
|
163
|
+
"continue",
|
164
|
+
"control",
|
165
|
+
"controls",
|
166
|
+
"conv",
|
167
|
+
"conversion",
|
168
|
+
"convert",
|
169
|
+
"copies",
|
170
|
+
"copy",
|
171
|
+
"corresponding",
|
172
|
+
"country",
|
173
|
+
"cover",
|
174
|
+
"cpi",
|
175
|
+
"create",
|
176
|
+
"creating",
|
177
|
+
"critical",
|
178
|
+
"currency",
|
179
|
+
"currency_conversion",
|
180
|
+
"current",
|
181
|
+
"cursor",
|
182
|
+
"cursor-selection",
|
183
|
+
"customer",
|
184
|
+
"customer-function",
|
185
|
+
"dangerous",
|
186
|
+
"data",
|
187
|
+
"database",
|
188
|
+
"datainfo",
|
189
|
+
"dataset",
|
190
|
+
"date",
|
191
|
+
"dats_add_days",
|
192
|
+
"dats_add_months",
|
193
|
+
"dats_days_between",
|
194
|
+
"dats_is_valid",
|
195
|
+
"daylight",
|
196
|
+
"dd/mm/yy",
|
197
|
+
"dd/mm/yyyy",
|
198
|
+
"ddmmyy",
|
199
|
+
"deallocate",
|
200
|
+
"decimal_shift",
|
201
|
+
"decimals",
|
202
|
+
"declarations",
|
203
|
+
"deep",
|
204
|
+
"default",
|
205
|
+
"deferred",
|
206
|
+
"define",
|
207
|
+
"defining",
|
208
|
+
"definition",
|
209
|
+
"delete",
|
210
|
+
"deleting",
|
211
|
+
"demand",
|
212
|
+
"department",
|
213
|
+
"descending",
|
214
|
+
"describe",
|
215
|
+
"destination",
|
216
|
+
"detail",
|
217
|
+
"dialog",
|
218
|
+
"directory",
|
219
|
+
"disconnect",
|
220
|
+
"display",
|
221
|
+
"display-mode",
|
222
|
+
"distinct",
|
223
|
+
"divide",
|
224
|
+
"divide-corresponding",
|
225
|
+
"division",
|
226
|
+
"do",
|
227
|
+
"dummy",
|
228
|
+
"duplicate",
|
229
|
+
"duplicates",
|
230
|
+
"duration",
|
231
|
+
"during",
|
232
|
+
"dynamic",
|
233
|
+
"dynpro",
|
234
|
+
"edit",
|
235
|
+
"editor-call",
|
236
|
+
"else",
|
237
|
+
"elseif",
|
238
|
+
"empty",
|
239
|
+
"enabled",
|
240
|
+
"enabling",
|
241
|
+
"encoding",
|
242
|
+
"end",
|
243
|
+
"endat",
|
244
|
+
"endcase",
|
245
|
+
"endcatch",
|
246
|
+
"endchain",
|
247
|
+
"endclass",
|
248
|
+
"enddo",
|
249
|
+
"endenhancement",
|
250
|
+
"end-enhancement-section",
|
251
|
+
"endexec",
|
252
|
+
"endform",
|
253
|
+
"endfunction",
|
254
|
+
"endian",
|
255
|
+
"endif",
|
256
|
+
"ending",
|
257
|
+
"endinterface",
|
258
|
+
"end-lines",
|
259
|
+
"endloop",
|
260
|
+
"endmethod",
|
261
|
+
"endmodule",
|
262
|
+
"end-of-definition",
|
263
|
+
"end-of-editing",
|
264
|
+
"end-of-file",
|
265
|
+
"end-of-page",
|
266
|
+
"end-of-selection",
|
267
|
+
"endon",
|
268
|
+
"endprovide",
|
269
|
+
"endselect",
|
270
|
+
"end-test-injection",
|
271
|
+
"end-test-seam",
|
272
|
+
"endtry",
|
273
|
+
"endwhile",
|
274
|
+
"endwith",
|
275
|
+
"engineering",
|
276
|
+
"enhancement",
|
277
|
+
"enhancement-point",
|
278
|
+
"enhancements",
|
279
|
+
"enhancement-section",
|
280
|
+
"entries",
|
281
|
+
"entry",
|
282
|
+
"enum",
|
283
|
+
"environment",
|
284
|
+
"equiv",
|
285
|
+
// also an operator
|
286
|
+
"errormessage",
|
287
|
+
"errors",
|
288
|
+
"escaping",
|
289
|
+
"event",
|
290
|
+
"events",
|
291
|
+
"exact",
|
292
|
+
"except",
|
293
|
+
"exception",
|
294
|
+
"exceptions",
|
295
|
+
"exception-table",
|
296
|
+
"exclude",
|
297
|
+
"excluding",
|
298
|
+
"exec",
|
299
|
+
"execute",
|
300
|
+
"exists",
|
301
|
+
"exit",
|
302
|
+
"exit-command",
|
303
|
+
"expand",
|
304
|
+
"expanding",
|
305
|
+
"expiration",
|
306
|
+
"explicit",
|
307
|
+
"exponent",
|
308
|
+
"export",
|
309
|
+
"exporting",
|
310
|
+
"extend",
|
311
|
+
"extended",
|
312
|
+
"extension",
|
313
|
+
"extract",
|
314
|
+
"fail",
|
315
|
+
"fetch",
|
316
|
+
"field",
|
317
|
+
"field-groups",
|
318
|
+
"fields",
|
319
|
+
"field-symbol",
|
320
|
+
"field-symbols",
|
321
|
+
"file",
|
322
|
+
"filter",
|
323
|
+
"filters",
|
324
|
+
"filter-table",
|
325
|
+
"final",
|
326
|
+
"find",
|
327
|
+
// also a built-in
|
328
|
+
"first",
|
329
|
+
"first-line",
|
330
|
+
"fixed-point",
|
331
|
+
"fkeq",
|
332
|
+
"fkge",
|
333
|
+
"flush",
|
334
|
+
"font",
|
335
|
+
"for",
|
336
|
+
"form",
|
337
|
+
"format",
|
338
|
+
"forward",
|
339
|
+
"found",
|
340
|
+
"frame",
|
341
|
+
"frames",
|
342
|
+
"free",
|
343
|
+
"friends",
|
344
|
+
"from",
|
345
|
+
"function",
|
346
|
+
"functionality",
|
347
|
+
"function-pool",
|
348
|
+
"further",
|
349
|
+
"gaps",
|
350
|
+
"generate",
|
351
|
+
"get",
|
352
|
+
"giving",
|
353
|
+
"gkeq",
|
354
|
+
"gkge",
|
355
|
+
"global",
|
356
|
+
"grant",
|
357
|
+
"green",
|
358
|
+
"group",
|
359
|
+
"groups",
|
360
|
+
"handle",
|
361
|
+
"handler",
|
362
|
+
"harmless",
|
363
|
+
"hashed",
|
364
|
+
// also a table type
|
365
|
+
"having",
|
366
|
+
"hdb",
|
367
|
+
"header",
|
368
|
+
"headers",
|
369
|
+
"heading",
|
370
|
+
"head-lines",
|
371
|
+
"help-id",
|
372
|
+
"help-request",
|
373
|
+
"hextobin",
|
374
|
+
"hide",
|
375
|
+
"high",
|
376
|
+
"hint",
|
377
|
+
"hold",
|
378
|
+
"hotspot",
|
379
|
+
"icon",
|
380
|
+
"id",
|
381
|
+
"identification",
|
382
|
+
"identifier",
|
383
|
+
"ids",
|
384
|
+
"if",
|
385
|
+
"ignore",
|
386
|
+
"ignoring",
|
387
|
+
"immediately",
|
388
|
+
"implementation",
|
389
|
+
"implementations",
|
390
|
+
"implemented",
|
391
|
+
"implicit",
|
392
|
+
"import",
|
393
|
+
"importing",
|
394
|
+
"in",
|
395
|
+
// also an operator
|
396
|
+
"inactive",
|
397
|
+
"incl",
|
398
|
+
"include",
|
399
|
+
"includes",
|
400
|
+
"including",
|
401
|
+
"increment",
|
402
|
+
"index",
|
403
|
+
// also a table type
|
404
|
+
"index-line",
|
405
|
+
"infotypes",
|
406
|
+
"inheriting",
|
407
|
+
"init",
|
408
|
+
"initial",
|
409
|
+
"initialization",
|
410
|
+
"inner",
|
411
|
+
"inout",
|
412
|
+
"input",
|
413
|
+
"insert",
|
414
|
+
// also a built-in
|
415
|
+
"instance",
|
416
|
+
"instances",
|
417
|
+
"instr",
|
418
|
+
"intensified",
|
419
|
+
"interface",
|
420
|
+
"interface-pool",
|
421
|
+
"interfaces",
|
422
|
+
"internal",
|
423
|
+
"intervals",
|
424
|
+
"into",
|
425
|
+
"inverse",
|
426
|
+
"inverted-date",
|
427
|
+
"is",
|
428
|
+
"iso",
|
429
|
+
"job",
|
430
|
+
"join",
|
431
|
+
"keep",
|
432
|
+
"keeping",
|
433
|
+
"kernel",
|
434
|
+
"key",
|
435
|
+
"keys",
|
436
|
+
"keywords",
|
437
|
+
"kind",
|
438
|
+
"language",
|
439
|
+
"last",
|
440
|
+
"late",
|
441
|
+
"layout",
|
442
|
+
"leading",
|
443
|
+
"leave",
|
444
|
+
"left",
|
445
|
+
"left-justified",
|
446
|
+
"leftplus",
|
447
|
+
"leftspace",
|
448
|
+
"legacy",
|
449
|
+
"length",
|
450
|
+
"let",
|
451
|
+
"level",
|
452
|
+
"levels",
|
453
|
+
"like",
|
454
|
+
"line",
|
455
|
+
"lines",
|
456
|
+
// also a built-in
|
457
|
+
"line-count",
|
458
|
+
"linefeed",
|
459
|
+
"line-selection",
|
460
|
+
"line-size",
|
461
|
+
"list",
|
462
|
+
"listbox",
|
463
|
+
"list-processing",
|
464
|
+
"little",
|
465
|
+
"llang",
|
466
|
+
"load",
|
467
|
+
"load-of-program",
|
468
|
+
"lob",
|
469
|
+
"local",
|
470
|
+
"locale",
|
471
|
+
"locator",
|
472
|
+
"logfile",
|
473
|
+
"logical",
|
474
|
+
"log-point",
|
475
|
+
"long",
|
476
|
+
"loop",
|
477
|
+
"low",
|
478
|
+
"lower",
|
479
|
+
"lpad",
|
480
|
+
"lpi",
|
481
|
+
"ltrim",
|
482
|
+
"mail",
|
483
|
+
"main",
|
484
|
+
"major-id",
|
485
|
+
"mapping",
|
486
|
+
"margin",
|
487
|
+
"mark",
|
488
|
+
"mask",
|
489
|
+
"match",
|
490
|
+
// also a built-in
|
491
|
+
"matchcode",
|
492
|
+
"max",
|
493
|
+
"maximum",
|
494
|
+
"medium",
|
495
|
+
"members",
|
496
|
+
"memory",
|
497
|
+
"mesh",
|
498
|
+
"message",
|
499
|
+
"message-id",
|
500
|
+
"messages",
|
501
|
+
"messaging",
|
502
|
+
"method",
|
503
|
+
"methods",
|
504
|
+
"min",
|
505
|
+
"minimum",
|
506
|
+
"minor-id",
|
507
|
+
"mm/dd/yy",
|
508
|
+
"mm/dd/yyyy",
|
509
|
+
"mmddyy",
|
510
|
+
"mode",
|
511
|
+
"modif",
|
512
|
+
"modifier",
|
513
|
+
"modify",
|
514
|
+
"module",
|
515
|
+
"move",
|
516
|
+
"move-corresponding",
|
517
|
+
"multiply",
|
518
|
+
"multiply-corresponding",
|
519
|
+
"name",
|
520
|
+
"nametab",
|
521
|
+
"native",
|
522
|
+
"nested",
|
523
|
+
"nesting",
|
524
|
+
"new",
|
525
|
+
"new-line",
|
526
|
+
"new-page",
|
527
|
+
"new-section",
|
528
|
+
"next",
|
529
|
+
"no",
|
530
|
+
"no-display",
|
531
|
+
"no-extension",
|
532
|
+
"no-gap",
|
533
|
+
"no-gaps",
|
534
|
+
"no-grouping",
|
535
|
+
"no-heading",
|
536
|
+
"no-scrolling",
|
537
|
+
"no-sign",
|
538
|
+
"no-title",
|
539
|
+
"no-topofpage",
|
540
|
+
"no-zero",
|
541
|
+
"node",
|
542
|
+
"nodes",
|
543
|
+
"non-unicode",
|
544
|
+
"non-unique",
|
545
|
+
"not",
|
546
|
+
// also an operator
|
547
|
+
"null",
|
548
|
+
"number",
|
549
|
+
"object",
|
550
|
+
// also a data type
|
551
|
+
"objects",
|
552
|
+
"obligatory",
|
553
|
+
"occurrence",
|
554
|
+
"occurrences",
|
555
|
+
"occurs",
|
556
|
+
"of",
|
557
|
+
"off",
|
558
|
+
"offset",
|
559
|
+
"ole",
|
560
|
+
"on",
|
561
|
+
"only",
|
562
|
+
"open",
|
563
|
+
"option",
|
564
|
+
"optional",
|
565
|
+
"options",
|
566
|
+
"or",
|
567
|
+
// also an operator
|
568
|
+
"order",
|
569
|
+
"other",
|
570
|
+
"others",
|
571
|
+
"out",
|
572
|
+
"outer",
|
573
|
+
"output",
|
574
|
+
"output-length",
|
575
|
+
"overflow",
|
576
|
+
"overlay",
|
577
|
+
"pack",
|
578
|
+
"package",
|
579
|
+
"pad",
|
580
|
+
"padding",
|
581
|
+
"page",
|
582
|
+
"pages",
|
583
|
+
"parameter",
|
584
|
+
"parameters",
|
585
|
+
"parameter-table",
|
586
|
+
"part",
|
587
|
+
"partially",
|
588
|
+
"pattern",
|
589
|
+
"percentage",
|
590
|
+
"perform",
|
591
|
+
"performing",
|
592
|
+
"person",
|
593
|
+
"pf1",
|
594
|
+
"pf10",
|
595
|
+
"pf11",
|
596
|
+
"pf12",
|
597
|
+
"pf13",
|
598
|
+
"pf14",
|
599
|
+
"pf15",
|
600
|
+
"pf2",
|
601
|
+
"pf3",
|
602
|
+
"pf4",
|
603
|
+
"pf5",
|
604
|
+
"pf6",
|
605
|
+
"pf7",
|
606
|
+
"pf8",
|
607
|
+
"pf9",
|
608
|
+
"pf-status",
|
609
|
+
"pink",
|
610
|
+
"places",
|
611
|
+
"pool",
|
612
|
+
"pos_high",
|
613
|
+
"pos_low",
|
614
|
+
"position",
|
615
|
+
"pragmas",
|
616
|
+
"precompiled",
|
617
|
+
"preferred",
|
618
|
+
"preserving",
|
619
|
+
"primary",
|
620
|
+
"print",
|
621
|
+
"print-control",
|
622
|
+
"priority",
|
623
|
+
"private",
|
624
|
+
"procedure",
|
625
|
+
"process",
|
626
|
+
"program",
|
627
|
+
"property",
|
628
|
+
"protected",
|
629
|
+
"provide",
|
630
|
+
"public",
|
631
|
+
"push",
|
632
|
+
"pushbutton",
|
633
|
+
"put",
|
634
|
+
"queue-only",
|
635
|
+
"quickinfo",
|
636
|
+
"radiobutton",
|
637
|
+
"raise",
|
638
|
+
"raising",
|
639
|
+
"range",
|
640
|
+
"ranges",
|
641
|
+
"read",
|
642
|
+
"reader",
|
643
|
+
"read-only",
|
644
|
+
"receive",
|
645
|
+
"received",
|
646
|
+
"receiver",
|
647
|
+
"receiving",
|
648
|
+
"red",
|
649
|
+
"redefinition",
|
650
|
+
"reduce",
|
651
|
+
"reduced",
|
652
|
+
"ref",
|
653
|
+
"reference",
|
654
|
+
"refresh",
|
655
|
+
"regex",
|
656
|
+
"reject",
|
657
|
+
"remote",
|
658
|
+
"renaming",
|
659
|
+
"replace",
|
660
|
+
// also a built-in
|
661
|
+
"replacement",
|
662
|
+
"replacing",
|
663
|
+
"report",
|
664
|
+
"request",
|
665
|
+
"requested",
|
666
|
+
"reserve",
|
667
|
+
"reset",
|
668
|
+
"resolution",
|
669
|
+
"respecting",
|
670
|
+
"responsible",
|
671
|
+
"result",
|
672
|
+
"results",
|
673
|
+
"resumable",
|
674
|
+
"resume",
|
675
|
+
"retry",
|
676
|
+
"return",
|
677
|
+
"returncode",
|
678
|
+
"returning",
|
679
|
+
"returns",
|
680
|
+
"right",
|
681
|
+
"right-justified",
|
682
|
+
"rightplus",
|
683
|
+
"rightspace",
|
684
|
+
"risk",
|
685
|
+
"rmc_communication_failure",
|
686
|
+
"rmc_invalid_status",
|
687
|
+
"rmc_system_failure",
|
688
|
+
"role",
|
689
|
+
"rollback",
|
690
|
+
"rows",
|
691
|
+
"rpad",
|
692
|
+
"rtrim",
|
693
|
+
"run",
|
694
|
+
"sap",
|
695
|
+
"sap-spool",
|
696
|
+
"saving",
|
697
|
+
"scale_preserving",
|
698
|
+
"scale_preserving_scientific",
|
699
|
+
"scan",
|
700
|
+
"scientific",
|
701
|
+
"scientific_with_leading_zero",
|
702
|
+
"scroll",
|
703
|
+
"scroll-boundary",
|
704
|
+
"scrolling",
|
705
|
+
"search",
|
706
|
+
"secondary",
|
707
|
+
"seconds",
|
708
|
+
"section",
|
709
|
+
"select",
|
710
|
+
"selection",
|
711
|
+
"selections",
|
712
|
+
"selection-screen",
|
713
|
+
"selection-set",
|
714
|
+
"selection-sets",
|
715
|
+
"selection-table",
|
716
|
+
"select-options",
|
717
|
+
"send",
|
718
|
+
"separate",
|
719
|
+
"separated",
|
720
|
+
"set",
|
721
|
+
"shared",
|
722
|
+
"shift",
|
723
|
+
"short",
|
724
|
+
"shortdump-id",
|
725
|
+
"sign_as_postfix",
|
726
|
+
"single",
|
727
|
+
"size",
|
728
|
+
"skip",
|
729
|
+
"skipping",
|
730
|
+
"smart",
|
731
|
+
"some",
|
732
|
+
"sort",
|
733
|
+
"sortable",
|
734
|
+
"sorted",
|
735
|
+
// also a table type
|
736
|
+
"source",
|
737
|
+
"specified",
|
738
|
+
"split",
|
739
|
+
"spool",
|
740
|
+
"spots",
|
741
|
+
"sql",
|
742
|
+
"sqlscript",
|
743
|
+
"stable",
|
744
|
+
"stamp",
|
745
|
+
"standard",
|
746
|
+
// also a table type
|
747
|
+
"starting",
|
748
|
+
"start-of-editing",
|
749
|
+
"start-of-selection",
|
750
|
+
"state",
|
751
|
+
"statement",
|
752
|
+
"statements",
|
753
|
+
"static",
|
754
|
+
"statics",
|
755
|
+
"statusinfo",
|
756
|
+
"step-loop",
|
757
|
+
"stop",
|
758
|
+
"structure",
|
759
|
+
"structures",
|
760
|
+
"style",
|
761
|
+
"subkey",
|
762
|
+
"submatches",
|
763
|
+
"submit",
|
764
|
+
"subroutine",
|
765
|
+
"subscreen",
|
766
|
+
"subtract",
|
767
|
+
"subtract-corresponding",
|
768
|
+
"suffix",
|
769
|
+
"sum",
|
770
|
+
"summary",
|
771
|
+
"summing",
|
772
|
+
"supplied",
|
773
|
+
"supply",
|
774
|
+
"suppress",
|
775
|
+
"switch",
|
776
|
+
"switchstates",
|
777
|
+
"symbol",
|
778
|
+
"syncpoints",
|
779
|
+
"syntax",
|
780
|
+
"syntax-check",
|
781
|
+
"syntax-trace",
|
782
|
+
"system-call",
|
783
|
+
"system-exceptions",
|
784
|
+
"system-exit",
|
785
|
+
"tab",
|
786
|
+
"tabbed",
|
787
|
+
"table",
|
788
|
+
"tables",
|
789
|
+
"tableview",
|
790
|
+
"tabstrip",
|
791
|
+
"target",
|
792
|
+
"task",
|
793
|
+
"tasks",
|
794
|
+
"test",
|
795
|
+
"testing",
|
796
|
+
"test-injection",
|
797
|
+
"test-seam",
|
798
|
+
"text",
|
799
|
+
"textpool",
|
800
|
+
"then",
|
801
|
+
"throw",
|
802
|
+
"time",
|
803
|
+
"times",
|
804
|
+
"timestamp",
|
805
|
+
"timezone",
|
806
|
+
"tims_is_valid",
|
807
|
+
"title",
|
808
|
+
"titlebar",
|
809
|
+
"title-lines",
|
810
|
+
"to",
|
811
|
+
"tokenization",
|
812
|
+
"tokens",
|
813
|
+
"top-lines",
|
814
|
+
"top-of-page",
|
815
|
+
"trace-file",
|
816
|
+
"trace-table",
|
817
|
+
"trailing",
|
818
|
+
"transaction",
|
819
|
+
"transfer",
|
820
|
+
"transformation",
|
821
|
+
"translate",
|
822
|
+
// also a built-in
|
823
|
+
"transporting",
|
824
|
+
"trmac",
|
825
|
+
"truncate",
|
826
|
+
"truncation",
|
827
|
+
"try",
|
828
|
+
"tstmp_add_seconds",
|
829
|
+
"tstmp_current_utctimestamp",
|
830
|
+
"tstmp_is_valid",
|
831
|
+
"tstmp_seconds_between",
|
832
|
+
"type",
|
833
|
+
"type-pool",
|
834
|
+
"type-pools",
|
835
|
+
"types",
|
836
|
+
"uline",
|
837
|
+
"unassign",
|
838
|
+
"under",
|
839
|
+
"unicode",
|
840
|
+
"union",
|
841
|
+
"unique",
|
842
|
+
"unit_conversion",
|
843
|
+
"unix",
|
844
|
+
"unpack",
|
845
|
+
"until",
|
846
|
+
"unwind",
|
847
|
+
"up",
|
848
|
+
"update",
|
849
|
+
"upper",
|
850
|
+
"user",
|
851
|
+
"user-command",
|
852
|
+
"using",
|
853
|
+
"utf-8",
|
854
|
+
"valid",
|
855
|
+
"value",
|
856
|
+
"value-request",
|
857
|
+
"values",
|
858
|
+
"vary",
|
859
|
+
"varying",
|
860
|
+
"verification-message",
|
861
|
+
"version",
|
862
|
+
"via",
|
863
|
+
"view",
|
864
|
+
"visible",
|
865
|
+
"wait",
|
866
|
+
"warning",
|
867
|
+
"when",
|
868
|
+
"whenever",
|
869
|
+
"where",
|
870
|
+
"while",
|
871
|
+
"width",
|
872
|
+
"window",
|
873
|
+
"windows",
|
874
|
+
"with",
|
875
|
+
"with-heading",
|
876
|
+
"without",
|
877
|
+
"with-title",
|
878
|
+
"word",
|
879
|
+
"work",
|
880
|
+
"write",
|
881
|
+
"writer",
|
882
|
+
"xml",
|
883
|
+
"xsd",
|
884
|
+
"yellow",
|
885
|
+
"yes",
|
886
|
+
"yymmdd",
|
887
|
+
"zero",
|
888
|
+
"zone",
|
889
|
+
// since 7.55:
|
890
|
+
"abap_system_timezone",
|
891
|
+
"abap_user_timezone",
|
892
|
+
"access",
|
893
|
+
"action",
|
894
|
+
"adabas",
|
895
|
+
"adjust_numbers",
|
896
|
+
"allow_precision_loss",
|
897
|
+
"allowed",
|
898
|
+
"amdp",
|
899
|
+
"applicationuser",
|
900
|
+
"as_geo_json",
|
901
|
+
"as400",
|
902
|
+
"associations",
|
903
|
+
"balance",
|
904
|
+
"behavior",
|
905
|
+
"breakup",
|
906
|
+
"bulk",
|
907
|
+
"cds",
|
908
|
+
"cds_client",
|
909
|
+
"check_before_save",
|
910
|
+
"child",
|
911
|
+
"clients",
|
912
|
+
"corr",
|
913
|
+
"corr_spearman",
|
914
|
+
"cross",
|
915
|
+
"cycles",
|
916
|
+
"datn_add_days",
|
917
|
+
"datn_add_months",
|
918
|
+
"datn_days_between",
|
919
|
+
"dats_from_datn",
|
920
|
+
"dats_tims_to_tstmp",
|
921
|
+
"dats_to_datn",
|
922
|
+
"db2",
|
923
|
+
"db6",
|
924
|
+
"ddl",
|
925
|
+
"dense_rank",
|
926
|
+
"depth",
|
927
|
+
"deterministic",
|
928
|
+
"discarding",
|
929
|
+
"entities",
|
930
|
+
"entity",
|
931
|
+
"error",
|
932
|
+
"failed",
|
933
|
+
"finalize",
|
934
|
+
"first_value",
|
935
|
+
"fltp_to_dec",
|
936
|
+
"following",
|
937
|
+
"fractional",
|
938
|
+
"full",
|
939
|
+
"graph",
|
940
|
+
"grouping",
|
941
|
+
"hierarchy",
|
942
|
+
"hierarchy_ancestors",
|
943
|
+
"hierarchy_ancestors_aggregate",
|
944
|
+
"hierarchy_descendants",
|
945
|
+
"hierarchy_descendants_aggregate",
|
946
|
+
"hierarchy_siblings",
|
947
|
+
"incremental",
|
948
|
+
"indicators",
|
949
|
+
"lag",
|
950
|
+
"last_value",
|
951
|
+
"lead",
|
952
|
+
"leaves",
|
953
|
+
"like_regexpr",
|
954
|
+
"link",
|
955
|
+
"locale_sap",
|
956
|
+
"lock",
|
957
|
+
"locks",
|
958
|
+
"many",
|
959
|
+
"mapped",
|
960
|
+
"matched",
|
961
|
+
"measures",
|
962
|
+
"median",
|
963
|
+
"mssqlnt",
|
964
|
+
"multiple",
|
965
|
+
"nodetype",
|
966
|
+
"ntile",
|
967
|
+
"nulls",
|
968
|
+
"occurrences_regexpr",
|
969
|
+
"one",
|
970
|
+
"operations",
|
971
|
+
"oracle",
|
972
|
+
"orphans",
|
973
|
+
"over",
|
974
|
+
"parent",
|
975
|
+
"parents",
|
976
|
+
"partition",
|
977
|
+
"pcre",
|
978
|
+
"period",
|
979
|
+
"pfcg_mapping",
|
980
|
+
"preceding",
|
981
|
+
"privileged",
|
982
|
+
"product",
|
983
|
+
"projection",
|
984
|
+
"rank",
|
985
|
+
"redirected",
|
986
|
+
"replace_regexpr",
|
987
|
+
"reported",
|
988
|
+
"response",
|
989
|
+
"responses",
|
990
|
+
"root",
|
991
|
+
"row",
|
992
|
+
"row_number",
|
993
|
+
"sap_system_date",
|
994
|
+
"save",
|
995
|
+
"schema",
|
996
|
+
"session",
|
997
|
+
"sets",
|
998
|
+
"shortdump",
|
999
|
+
"siblings",
|
1000
|
+
"spantree",
|
1001
|
+
"start",
|
1002
|
+
"stddev",
|
1003
|
+
"string_agg",
|
1004
|
+
"subtotal",
|
1005
|
+
"sybase",
|
1006
|
+
"tims_from_timn",
|
1007
|
+
"tims_to_timn",
|
1008
|
+
"to_blob",
|
1009
|
+
"to_clob",
|
1010
|
+
"total",
|
1011
|
+
"trace-entry",
|
1012
|
+
"tstmp_to_dats",
|
1013
|
+
"tstmp_to_dst",
|
1014
|
+
"tstmp_to_tims",
|
1015
|
+
"tstmpl_from_utcl",
|
1016
|
+
"tstmpl_to_utcl",
|
1017
|
+
"unbounded",
|
1018
|
+
"utcl_add_seconds",
|
1019
|
+
"utcl_current",
|
1020
|
+
"utcl_seconds_between",
|
1021
|
+
"uuid",
|
1022
|
+
"var",
|
1023
|
+
"verbatim"
|
1024
|
+
],
|
1025
|
+
//
|
1026
|
+
// Built-in Functions
|
1027
|
+
//
|
1028
|
+
// Functions that are also statements have been moved to keywords
|
1029
|
+
//
|
1030
|
+
builtinFunctions: [
|
1031
|
+
"abs",
|
1032
|
+
"acos",
|
1033
|
+
"asin",
|
1034
|
+
"atan",
|
1035
|
+
"bit-set",
|
1036
|
+
"boolc",
|
1037
|
+
"boolx",
|
1038
|
+
"ceil",
|
1039
|
+
"char_off",
|
1040
|
+
"charlen",
|
1041
|
+
"cmax",
|
1042
|
+
"cmin",
|
1043
|
+
"concat_lines_of",
|
1044
|
+
// 'condense', // moved to keywords
|
1045
|
+
"contains",
|
1046
|
+
"contains_any_not_of",
|
1047
|
+
"contains_any_of",
|
1048
|
+
"cos",
|
1049
|
+
"cosh",
|
1050
|
+
"count",
|
1051
|
+
"count_any_not_of",
|
1052
|
+
"count_any_of",
|
1053
|
+
"dbmaxlen",
|
1054
|
+
"distance",
|
1055
|
+
"escape",
|
1056
|
+
"exp",
|
1057
|
+
// 'find', // moved to keywords
|
1058
|
+
"find_any_not_of",
|
1059
|
+
"find_any_of",
|
1060
|
+
"find_end",
|
1061
|
+
"floor",
|
1062
|
+
"frac",
|
1063
|
+
"from_mixed",
|
1064
|
+
// 'insert', // moved to keywords
|
1065
|
+
"ipow",
|
1066
|
+
"line_exists",
|
1067
|
+
"line_index",
|
1068
|
+
// 'lines', // moved to keywords
|
1069
|
+
"log",
|
1070
|
+
"log10",
|
1071
|
+
// 'match', // moved to keywords
|
1072
|
+
"matches",
|
1073
|
+
"nmax",
|
1074
|
+
"nmin",
|
1075
|
+
"numofchar",
|
1076
|
+
"repeat",
|
1077
|
+
// 'replace', // moved to keywords
|
1078
|
+
"rescale",
|
1079
|
+
"reverse",
|
1080
|
+
"round",
|
1081
|
+
"segment",
|
1082
|
+
"shift_left",
|
1083
|
+
"shift_right",
|
1084
|
+
"sign",
|
1085
|
+
"sin",
|
1086
|
+
"sinh",
|
1087
|
+
"sqrt",
|
1088
|
+
"strlen",
|
1089
|
+
"substring",
|
1090
|
+
"substring_after",
|
1091
|
+
"substring_before",
|
1092
|
+
"substring_from",
|
1093
|
+
"substring_to",
|
1094
|
+
"tan",
|
1095
|
+
"tanh",
|
1096
|
+
"to_lower",
|
1097
|
+
"to_mixed",
|
1098
|
+
"to_upper",
|
1099
|
+
// 'translate', // moved to keywords
|
1100
|
+
"trunc",
|
1101
|
+
"utclong_add",
|
1102
|
+
// since 7.54
|
1103
|
+
"utclong_current",
|
1104
|
+
// since 7.54
|
1105
|
+
"utclong_diff",
|
1106
|
+
// since 7.54
|
1107
|
+
"xsdbool",
|
1108
|
+
"xstrlen"
|
1109
|
+
],
|
1110
|
+
//
|
1111
|
+
// Data Types
|
1112
|
+
//
|
1113
|
+
// Data types that are also part of statements have been moved to keywords
|
1114
|
+
//
|
1115
|
+
typeKeywords: [
|
1116
|
+
// built-in abap types
|
1117
|
+
"b",
|
1118
|
+
"c",
|
1119
|
+
"d",
|
1120
|
+
"decfloat16",
|
1121
|
+
"decfloat34",
|
1122
|
+
"f",
|
1123
|
+
"i",
|
1124
|
+
"int8",
|
1125
|
+
// since 7.54
|
1126
|
+
"n",
|
1127
|
+
"p",
|
1128
|
+
"s",
|
1129
|
+
"string",
|
1130
|
+
"t",
|
1131
|
+
"utclong",
|
1132
|
+
// since 7.54
|
1133
|
+
"x",
|
1134
|
+
"xstring",
|
1135
|
+
// generic data types
|
1136
|
+
"any",
|
1137
|
+
"clike",
|
1138
|
+
"csequence",
|
1139
|
+
"decfloat",
|
1140
|
+
// 'object', // moved to keywords
|
1141
|
+
"numeric",
|
1142
|
+
"simple",
|
1143
|
+
"xsequence",
|
1144
|
+
// ddic/sql data types
|
1145
|
+
"accp",
|
1146
|
+
"char",
|
1147
|
+
"clnt",
|
1148
|
+
"cuky",
|
1149
|
+
"curr",
|
1150
|
+
"datn",
|
1151
|
+
// since 7.55
|
1152
|
+
"dats",
|
1153
|
+
"d16d",
|
1154
|
+
// since 7.55
|
1155
|
+
"d16n",
|
1156
|
+
// since 7.55
|
1157
|
+
"d16r",
|
1158
|
+
// since 7.55
|
1159
|
+
"d34d",
|
1160
|
+
// since 7.55
|
1161
|
+
"d34n",
|
1162
|
+
// since 7.55
|
1163
|
+
"d34r",
|
1164
|
+
// since 7.55
|
1165
|
+
"dec",
|
1166
|
+
"df16_dec",
|
1167
|
+
"df16_raw",
|
1168
|
+
"df34_dec",
|
1169
|
+
"df34_raw",
|
1170
|
+
"fltp",
|
1171
|
+
"geom_ewkb",
|
1172
|
+
// since 7.55
|
1173
|
+
"int1",
|
1174
|
+
"int2",
|
1175
|
+
"int4",
|
1176
|
+
"lang",
|
1177
|
+
"lchr",
|
1178
|
+
"lraw",
|
1179
|
+
"numc",
|
1180
|
+
"quan",
|
1181
|
+
"raw",
|
1182
|
+
"rawstring",
|
1183
|
+
"sstring",
|
1184
|
+
"timn",
|
1185
|
+
// since 7.55
|
1186
|
+
"tims",
|
1187
|
+
"unit",
|
1188
|
+
"utcl",
|
1189
|
+
// since 7.55
|
1190
|
+
// ddic data types (obsolete)
|
1191
|
+
"df16_scl",
|
1192
|
+
"df34_scl",
|
1193
|
+
"prec",
|
1194
|
+
"varc",
|
1195
|
+
// special data types and constants
|
1196
|
+
"abap_bool",
|
1197
|
+
"abap_false",
|
1198
|
+
"abap_true",
|
1199
|
+
"abap_undefined",
|
1200
|
+
"me",
|
1201
|
+
"screen",
|
1202
|
+
"space",
|
1203
|
+
"super",
|
1204
|
+
"sy",
|
1205
|
+
"syst",
|
1206
|
+
"table_line",
|
1207
|
+
// obsolete data object
|
1208
|
+
"*sys*"
|
1209
|
+
],
|
1210
|
+
builtinMethods: ["class_constructor", "constructor"],
|
1211
|
+
derivedTypes: [
|
1212
|
+
"%CID",
|
1213
|
+
"%CID_REF",
|
1214
|
+
"%CONTROL",
|
1215
|
+
"%DATA",
|
1216
|
+
"%ELEMENT",
|
1217
|
+
"%FAIL",
|
1218
|
+
"%KEY",
|
1219
|
+
"%MSG",
|
1220
|
+
"%PARAM",
|
1221
|
+
"%PID",
|
1222
|
+
"%PID_ASSOC",
|
1223
|
+
"%PID_PARENT",
|
1224
|
+
"%_HINTS"
|
1225
|
+
],
|
1226
|
+
cdsLanguage: [
|
1227
|
+
"@AbapAnnotation",
|
1228
|
+
"@AbapCatalog",
|
1229
|
+
"@AccessControl",
|
1230
|
+
"@API",
|
1231
|
+
"@ClientDependent",
|
1232
|
+
"@ClientHandling",
|
1233
|
+
"@CompatibilityContract",
|
1234
|
+
"@DataAging",
|
1235
|
+
"@EndUserText",
|
1236
|
+
"@Environment",
|
1237
|
+
"@LanguageDependency",
|
1238
|
+
"@MappingRole",
|
1239
|
+
"@Metadata",
|
1240
|
+
"@MetadataExtension",
|
1241
|
+
"@ObjectModel",
|
1242
|
+
"@Scope",
|
1243
|
+
"@Semantics",
|
1244
|
+
"$EXTENSION",
|
1245
|
+
"$SELF"
|
1246
|
+
],
|
1247
|
+
selectors: ["->", "->*", "=>", "~", "~*"],
|
1248
|
+
//
|
1249
|
+
// Operators
|
1250
|
+
//
|
1251
|
+
// Operators that can be part of statements have been moved to keywords
|
1252
|
+
//
|
1253
|
+
operators: [
|
1254
|
+
// arithmetic operators
|
1255
|
+
" +",
|
1256
|
+
" -",
|
1257
|
+
"/",
|
1258
|
+
"*",
|
1259
|
+
"**",
|
1260
|
+
"div",
|
1261
|
+
"mod",
|
1262
|
+
// assignment operators
|
1263
|
+
"=",
|
1264
|
+
"#",
|
1265
|
+
"@",
|
1266
|
+
"+=",
|
1267
|
+
"-=",
|
1268
|
+
"*=",
|
1269
|
+
"/=",
|
1270
|
+
"**=",
|
1271
|
+
"&&=",
|
1272
|
+
// casting operator
|
1273
|
+
"?=",
|
1274
|
+
// concat operators
|
1275
|
+
"&",
|
1276
|
+
"&&",
|
1277
|
+
// bit operators
|
1278
|
+
"bit-and",
|
1279
|
+
"bit-not",
|
1280
|
+
"bit-or",
|
1281
|
+
"bit-xor",
|
1282
|
+
"m",
|
1283
|
+
"o",
|
1284
|
+
"z",
|
1285
|
+
// boolean operators
|
1286
|
+
// 'and', // moved to keywords
|
1287
|
+
// 'equiv', // moved to keywords
|
1288
|
+
// 'not', // moved to keywords
|
1289
|
+
// 'or', // moved to keywords
|
1290
|
+
// comparison operators
|
1291
|
+
"<",
|
1292
|
+
" >",
|
1293
|
+
// todo: separate from -> and =>
|
1294
|
+
"<=",
|
1295
|
+
">=",
|
1296
|
+
"<>",
|
1297
|
+
"><",
|
1298
|
+
// obsolete
|
1299
|
+
"=<",
|
1300
|
+
// obsolete
|
1301
|
+
"=>",
|
1302
|
+
// obsolete
|
1303
|
+
// 'between', // moved to keywords
|
1304
|
+
"bt",
|
1305
|
+
"byte-ca",
|
1306
|
+
"byte-cn",
|
1307
|
+
"byte-co",
|
1308
|
+
"byte-cs",
|
1309
|
+
"byte-na",
|
1310
|
+
"byte-ns",
|
1311
|
+
"ca",
|
1312
|
+
"cn",
|
1313
|
+
"co",
|
1314
|
+
"cp",
|
1315
|
+
"cs",
|
1316
|
+
"eq",
|
1317
|
+
// obsolete
|
1318
|
+
"ge",
|
1319
|
+
// obsolete
|
1320
|
+
"gt",
|
1321
|
+
// obsolete
|
1322
|
+
// 'in', // moved to keywords
|
1323
|
+
"le",
|
1324
|
+
// obsolete
|
1325
|
+
"lt",
|
1326
|
+
// obsolete
|
1327
|
+
"na",
|
1328
|
+
"nb",
|
1329
|
+
"ne",
|
1330
|
+
// obsolete
|
1331
|
+
"np",
|
1332
|
+
"ns",
|
1333
|
+
// cds
|
1334
|
+
"*/",
|
1335
|
+
"*:",
|
1336
|
+
"--",
|
1337
|
+
"/*",
|
1338
|
+
"//"
|
1339
|
+
],
|
1340
|
+
symbols: /[=><!~?&+\-*\/\^%#@]+/,
|
1341
|
+
tokenizer: {
|
1342
|
+
root: [
|
1343
|
+
[
|
1344
|
+
/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,
|
1345
|
+
// exclude '->' selector
|
1346
|
+
{
|
1347
|
+
cases: {
|
1348
|
+
"@typeKeywords": "type",
|
1349
|
+
"@keywords": "keyword",
|
1350
|
+
"@cdsLanguage": "annotation",
|
1351
|
+
"@derivedTypes": "type",
|
1352
|
+
"@builtinFunctions": "type",
|
1353
|
+
"@builtinMethods": "type",
|
1354
|
+
"@operators": "key",
|
1355
|
+
"@default": "identifier"
|
1356
|
+
}
|
1357
|
+
}
|
1358
|
+
],
|
1359
|
+
[/<[\w]+>/, "identifier"],
|
1360
|
+
// field symbols
|
1361
|
+
[/##[\w|_]+/, "comment"],
|
1362
|
+
// pragmas
|
1363
|
+
{ include: "@whitespace" },
|
1364
|
+
[/[:,.]/, "delimiter"],
|
1365
|
+
[/[{}()\[\]]/, "@brackets"],
|
1366
|
+
[
|
1367
|
+
/@symbols/,
|
1368
|
+
{
|
1369
|
+
cases: {
|
1370
|
+
"@selectors": "tag",
|
1371
|
+
"@operators": "key",
|
1372
|
+
"@default": ""
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
],
|
1376
|
+
[/'/, { token: "string", bracket: "@open", next: "@stringquote" }],
|
1377
|
+
[/`/, { token: "string", bracket: "@open", next: "@stringping" }],
|
1378
|
+
[/\|/, { token: "string", bracket: "@open", next: "@stringtemplate" }],
|
1379
|
+
[/\d+/, "number"]
|
1380
|
+
],
|
1381
|
+
stringtemplate: [
|
1382
|
+
[/[^\\\|]+/, "string"],
|
1383
|
+
[/\\\|/, "string"],
|
1384
|
+
[/\|/, { token: "string", bracket: "@close", next: "@pop" }]
|
1385
|
+
],
|
1386
|
+
stringping: [
|
1387
|
+
[/[^\\`]+/, "string"],
|
1388
|
+
[/`/, { token: "string", bracket: "@close", next: "@pop" }]
|
1389
|
+
],
|
1390
|
+
stringquote: [
|
1391
|
+
[/[^\\']+/, "string"],
|
1392
|
+
[/'/, { token: "string", bracket: "@close", next: "@pop" }]
|
1393
|
+
],
|
1394
|
+
whitespace: [
|
1395
|
+
[/[ \t\r\n]+/, ""],
|
1396
|
+
[/^\*.*$/, "comment"],
|
1397
|
+
[/\".*$/, "comment"]
|
1398
|
+
]
|
1399
|
+
}
|
1400
|
+
};
|
1401
|
+
export {
|
1402
|
+
e as conf,
|
1403
|
+
t as language
|
1404
|
+
};
|