online-compiler-widget 0.0.4 → 1.0.3

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