@codingame/monaco-vscode-standalone-languages 3.2.0

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