sun-form-v3 1.0.16 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/dist/abap-DfvySaIJ.js +1404 -0
  2. package/dist/apex-B__0irD3.js +332 -0
  3. package/dist/assets/css.worker-OK053IOu.js +84 -0
  4. package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
  5. package/dist/assets/html.worker-CL40hqKM.js +458 -0
  6. package/dist/assets/json.worker-6f9bhSHY.js +42 -0
  7. package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
  8. package/dist/azcli-CDMGhRmx.js +74 -0
  9. package/dist/bat-0Mk8aqzx.js +106 -0
  10. package/dist/bicep-BBi_I06Z.js +108 -0
  11. package/dist/cameligo-D0G_Zm6X.js +180 -0
  12. package/dist/clojure-o2ZKLeMp.js +767 -0
  13. package/dist/coffee-DOQff5VC.js +238 -0
  14. package/dist/cpp-CQGJnWhD.js +395 -0
  15. package/dist/csharp-C1jLsHl8.js +332 -0
  16. package/dist/csp-C_ttMQaW.js +59 -0
  17. package/dist/css-BC202kVV.js +193 -0
  18. package/dist/cssMode-ByUAJrG7.js +1541 -0
  19. package/dist/cypher-DwtEH7Fi.js +269 -0
  20. package/dist/dart-D9XknsP2.js +287 -0
  21. package/dist/dockerfile-DgsNjqqa.js +136 -0
  22. package/dist/ecl-BAMCHBl6.js +462 -0
  23. package/dist/elixir-CegIttP8.js +575 -0
  24. package/dist/flow9-9608t7UV.js +148 -0
  25. package/dist/freemarker2-DxAg8875.js +995 -0
  26. package/dist/fsharp-CCtt9-1_.js +223 -0
  27. package/dist/go-CGUIPbct.js +224 -0
  28. package/dist/graphql-BNRIFFIn.js +157 -0
  29. package/dist/handlebars-DjG7RCPZ.js +425 -0
  30. package/dist/hcl-C__KLIXe.js +189 -0
  31. package/dist/html-DLnZxUDd.js +314 -0
  32. package/dist/htmlMode-DtO1uKnL.js +1551 -0
  33. package/dist/index-uKe1GNHH.js +124201 -0
  34. package/dist/ini-CeKYn_zA.js +77 -0
  35. package/dist/java-Dm24deQl.js +238 -0
  36. package/dist/javascript-b4JBD7aU.js +76 -0
  37. package/dist/jsonMode-DZzn-XsJ.js +1957 -0
  38. package/dist/julia-BImNW7VE.js +517 -0
  39. package/dist/kotlin-BfE79GEb.js +259 -0
  40. package/dist/less-DglNOcaC.js +168 -0
  41. package/dist/lexon-BA0dRz9Q.js +163 -0
  42. package/dist/liquid-Cxuz3GcD.js +246 -0
  43. package/dist/lua-DMkWzJcm.js +168 -0
  44. package/dist/m3-sA-5shO8.js +216 -0
  45. package/dist/markdown-OYRB1igA.js +235 -0
  46. package/dist/mdx-DpxKZjQe.js +171 -0
  47. package/dist/mips-rRzkJ_7G.js +204 -0
  48. package/dist/msdax-DoVJdUhd.js +381 -0
  49. package/dist/mysql-Ty44IHXo.js +884 -0
  50. package/dist/objective-c-VUfyhYrA.js +189 -0
  51. package/dist/pascal-DkASiYyw.js +257 -0
  52. package/dist/pascaligo-p-ELPlVO.js +170 -0
  53. package/dist/perl-Cjl1FxLZ.js +632 -0
  54. package/dist/pgsql-DjVenF7s.js +857 -0
  55. package/dist/php-CwvGzZOO.js +506 -0
  56. package/dist/pla-Br1iaBIV.js +143 -0
  57. package/dist/postiats-BaeP8zZY.js +913 -0
  58. package/dist/powerquery-CLCshuo8.js +896 -0
  59. package/dist/powershell-CZV50w5N.js +245 -0
  60. package/dist/protobuf-MV3XTewJ.js +426 -0
  61. package/dist/pug-DkDg4c4l.js +408 -0
  62. package/dist/python-CDhl4EWN.js +282 -0
  63. package/dist/qsharp-BAtiKA97.js +291 -0
  64. package/dist/r-8ocrd-h-.js +249 -0
  65. package/dist/razor-CZArna8V.js +556 -0
  66. package/dist/redis-9sZiddxc.js +308 -0
  67. package/dist/redshift-DQfTOGC0.js +815 -0
  68. package/dist/restructuredtext-DXU-vkgr.js +180 -0
  69. package/dist/ruby-DotfqwMf.js +517 -0
  70. package/dist/rust-BIauJ5KN.js +349 -0
  71. package/dist/sb-CmWMvDEV.js +121 -0
  72. package/dist/scala-C81brEbk.js +376 -0
  73. package/dist/scheme-D0pcFz2x.js +114 -0
  74. package/dist/scss-BOdN2fGG.js +268 -0
  75. package/dist/shell-6E09eAkU.js +227 -0
  76. package/dist/solidity-CWStzA1K.js +1373 -0
  77. package/dist/sophia-76Sb6CWe.js +205 -0
  78. package/dist/sparql-BmZTkOWT.js +207 -0
  79. package/dist/sql-Cs9TBAW5.js +859 -0
  80. package/dist/st-B-rqE1Bu.js +422 -0
  81. package/dist/style.css +1 -0
  82. package/dist/sun-form-v3.es.js +2 -12
  83. package/dist/sun-form-v3.umd.js +1909 -1
  84. package/dist/swift-Btsj6YxQ.js +318 -0
  85. package/dist/systemverilog-B3RHBRa2.js +582 -0
  86. package/dist/tcl-Dpj776pn.js +238 -0
  87. package/dist/tsMode-DAR8lnTZ.js +886 -0
  88. package/dist/twig-Bb9JmBsE.js +398 -0
  89. package/dist/typescript-BjEscmCh.js +349 -0
  90. package/dist/typespec-CDWeg3SU.js +123 -0
  91. package/dist/vb-DEXnYwEI.js +378 -0
  92. package/dist/wgsl-D602c1lx.js +445 -0
  93. package/dist/xml-DHuAUJoN.js +101 -0
  94. package/dist/yaml-BpYEAJDe.js +212 -0
  95. package/package.json +1 -1
@@ -0,0 +1,884 @@
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
+ blockComment: ["/*", "*/"]
11
+ },
12
+ brackets: [
13
+ ["{", "}"],
14
+ ["[", "]"],
15
+ ["(", ")"]
16
+ ],
17
+ autoClosingPairs: [
18
+ { open: "{", close: "}" },
19
+ { open: "[", close: "]" },
20
+ { open: "(", close: ")" },
21
+ { open: '"', close: '"' },
22
+ { open: "'", close: "'" }
23
+ ],
24
+ surroundingPairs: [
25
+ { open: "{", close: "}" },
26
+ { open: "[", close: "]" },
27
+ { open: "(", close: ")" },
28
+ { open: '"', close: '"' },
29
+ { open: "'", close: "'" }
30
+ ]
31
+ }, T = {
32
+ defaultToken: "",
33
+ tokenPostfix: ".sql",
34
+ ignoreCase: !0,
35
+ brackets: [
36
+ { open: "[", close: "]", token: "delimiter.square" },
37
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
38
+ ],
39
+ keywords: [
40
+ // This list is generated using `keywords.js`
41
+ "ACCESSIBLE",
42
+ "ADD",
43
+ "ALL",
44
+ "ALTER",
45
+ "ANALYZE",
46
+ "AND",
47
+ "AS",
48
+ "ASC",
49
+ "ASENSITIVE",
50
+ "BEFORE",
51
+ "BETWEEN",
52
+ "BIGINT",
53
+ "BINARY",
54
+ "BLOB",
55
+ "BOTH",
56
+ "BY",
57
+ "CALL",
58
+ "CASCADE",
59
+ "CASE",
60
+ "CHANGE",
61
+ "CHAR",
62
+ "CHARACTER",
63
+ "CHECK",
64
+ "COLLATE",
65
+ "COLUMN",
66
+ "CONDITION",
67
+ "CONSTRAINT",
68
+ "CONTINUE",
69
+ "CONVERT",
70
+ "CREATE",
71
+ "CROSS",
72
+ "CUBE",
73
+ "CUME_DIST",
74
+ "CURRENT_DATE",
75
+ "CURRENT_TIME",
76
+ "CURRENT_TIMESTAMP",
77
+ "CURRENT_USER",
78
+ "CURSOR",
79
+ "DATABASE",
80
+ "DATABASES",
81
+ "DAY_HOUR",
82
+ "DAY_MICROSECOND",
83
+ "DAY_MINUTE",
84
+ "DAY_SECOND",
85
+ "DEC",
86
+ "DECIMAL",
87
+ "DECLARE",
88
+ "DEFAULT",
89
+ "DELAYED",
90
+ "DELETE",
91
+ "DENSE_RANK",
92
+ "DESC",
93
+ "DESCRIBE",
94
+ "DETERMINISTIC",
95
+ "DISTINCT",
96
+ "DISTINCTROW",
97
+ "DIV",
98
+ "DOUBLE",
99
+ "DROP",
100
+ "DUAL",
101
+ "EACH",
102
+ "ELSE",
103
+ "ELSEIF",
104
+ "EMPTY",
105
+ "ENCLOSED",
106
+ "ESCAPED",
107
+ "EXCEPT",
108
+ "EXISTS",
109
+ "EXIT",
110
+ "EXPLAIN",
111
+ "FALSE",
112
+ "FETCH",
113
+ "FIRST_VALUE",
114
+ "FLOAT",
115
+ "FLOAT4",
116
+ "FLOAT8",
117
+ "FOR",
118
+ "FORCE",
119
+ "FOREIGN",
120
+ "FROM",
121
+ "FULLTEXT",
122
+ "FUNCTION",
123
+ "GENERATED",
124
+ "GET",
125
+ "GRANT",
126
+ "GROUP",
127
+ "GROUPING",
128
+ "GROUPS",
129
+ "HAVING",
130
+ "HIGH_PRIORITY",
131
+ "HOUR_MICROSECOND",
132
+ "HOUR_MINUTE",
133
+ "HOUR_SECOND",
134
+ "IF",
135
+ "IGNORE",
136
+ "IN",
137
+ "INDEX",
138
+ "INFILE",
139
+ "INNER",
140
+ "INOUT",
141
+ "INSENSITIVE",
142
+ "INSERT",
143
+ "INT",
144
+ "INT1",
145
+ "INT2",
146
+ "INT3",
147
+ "INT4",
148
+ "INT8",
149
+ "INTEGER",
150
+ "INTERVAL",
151
+ "INTO",
152
+ "IO_AFTER_GTIDS",
153
+ "IO_BEFORE_GTIDS",
154
+ "IS",
155
+ "ITERATE",
156
+ "JOIN",
157
+ "JSON_TABLE",
158
+ "KEY",
159
+ "KEYS",
160
+ "KILL",
161
+ "LAG",
162
+ "LAST_VALUE",
163
+ "LATERAL",
164
+ "LEAD",
165
+ "LEADING",
166
+ "LEAVE",
167
+ "LEFT",
168
+ "LIKE",
169
+ "LIMIT",
170
+ "LINEAR",
171
+ "LINES",
172
+ "LOAD",
173
+ "LOCALTIME",
174
+ "LOCALTIMESTAMP",
175
+ "LOCK",
176
+ "LONG",
177
+ "LONGBLOB",
178
+ "LONGTEXT",
179
+ "LOOP",
180
+ "LOW_PRIORITY",
181
+ "MASTER_BIND",
182
+ "MASTER_SSL_VERIFY_SERVER_CERT",
183
+ "MATCH",
184
+ "MAXVALUE",
185
+ "MEDIUMBLOB",
186
+ "MEDIUMINT",
187
+ "MEDIUMTEXT",
188
+ "MIDDLEINT",
189
+ "MINUTE_MICROSECOND",
190
+ "MINUTE_SECOND",
191
+ "MOD",
192
+ "MODIFIES",
193
+ "NATURAL",
194
+ "NOT",
195
+ "NO_WRITE_TO_BINLOG",
196
+ "NTH_VALUE",
197
+ "NTILE",
198
+ "NULL",
199
+ "NUMERIC",
200
+ "OF",
201
+ "ON",
202
+ "OPTIMIZE",
203
+ "OPTIMIZER_COSTS",
204
+ "OPTION",
205
+ "OPTIONALLY",
206
+ "OR",
207
+ "ORDER",
208
+ "OUT",
209
+ "OUTER",
210
+ "OUTFILE",
211
+ "OVER",
212
+ "PARTITION",
213
+ "PERCENT_RANK",
214
+ "PRECISION",
215
+ "PRIMARY",
216
+ "PROCEDURE",
217
+ "PURGE",
218
+ "RANGE",
219
+ "RANK",
220
+ "READ",
221
+ "READS",
222
+ "READ_WRITE",
223
+ "REAL",
224
+ "RECURSIVE",
225
+ "REFERENCES",
226
+ "REGEXP",
227
+ "RELEASE",
228
+ "RENAME",
229
+ "REPEAT",
230
+ "REPLACE",
231
+ "REQUIRE",
232
+ "RESIGNAL",
233
+ "RESTRICT",
234
+ "RETURN",
235
+ "REVOKE",
236
+ "RIGHT",
237
+ "RLIKE",
238
+ "ROW",
239
+ "ROWS",
240
+ "ROW_NUMBER",
241
+ "SCHEMA",
242
+ "SCHEMAS",
243
+ "SECOND_MICROSECOND",
244
+ "SELECT",
245
+ "SENSITIVE",
246
+ "SEPARATOR",
247
+ "SET",
248
+ "SHOW",
249
+ "SIGNAL",
250
+ "SMALLINT",
251
+ "SPATIAL",
252
+ "SPECIFIC",
253
+ "SQL",
254
+ "SQLEXCEPTION",
255
+ "SQLSTATE",
256
+ "SQLWARNING",
257
+ "SQL_BIG_RESULT",
258
+ "SQL_CALC_FOUND_ROWS",
259
+ "SQL_SMALL_RESULT",
260
+ "SSL",
261
+ "STARTING",
262
+ "STORED",
263
+ "STRAIGHT_JOIN",
264
+ "SYSTEM",
265
+ "TABLE",
266
+ "TERMINATED",
267
+ "THEN",
268
+ "TINYBLOB",
269
+ "TINYINT",
270
+ "TINYTEXT",
271
+ "TO",
272
+ "TRAILING",
273
+ "TRIGGER",
274
+ "TRUE",
275
+ "UNDO",
276
+ "UNION",
277
+ "UNIQUE",
278
+ "UNLOCK",
279
+ "UNSIGNED",
280
+ "UPDATE",
281
+ "USAGE",
282
+ "USE",
283
+ "USING",
284
+ "UTC_DATE",
285
+ "UTC_TIME",
286
+ "UTC_TIMESTAMP",
287
+ "VALUES",
288
+ "VARBINARY",
289
+ "VARCHAR",
290
+ "VARCHARACTER",
291
+ "VARYING",
292
+ "VIRTUAL",
293
+ "WHEN",
294
+ "WHERE",
295
+ "WHILE",
296
+ "WINDOW",
297
+ "WITH",
298
+ "WRITE",
299
+ "XOR",
300
+ "YEAR_MONTH",
301
+ "ZEROFILL"
302
+ ],
303
+ operators: [
304
+ "AND",
305
+ "BETWEEN",
306
+ "IN",
307
+ "LIKE",
308
+ "NOT",
309
+ "OR",
310
+ "IS",
311
+ "NULL",
312
+ "INTERSECT",
313
+ "UNION",
314
+ "INNER",
315
+ "JOIN",
316
+ "LEFT",
317
+ "OUTER",
318
+ "RIGHT"
319
+ ],
320
+ builtinFunctions: [
321
+ "ABS",
322
+ "ACOS",
323
+ "ADDDATE",
324
+ "ADDTIME",
325
+ "AES_DECRYPT",
326
+ "AES_ENCRYPT",
327
+ "ANY_VALUE",
328
+ "Area",
329
+ "AsBinary",
330
+ "AsWKB",
331
+ "ASCII",
332
+ "ASIN",
333
+ "AsText",
334
+ "AsWKT",
335
+ "ASYMMETRIC_DECRYPT",
336
+ "ASYMMETRIC_DERIVE",
337
+ "ASYMMETRIC_ENCRYPT",
338
+ "ASYMMETRIC_SIGN",
339
+ "ASYMMETRIC_VERIFY",
340
+ "ATAN",
341
+ "ATAN2",
342
+ "ATAN",
343
+ "AVG",
344
+ "BENCHMARK",
345
+ "BIN",
346
+ "BIT_AND",
347
+ "BIT_COUNT",
348
+ "BIT_LENGTH",
349
+ "BIT_OR",
350
+ "BIT_XOR",
351
+ "Buffer",
352
+ "CAST",
353
+ "CEIL",
354
+ "CEILING",
355
+ "Centroid",
356
+ "CHAR",
357
+ "CHAR_LENGTH",
358
+ "CHARACTER_LENGTH",
359
+ "CHARSET",
360
+ "COALESCE",
361
+ "COERCIBILITY",
362
+ "COLLATION",
363
+ "COMPRESS",
364
+ "CONCAT",
365
+ "CONCAT_WS",
366
+ "CONNECTION_ID",
367
+ "Contains",
368
+ "CONV",
369
+ "CONVERT",
370
+ "CONVERT_TZ",
371
+ "ConvexHull",
372
+ "COS",
373
+ "COT",
374
+ "COUNT",
375
+ "CRC32",
376
+ "CREATE_ASYMMETRIC_PRIV_KEY",
377
+ "CREATE_ASYMMETRIC_PUB_KEY",
378
+ "CREATE_DH_PARAMETERS",
379
+ "CREATE_DIGEST",
380
+ "Crosses",
381
+ "CUME_DIST",
382
+ "CURDATE",
383
+ "CURRENT_DATE",
384
+ "CURRENT_ROLE",
385
+ "CURRENT_TIME",
386
+ "CURRENT_TIMESTAMP",
387
+ "CURRENT_USER",
388
+ "CURTIME",
389
+ "DATABASE",
390
+ "DATE",
391
+ "DATE_ADD",
392
+ "DATE_FORMAT",
393
+ "DATE_SUB",
394
+ "DATEDIFF",
395
+ "DAY",
396
+ "DAYNAME",
397
+ "DAYOFMONTH",
398
+ "DAYOFWEEK",
399
+ "DAYOFYEAR",
400
+ "DECODE",
401
+ "DEFAULT",
402
+ "DEGREES",
403
+ "DES_DECRYPT",
404
+ "DES_ENCRYPT",
405
+ "DENSE_RANK",
406
+ "Dimension",
407
+ "Disjoint",
408
+ "Distance",
409
+ "ELT",
410
+ "ENCODE",
411
+ "ENCRYPT",
412
+ "EndPoint",
413
+ "Envelope",
414
+ "Equals",
415
+ "EXP",
416
+ "EXPORT_SET",
417
+ "ExteriorRing",
418
+ "EXTRACT",
419
+ "ExtractValue",
420
+ "FIELD",
421
+ "FIND_IN_SET",
422
+ "FIRST_VALUE",
423
+ "FLOOR",
424
+ "FORMAT",
425
+ "FORMAT_BYTES",
426
+ "FORMAT_PICO_TIME",
427
+ "FOUND_ROWS",
428
+ "FROM_BASE64",
429
+ "FROM_DAYS",
430
+ "FROM_UNIXTIME",
431
+ "GEN_RANGE",
432
+ "GEN_RND_EMAIL",
433
+ "GEN_RND_PAN",
434
+ "GEN_RND_SSN",
435
+ "GEN_RND_US_PHONE",
436
+ "GeomCollection",
437
+ "GeomCollFromText",
438
+ "GeometryCollectionFromText",
439
+ "GeomCollFromWKB",
440
+ "GeometryCollectionFromWKB",
441
+ "GeometryCollection",
442
+ "GeometryN",
443
+ "GeometryType",
444
+ "GeomFromText",
445
+ "GeometryFromText",
446
+ "GeomFromWKB",
447
+ "GeometryFromWKB",
448
+ "GET_FORMAT",
449
+ "GET_LOCK",
450
+ "GLength",
451
+ "GREATEST",
452
+ "GROUP_CONCAT",
453
+ "GROUPING",
454
+ "GTID_SUBSET",
455
+ "GTID_SUBTRACT",
456
+ "HEX",
457
+ "HOUR",
458
+ "ICU_VERSION",
459
+ "IF",
460
+ "IFNULL",
461
+ "INET_ATON",
462
+ "INET_NTOA",
463
+ "INET6_ATON",
464
+ "INET6_NTOA",
465
+ "INSERT",
466
+ "INSTR",
467
+ "InteriorRingN",
468
+ "Intersects",
469
+ "INTERVAL",
470
+ "IS_FREE_LOCK",
471
+ "IS_IPV4",
472
+ "IS_IPV4_COMPAT",
473
+ "IS_IPV4_MAPPED",
474
+ "IS_IPV6",
475
+ "IS_USED_LOCK",
476
+ "IS_UUID",
477
+ "IsClosed",
478
+ "IsEmpty",
479
+ "ISNULL",
480
+ "IsSimple",
481
+ "JSON_APPEND",
482
+ "JSON_ARRAY",
483
+ "JSON_ARRAY_APPEND",
484
+ "JSON_ARRAY_INSERT",
485
+ "JSON_ARRAYAGG",
486
+ "JSON_CONTAINS",
487
+ "JSON_CONTAINS_PATH",
488
+ "JSON_DEPTH",
489
+ "JSON_EXTRACT",
490
+ "JSON_INSERT",
491
+ "JSON_KEYS",
492
+ "JSON_LENGTH",
493
+ "JSON_MERGE",
494
+ "JSON_MERGE_PATCH",
495
+ "JSON_MERGE_PRESERVE",
496
+ "JSON_OBJECT",
497
+ "JSON_OBJECTAGG",
498
+ "JSON_OVERLAPS",
499
+ "JSON_PRETTY",
500
+ "JSON_QUOTE",
501
+ "JSON_REMOVE",
502
+ "JSON_REPLACE",
503
+ "JSON_SCHEMA_VALID",
504
+ "JSON_SCHEMA_VALIDATION_REPORT",
505
+ "JSON_SEARCH",
506
+ "JSON_SET",
507
+ "JSON_STORAGE_FREE",
508
+ "JSON_STORAGE_SIZE",
509
+ "JSON_TABLE",
510
+ "JSON_TYPE",
511
+ "JSON_UNQUOTE",
512
+ "JSON_VALID",
513
+ "LAG",
514
+ "LAST_DAY",
515
+ "LAST_INSERT_ID",
516
+ "LAST_VALUE",
517
+ "LCASE",
518
+ "LEAD",
519
+ "LEAST",
520
+ "LEFT",
521
+ "LENGTH",
522
+ "LineFromText",
523
+ "LineStringFromText",
524
+ "LineFromWKB",
525
+ "LineStringFromWKB",
526
+ "LineString",
527
+ "LN",
528
+ "LOAD_FILE",
529
+ "LOCALTIME",
530
+ "LOCALTIMESTAMP",
531
+ "LOCATE",
532
+ "LOG",
533
+ "LOG10",
534
+ "LOG2",
535
+ "LOWER",
536
+ "LPAD",
537
+ "LTRIM",
538
+ "MAKE_SET",
539
+ "MAKEDATE",
540
+ "MAKETIME",
541
+ "MASK_INNER",
542
+ "MASK_OUTER",
543
+ "MASK_PAN",
544
+ "MASK_PAN_RELAXED",
545
+ "MASK_SSN",
546
+ "MASTER_POS_WAIT",
547
+ "MAX",
548
+ "MBRContains",
549
+ "MBRCoveredBy",
550
+ "MBRCovers",
551
+ "MBRDisjoint",
552
+ "MBREqual",
553
+ "MBREquals",
554
+ "MBRIntersects",
555
+ "MBROverlaps",
556
+ "MBRTouches",
557
+ "MBRWithin",
558
+ "MD5",
559
+ "MEMBER OF",
560
+ "MICROSECOND",
561
+ "MID",
562
+ "MIN",
563
+ "MINUTE",
564
+ "MLineFromText",
565
+ "MultiLineStringFromText",
566
+ "MLineFromWKB",
567
+ "MultiLineStringFromWKB",
568
+ "MOD",
569
+ "MONTH",
570
+ "MONTHNAME",
571
+ "MPointFromText",
572
+ "MultiPointFromText",
573
+ "MPointFromWKB",
574
+ "MultiPointFromWKB",
575
+ "MPolyFromText",
576
+ "MultiPolygonFromText",
577
+ "MPolyFromWKB",
578
+ "MultiPolygonFromWKB",
579
+ "MultiLineString",
580
+ "MultiPoint",
581
+ "MultiPolygon",
582
+ "NAME_CONST",
583
+ "NOT IN",
584
+ "NOW",
585
+ "NTH_VALUE",
586
+ "NTILE",
587
+ "NULLIF",
588
+ "NumGeometries",
589
+ "NumInteriorRings",
590
+ "NumPoints",
591
+ "OCT",
592
+ "OCTET_LENGTH",
593
+ "OLD_PASSWORD",
594
+ "ORD",
595
+ "Overlaps",
596
+ "PASSWORD",
597
+ "PERCENT_RANK",
598
+ "PERIOD_ADD",
599
+ "PERIOD_DIFF",
600
+ "PI",
601
+ "Point",
602
+ "PointFromText",
603
+ "PointFromWKB",
604
+ "PointN",
605
+ "PolyFromText",
606
+ "PolygonFromText",
607
+ "PolyFromWKB",
608
+ "PolygonFromWKB",
609
+ "Polygon",
610
+ "POSITION",
611
+ "POW",
612
+ "POWER",
613
+ "PS_CURRENT_THREAD_ID",
614
+ "PS_THREAD_ID",
615
+ "PROCEDURE ANALYSE",
616
+ "QUARTER",
617
+ "QUOTE",
618
+ "RADIANS",
619
+ "RAND",
620
+ "RANDOM_BYTES",
621
+ "RANK",
622
+ "REGEXP_INSTR",
623
+ "REGEXP_LIKE",
624
+ "REGEXP_REPLACE",
625
+ "REGEXP_REPLACE",
626
+ "RELEASE_ALL_LOCKS",
627
+ "RELEASE_LOCK",
628
+ "REPEAT",
629
+ "REPLACE",
630
+ "REVERSE",
631
+ "RIGHT",
632
+ "ROLES_GRAPHML",
633
+ "ROUND",
634
+ "ROW_COUNT",
635
+ "ROW_NUMBER",
636
+ "RPAD",
637
+ "RTRIM",
638
+ "SCHEMA",
639
+ "SEC_TO_TIME",
640
+ "SECOND",
641
+ "SESSION_USER",
642
+ "SHA1",
643
+ "SHA",
644
+ "SHA2",
645
+ "SIGN",
646
+ "SIN",
647
+ "SLEEP",
648
+ "SOUNDEX",
649
+ "SOURCE_POS_WAIT",
650
+ "SPACE",
651
+ "SQRT",
652
+ "SRID",
653
+ "ST_Area",
654
+ "ST_AsBinary",
655
+ "ST_AsWKB",
656
+ "ST_AsGeoJSON",
657
+ "ST_AsText",
658
+ "ST_AsWKT",
659
+ "ST_Buffer",
660
+ "ST_Buffer_Strategy",
661
+ "ST_Centroid",
662
+ "ST_Collect",
663
+ "ST_Contains",
664
+ "ST_ConvexHull",
665
+ "ST_Crosses",
666
+ "ST_Difference",
667
+ "ST_Dimension",
668
+ "ST_Disjoint",
669
+ "ST_Distance",
670
+ "ST_Distance_Sphere",
671
+ "ST_EndPoint",
672
+ "ST_Envelope",
673
+ "ST_Equals",
674
+ "ST_ExteriorRing",
675
+ "ST_FrechetDistance",
676
+ "ST_GeoHash",
677
+ "ST_GeomCollFromText",
678
+ "ST_GeometryCollectionFromText",
679
+ "ST_GeomCollFromTxt",
680
+ "ST_GeomCollFromWKB",
681
+ "ST_GeometryCollectionFromWKB",
682
+ "ST_GeometryN",
683
+ "ST_GeometryType",
684
+ "ST_GeomFromGeoJSON",
685
+ "ST_GeomFromText",
686
+ "ST_GeometryFromText",
687
+ "ST_GeomFromWKB",
688
+ "ST_GeometryFromWKB",
689
+ "ST_HausdorffDistance",
690
+ "ST_InteriorRingN",
691
+ "ST_Intersection",
692
+ "ST_Intersects",
693
+ "ST_IsClosed",
694
+ "ST_IsEmpty",
695
+ "ST_IsSimple",
696
+ "ST_IsValid",
697
+ "ST_LatFromGeoHash",
698
+ "ST_Length",
699
+ "ST_LineFromText",
700
+ "ST_LineStringFromText",
701
+ "ST_LineFromWKB",
702
+ "ST_LineStringFromWKB",
703
+ "ST_LineInterpolatePoint",
704
+ "ST_LineInterpolatePoints",
705
+ "ST_LongFromGeoHash",
706
+ "ST_Longitude",
707
+ "ST_MakeEnvelope",
708
+ "ST_MLineFromText",
709
+ "ST_MultiLineStringFromText",
710
+ "ST_MLineFromWKB",
711
+ "ST_MultiLineStringFromWKB",
712
+ "ST_MPointFromText",
713
+ "ST_MultiPointFromText",
714
+ "ST_MPointFromWKB",
715
+ "ST_MultiPointFromWKB",
716
+ "ST_MPolyFromText",
717
+ "ST_MultiPolygonFromText",
718
+ "ST_MPolyFromWKB",
719
+ "ST_MultiPolygonFromWKB",
720
+ "ST_NumGeometries",
721
+ "ST_NumInteriorRing",
722
+ "ST_NumInteriorRings",
723
+ "ST_NumPoints",
724
+ "ST_Overlaps",
725
+ "ST_PointAtDistance",
726
+ "ST_PointFromGeoHash",
727
+ "ST_PointFromText",
728
+ "ST_PointFromWKB",
729
+ "ST_PointN",
730
+ "ST_PolyFromText",
731
+ "ST_PolygonFromText",
732
+ "ST_PolyFromWKB",
733
+ "ST_PolygonFromWKB",
734
+ "ST_Simplify",
735
+ "ST_SRID",
736
+ "ST_StartPoint",
737
+ "ST_SwapXY",
738
+ "ST_SymDifference",
739
+ "ST_Touches",
740
+ "ST_Transform",
741
+ "ST_Union",
742
+ "ST_Validate",
743
+ "ST_Within",
744
+ "ST_X",
745
+ "ST_Y",
746
+ "StartPoint",
747
+ "STATEMENT_DIGEST",
748
+ "STATEMENT_DIGEST_TEXT",
749
+ "STD",
750
+ "STDDEV",
751
+ "STDDEV_POP",
752
+ "STDDEV_SAMP",
753
+ "STR_TO_DATE",
754
+ "STRCMP",
755
+ "SUBDATE",
756
+ "SUBSTR",
757
+ "SUBSTRING",
758
+ "SUBSTRING_INDEX",
759
+ "SUBTIME",
760
+ "SUM",
761
+ "SYSDATE",
762
+ "SYSTEM_USER",
763
+ "TAN",
764
+ "TIME",
765
+ "TIME_FORMAT",
766
+ "TIME_TO_SEC",
767
+ "TIMEDIFF",
768
+ "TIMESTAMP",
769
+ "TIMESTAMPADD",
770
+ "TIMESTAMPDIFF",
771
+ "TO_BASE64",
772
+ "TO_DAYS",
773
+ "TO_SECONDS",
774
+ "Touches",
775
+ "TRIM",
776
+ "TRUNCATE",
777
+ "UCASE",
778
+ "UNCOMPRESS",
779
+ "UNCOMPRESSED_LENGTH",
780
+ "UNHEX",
781
+ "UNIX_TIMESTAMP",
782
+ "UpdateXML",
783
+ "UPPER",
784
+ "USER",
785
+ "UTC_DATE",
786
+ "UTC_TIME",
787
+ "UTC_TIMESTAMP",
788
+ "UUID",
789
+ "UUID_SHORT",
790
+ "UUID_TO_BIN",
791
+ "VALIDATE_PASSWORD_STRENGTH",
792
+ "VALUES",
793
+ "VAR_POP",
794
+ "VAR_SAMP",
795
+ "VARIANCE",
796
+ "VERSION",
797
+ "WAIT_FOR_EXECUTED_GTID_SET",
798
+ "WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",
799
+ "WEEK",
800
+ "WEEKDAY",
801
+ "WEEKOFYEAR",
802
+ "WEIGHT_STRING",
803
+ "Within",
804
+ "X",
805
+ "Y",
806
+ "YEAR",
807
+ "YEARWEEK"
808
+ ],
809
+ builtinVariables: [
810
+ // NOT SUPPORTED
811
+ ],
812
+ tokenizer: {
813
+ root: [
814
+ { include: "@comments" },
815
+ { include: "@whitespace" },
816
+ { include: "@numbers" },
817
+ { include: "@strings" },
818
+ { include: "@complexIdentifiers" },
819
+ { include: "@scopes" },
820
+ [/[;,.]/, "delimiter"],
821
+ [/[()]/, "@brackets"],
822
+ [
823
+ /[\w@]+/,
824
+ {
825
+ cases: {
826
+ "@operators": "operator",
827
+ "@builtinVariables": "predefined",
828
+ "@builtinFunctions": "predefined",
829
+ "@keywords": "keyword",
830
+ "@default": "identifier"
831
+ }
832
+ }
833
+ ],
834
+ [/[<>=!%&+\-*/|~^]/, "operator"]
835
+ ],
836
+ whitespace: [[/\s+/, "white"]],
837
+ comments: [
838
+ [/--+.*/, "comment"],
839
+ [/#+.*/, "comment"],
840
+ [/\/\*/, { token: "comment.quote", next: "@comment" }]
841
+ ],
842
+ comment: [
843
+ [/[^*/]+/, "comment"],
844
+ // Not supporting nested comments, as nested comments seem to not be standard?
845
+ // i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
846
+ // [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
847
+ [/\*\//, { token: "comment.quote", next: "@pop" }],
848
+ [/./, "comment"]
849
+ ],
850
+ numbers: [
851
+ [/0[xX][0-9a-fA-F]*/, "number"],
852
+ [/[$][+-]*\d*(\.\d*)?/, "number"],
853
+ [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
854
+ ],
855
+ strings: [
856
+ [/'/, { token: "string", next: "@string" }],
857
+ [/"/, { token: "string.double", next: "@stringDouble" }]
858
+ ],
859
+ string: [
860
+ [/\\'/, "string"],
861
+ [/[^']+/, "string"],
862
+ [/''/, "string"],
863
+ [/'/, { token: "string", next: "@pop" }]
864
+ ],
865
+ stringDouble: [
866
+ [/[^"]+/, "string.double"],
867
+ [/""/, "string.double"],
868
+ [/"/, { token: "string.double", next: "@pop" }]
869
+ ],
870
+ complexIdentifiers: [[/`/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
871
+ quotedIdentifier: [
872
+ [/[^`]+/, "identifier"],
873
+ [/``/, "identifier"],
874
+ [/`/, { token: "identifier.quote", next: "@pop" }]
875
+ ],
876
+ scopes: [
877
+ // NOT SUPPORTED
878
+ ]
879
+ }
880
+ };
881
+ export {
882
+ E as conf,
883
+ T as language
884
+ };