sun-form-v3 1.0.74 → 1.0.76
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css.worker-Dwc4fr67.js +11 -0
- package/dist/editor.worker-D8X-wirG.js +11 -0
- package/dist/html.worker-BrYAwuEC.js +11 -0
- package/dist/{index-CiOfmn33.js → index-DFhw3AXw.js} +38774 -67074
- package/dist/{javascript-Z0cEzpmH.js → javascript-Cg8yvIbj.js} +1 -1
- package/dist/json.worker-CrHwZjY-.js +11 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +220 -1394
- package/dist/ts.worker-yDFI3o-d.js +11 -0
- package/dist/{tsMode-DzIar2vL.js → tsMode-DC3WlIAp.js} +1 -1
- package/dist/{typescript-DF0dUYS_.js → typescript-qB7JvgzD.js} +1 -1
- package/package.json +3 -1
- package/dist/abap-DfvySaIJ.js +0 -1404
- package/dist/apex-B__0irD3.js +0 -332
- package/dist/azcli-CDMGhRmx.js +0 -74
- package/dist/bat-0Mk8aqzx.js +0 -106
- package/dist/bicep-BBi_I06Z.js +0 -108
- package/dist/cameligo-D0G_Zm6X.js +0 -180
- package/dist/clojure-o2ZKLeMp.js +0 -767
- package/dist/coffee-DOQff5VC.js +0 -238
- package/dist/cpp-CQGJnWhD.js +0 -395
- package/dist/csharp-C1jLsHl8.js +0 -332
- package/dist/csp-C_ttMQaW.js +0 -59
- package/dist/css-BC202kVV.js +0 -193
- package/dist/cssMode-CYSIZcJF.js +0 -1541
- package/dist/cypher-DwtEH7Fi.js +0 -269
- package/dist/dart-D9XknsP2.js +0 -287
- package/dist/dockerfile-DgsNjqqa.js +0 -136
- package/dist/ecl-BAMCHBl6.js +0 -462
- package/dist/elixir-CegIttP8.js +0 -575
- package/dist/flow9-9608t7UV.js +0 -148
- package/dist/freemarker2-DELGq5a7.js +0 -995
- package/dist/fsharp-CCtt9-1_.js +0 -223
- package/dist/go-CGUIPbct.js +0 -224
- package/dist/graphql-BNRIFFIn.js +0 -157
- package/dist/handlebars-Cycz5sVT.js +0 -425
- package/dist/hcl-C__KLIXe.js +0 -189
- package/dist/html-pEgLIMYL.js +0 -314
- package/dist/htmlMode-wBX2qW_D.js +0 -1551
- package/dist/ini-CeKYn_zA.js +0 -77
- package/dist/java-Dm24deQl.js +0 -238
- package/dist/jsonMode-DOH1aqKa.js +0 -1957
- package/dist/julia-BImNW7VE.js +0 -517
- package/dist/kotlin-BfE79GEb.js +0 -259
- package/dist/less-DglNOcaC.js +0 -168
- package/dist/lexon-BA0dRz9Q.js +0 -163
- package/dist/liquid-DWwdGb03.js +0 -246
- package/dist/lua-DMkWzJcm.js +0 -168
- package/dist/m3-sA-5shO8.js +0 -216
- package/dist/markdown-OYRB1igA.js +0 -235
- package/dist/mdx-Of9EufjP.js +0 -171
- package/dist/mips-rRzkJ_7G.js +0 -204
- package/dist/msdax-DoVJdUhd.js +0 -381
- package/dist/mysql-Ty44IHXo.js +0 -884
- package/dist/objective-c-VUfyhYrA.js +0 -189
- package/dist/pascal-DkASiYyw.js +0 -257
- package/dist/pascaligo-p-ELPlVO.js +0 -170
- package/dist/perl-Cjl1FxLZ.js +0 -632
- package/dist/pgsql-DjVenF7s.js +0 -857
- package/dist/php-CwvGzZOO.js +0 -506
- package/dist/pla-Br1iaBIV.js +0 -143
- package/dist/postiats-BaeP8zZY.js +0 -913
- package/dist/powerquery-CLCshuo8.js +0 -896
- package/dist/powershell-CZV50w5N.js +0 -245
- package/dist/protobuf-MV3XTewJ.js +0 -426
- package/dist/pug-DkDg4c4l.js +0 -408
- package/dist/python-CaZLJpKQ.js +0 -282
- package/dist/qsharp-BAtiKA97.js +0 -291
- package/dist/r-8ocrd-h-.js +0 -249
- package/dist/razor-Dz07fRRv.js +0 -556
- package/dist/redis-9sZiddxc.js +0 -308
- package/dist/redshift-DQfTOGC0.js +0 -815
- package/dist/restructuredtext-DXU-vkgr.js +0 -180
- package/dist/ruby-DotfqwMf.js +0 -517
- package/dist/rust-BIauJ5KN.js +0 -349
- package/dist/sb-CmWMvDEV.js +0 -121
- package/dist/scala-C81brEbk.js +0 -376
- package/dist/scheme-D0pcFz2x.js +0 -114
- package/dist/scss-BOdN2fGG.js +0 -268
- package/dist/shell-6E09eAkU.js +0 -227
- package/dist/solidity-CWStzA1K.js +0 -1373
- package/dist/sophia-76Sb6CWe.js +0 -205
- package/dist/sparql-BmZTkOWT.js +0 -207
- package/dist/sql-Cs9TBAW5.js +0 -859
- package/dist/st-B-rqE1Bu.js +0 -422
- package/dist/swift-Btsj6YxQ.js +0 -318
- package/dist/systemverilog-B3RHBRa2.js +0 -582
- package/dist/tcl-Dpj776pn.js +0 -238
- package/dist/twig-Bb9JmBsE.js +0 -398
- package/dist/typespec-CDWeg3SU.js +0 -123
- package/dist/vb-DEXnYwEI.js +0 -378
- package/dist/wgsl-D602c1lx.js +0 -445
- package/dist/xml-D6-A-jMv.js +0 -101
- package/dist/yaml-OnbiU7Fq.js +0 -212
package/dist/sql-Cs9TBAW5.js
DELETED
@@ -1,859 +0,0 @@
|
|
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
|
-
"ABORT",
|
42
|
-
"ABSOLUTE",
|
43
|
-
"ACTION",
|
44
|
-
"ADA",
|
45
|
-
"ADD",
|
46
|
-
"AFTER",
|
47
|
-
"ALL",
|
48
|
-
"ALLOCATE",
|
49
|
-
"ALTER",
|
50
|
-
"ALWAYS",
|
51
|
-
"ANALYZE",
|
52
|
-
"AND",
|
53
|
-
"ANY",
|
54
|
-
"ARE",
|
55
|
-
"AS",
|
56
|
-
"ASC",
|
57
|
-
"ASSERTION",
|
58
|
-
"AT",
|
59
|
-
"ATTACH",
|
60
|
-
"AUTHORIZATION",
|
61
|
-
"AUTOINCREMENT",
|
62
|
-
"AVG",
|
63
|
-
"BACKUP",
|
64
|
-
"BEFORE",
|
65
|
-
"BEGIN",
|
66
|
-
"BETWEEN",
|
67
|
-
"BIT",
|
68
|
-
"BIT_LENGTH",
|
69
|
-
"BOTH",
|
70
|
-
"BREAK",
|
71
|
-
"BROWSE",
|
72
|
-
"BULK",
|
73
|
-
"BY",
|
74
|
-
"CASCADE",
|
75
|
-
"CASCADED",
|
76
|
-
"CASE",
|
77
|
-
"CAST",
|
78
|
-
"CATALOG",
|
79
|
-
"CHAR",
|
80
|
-
"CHARACTER",
|
81
|
-
"CHARACTER_LENGTH",
|
82
|
-
"CHAR_LENGTH",
|
83
|
-
"CHECK",
|
84
|
-
"CHECKPOINT",
|
85
|
-
"CLOSE",
|
86
|
-
"CLUSTERED",
|
87
|
-
"COALESCE",
|
88
|
-
"COLLATE",
|
89
|
-
"COLLATION",
|
90
|
-
"COLUMN",
|
91
|
-
"COMMIT",
|
92
|
-
"COMPUTE",
|
93
|
-
"CONFLICT",
|
94
|
-
"CONNECT",
|
95
|
-
"CONNECTION",
|
96
|
-
"CONSTRAINT",
|
97
|
-
"CONSTRAINTS",
|
98
|
-
"CONTAINS",
|
99
|
-
"CONTAINSTABLE",
|
100
|
-
"CONTINUE",
|
101
|
-
"CONVERT",
|
102
|
-
"CORRESPONDING",
|
103
|
-
"COUNT",
|
104
|
-
"CREATE",
|
105
|
-
"CROSS",
|
106
|
-
"CURRENT",
|
107
|
-
"CURRENT_DATE",
|
108
|
-
"CURRENT_TIME",
|
109
|
-
"CURRENT_TIMESTAMP",
|
110
|
-
"CURRENT_USER",
|
111
|
-
"CURSOR",
|
112
|
-
"DATABASE",
|
113
|
-
"DATE",
|
114
|
-
"DAY",
|
115
|
-
"DBCC",
|
116
|
-
"DEALLOCATE",
|
117
|
-
"DEC",
|
118
|
-
"DECIMAL",
|
119
|
-
"DECLARE",
|
120
|
-
"DEFAULT",
|
121
|
-
"DEFERRABLE",
|
122
|
-
"DEFERRED",
|
123
|
-
"DELETE",
|
124
|
-
"DENY",
|
125
|
-
"DESC",
|
126
|
-
"DESCRIBE",
|
127
|
-
"DESCRIPTOR",
|
128
|
-
"DETACH",
|
129
|
-
"DIAGNOSTICS",
|
130
|
-
"DISCONNECT",
|
131
|
-
"DISK",
|
132
|
-
"DISTINCT",
|
133
|
-
"DISTRIBUTED",
|
134
|
-
"DO",
|
135
|
-
"DOMAIN",
|
136
|
-
"DOUBLE",
|
137
|
-
"DROP",
|
138
|
-
"DUMP",
|
139
|
-
"EACH",
|
140
|
-
"ELSE",
|
141
|
-
"END",
|
142
|
-
"END-EXEC",
|
143
|
-
"ERRLVL",
|
144
|
-
"ESCAPE",
|
145
|
-
"EXCEPT",
|
146
|
-
"EXCEPTION",
|
147
|
-
"EXCLUDE",
|
148
|
-
"EXCLUSIVE",
|
149
|
-
"EXEC",
|
150
|
-
"EXECUTE",
|
151
|
-
"EXISTS",
|
152
|
-
"EXIT",
|
153
|
-
"EXPLAIN",
|
154
|
-
"EXTERNAL",
|
155
|
-
"EXTRACT",
|
156
|
-
"FAIL",
|
157
|
-
"FALSE",
|
158
|
-
"FETCH",
|
159
|
-
"FILE",
|
160
|
-
"FILLFACTOR",
|
161
|
-
"FILTER",
|
162
|
-
"FIRST",
|
163
|
-
"FLOAT",
|
164
|
-
"FOLLOWING",
|
165
|
-
"FOR",
|
166
|
-
"FOREIGN",
|
167
|
-
"FORTRAN",
|
168
|
-
"FOUND",
|
169
|
-
"FREETEXT",
|
170
|
-
"FREETEXTTABLE",
|
171
|
-
"FROM",
|
172
|
-
"FULL",
|
173
|
-
"FUNCTION",
|
174
|
-
"GENERATED",
|
175
|
-
"GET",
|
176
|
-
"GLOB",
|
177
|
-
"GLOBAL",
|
178
|
-
"GO",
|
179
|
-
"GOTO",
|
180
|
-
"GRANT",
|
181
|
-
"GROUP",
|
182
|
-
"GROUPS",
|
183
|
-
"HAVING",
|
184
|
-
"HOLDLOCK",
|
185
|
-
"HOUR",
|
186
|
-
"IDENTITY",
|
187
|
-
"IDENTITYCOL",
|
188
|
-
"IDENTITY_INSERT",
|
189
|
-
"IF",
|
190
|
-
"IGNORE",
|
191
|
-
"IMMEDIATE",
|
192
|
-
"IN",
|
193
|
-
"INCLUDE",
|
194
|
-
"INDEX",
|
195
|
-
"INDEXED",
|
196
|
-
"INDICATOR",
|
197
|
-
"INITIALLY",
|
198
|
-
"INNER",
|
199
|
-
"INPUT",
|
200
|
-
"INSENSITIVE",
|
201
|
-
"INSERT",
|
202
|
-
"INSTEAD",
|
203
|
-
"INT",
|
204
|
-
"INTEGER",
|
205
|
-
"INTERSECT",
|
206
|
-
"INTERVAL",
|
207
|
-
"INTO",
|
208
|
-
"IS",
|
209
|
-
"ISNULL",
|
210
|
-
"ISOLATION",
|
211
|
-
"JOIN",
|
212
|
-
"KEY",
|
213
|
-
"KILL",
|
214
|
-
"LANGUAGE",
|
215
|
-
"LAST",
|
216
|
-
"LEADING",
|
217
|
-
"LEFT",
|
218
|
-
"LEVEL",
|
219
|
-
"LIKE",
|
220
|
-
"LIMIT",
|
221
|
-
"LINENO",
|
222
|
-
"LOAD",
|
223
|
-
"LOCAL",
|
224
|
-
"LOWER",
|
225
|
-
"MATCH",
|
226
|
-
"MATERIALIZED",
|
227
|
-
"MAX",
|
228
|
-
"MERGE",
|
229
|
-
"MIN",
|
230
|
-
"MINUTE",
|
231
|
-
"MODULE",
|
232
|
-
"MONTH",
|
233
|
-
"NAMES",
|
234
|
-
"NATIONAL",
|
235
|
-
"NATURAL",
|
236
|
-
"NCHAR",
|
237
|
-
"NEXT",
|
238
|
-
"NO",
|
239
|
-
"NOCHECK",
|
240
|
-
"NONCLUSTERED",
|
241
|
-
"NONE",
|
242
|
-
"NOT",
|
243
|
-
"NOTHING",
|
244
|
-
"NOTNULL",
|
245
|
-
"NULL",
|
246
|
-
"NULLIF",
|
247
|
-
"NULLS",
|
248
|
-
"NUMERIC",
|
249
|
-
"OCTET_LENGTH",
|
250
|
-
"OF",
|
251
|
-
"OFF",
|
252
|
-
"OFFSET",
|
253
|
-
"OFFSETS",
|
254
|
-
"ON",
|
255
|
-
"ONLY",
|
256
|
-
"OPEN",
|
257
|
-
"OPENDATASOURCE",
|
258
|
-
"OPENQUERY",
|
259
|
-
"OPENROWSET",
|
260
|
-
"OPENXML",
|
261
|
-
"OPTION",
|
262
|
-
"OR",
|
263
|
-
"ORDER",
|
264
|
-
"OTHERS",
|
265
|
-
"OUTER",
|
266
|
-
"OUTPUT",
|
267
|
-
"OVER",
|
268
|
-
"OVERLAPS",
|
269
|
-
"PAD",
|
270
|
-
"PARTIAL",
|
271
|
-
"PARTITION",
|
272
|
-
"PASCAL",
|
273
|
-
"PERCENT",
|
274
|
-
"PIVOT",
|
275
|
-
"PLAN",
|
276
|
-
"POSITION",
|
277
|
-
"PRAGMA",
|
278
|
-
"PRECEDING",
|
279
|
-
"PRECISION",
|
280
|
-
"PREPARE",
|
281
|
-
"PRESERVE",
|
282
|
-
"PRIMARY",
|
283
|
-
"PRINT",
|
284
|
-
"PRIOR",
|
285
|
-
"PRIVILEGES",
|
286
|
-
"PROC",
|
287
|
-
"PROCEDURE",
|
288
|
-
"PUBLIC",
|
289
|
-
"QUERY",
|
290
|
-
"RAISE",
|
291
|
-
"RAISERROR",
|
292
|
-
"RANGE",
|
293
|
-
"READ",
|
294
|
-
"READTEXT",
|
295
|
-
"REAL",
|
296
|
-
"RECONFIGURE",
|
297
|
-
"RECURSIVE",
|
298
|
-
"REFERENCES",
|
299
|
-
"REGEXP",
|
300
|
-
"REINDEX",
|
301
|
-
"RELATIVE",
|
302
|
-
"RELEASE",
|
303
|
-
"RENAME",
|
304
|
-
"REPLACE",
|
305
|
-
"REPLICATION",
|
306
|
-
"RESTORE",
|
307
|
-
"RESTRICT",
|
308
|
-
"RETURN",
|
309
|
-
"RETURNING",
|
310
|
-
"REVERT",
|
311
|
-
"REVOKE",
|
312
|
-
"RIGHT",
|
313
|
-
"ROLLBACK",
|
314
|
-
"ROW",
|
315
|
-
"ROWCOUNT",
|
316
|
-
"ROWGUIDCOL",
|
317
|
-
"ROWS",
|
318
|
-
"RULE",
|
319
|
-
"SAVE",
|
320
|
-
"SAVEPOINT",
|
321
|
-
"SCHEMA",
|
322
|
-
"SCROLL",
|
323
|
-
"SECOND",
|
324
|
-
"SECTION",
|
325
|
-
"SECURITYAUDIT",
|
326
|
-
"SELECT",
|
327
|
-
"SEMANTICKEYPHRASETABLE",
|
328
|
-
"SEMANTICSIMILARITYDETAILSTABLE",
|
329
|
-
"SEMANTICSIMILARITYTABLE",
|
330
|
-
"SESSION",
|
331
|
-
"SESSION_USER",
|
332
|
-
"SET",
|
333
|
-
"SETUSER",
|
334
|
-
"SHUTDOWN",
|
335
|
-
"SIZE",
|
336
|
-
"SMALLINT",
|
337
|
-
"SOME",
|
338
|
-
"SPACE",
|
339
|
-
"SQL",
|
340
|
-
"SQLCA",
|
341
|
-
"SQLCODE",
|
342
|
-
"SQLERROR",
|
343
|
-
"SQLSTATE",
|
344
|
-
"SQLWARNING",
|
345
|
-
"STATISTICS",
|
346
|
-
"SUBSTRING",
|
347
|
-
"SUM",
|
348
|
-
"SYSTEM_USER",
|
349
|
-
"TABLE",
|
350
|
-
"TABLESAMPLE",
|
351
|
-
"TEMP",
|
352
|
-
"TEMPORARY",
|
353
|
-
"TEXTSIZE",
|
354
|
-
"THEN",
|
355
|
-
"TIES",
|
356
|
-
"TIME",
|
357
|
-
"TIMESTAMP",
|
358
|
-
"TIMEZONE_HOUR",
|
359
|
-
"TIMEZONE_MINUTE",
|
360
|
-
"TO",
|
361
|
-
"TOP",
|
362
|
-
"TRAILING",
|
363
|
-
"TRAN",
|
364
|
-
"TRANSACTION",
|
365
|
-
"TRANSLATE",
|
366
|
-
"TRANSLATION",
|
367
|
-
"TRIGGER",
|
368
|
-
"TRIM",
|
369
|
-
"TRUE",
|
370
|
-
"TRUNCATE",
|
371
|
-
"TRY_CONVERT",
|
372
|
-
"TSEQUAL",
|
373
|
-
"UNBOUNDED",
|
374
|
-
"UNION",
|
375
|
-
"UNIQUE",
|
376
|
-
"UNKNOWN",
|
377
|
-
"UNPIVOT",
|
378
|
-
"UPDATE",
|
379
|
-
"UPDATETEXT",
|
380
|
-
"UPPER",
|
381
|
-
"USAGE",
|
382
|
-
"USE",
|
383
|
-
"USER",
|
384
|
-
"USING",
|
385
|
-
"VACUUM",
|
386
|
-
"VALUE",
|
387
|
-
"VALUES",
|
388
|
-
"VARCHAR",
|
389
|
-
"VARYING",
|
390
|
-
"VIEW",
|
391
|
-
"VIRTUAL",
|
392
|
-
"WAITFOR",
|
393
|
-
"WHEN",
|
394
|
-
"WHENEVER",
|
395
|
-
"WHERE",
|
396
|
-
"WHILE",
|
397
|
-
"WINDOW",
|
398
|
-
"WITH",
|
399
|
-
"WITHIN GROUP",
|
400
|
-
"WITHOUT",
|
401
|
-
"WORK",
|
402
|
-
"WRITE",
|
403
|
-
"WRITETEXT",
|
404
|
-
"YEAR",
|
405
|
-
"ZONE"
|
406
|
-
],
|
407
|
-
operators: [
|
408
|
-
// Logical
|
409
|
-
"ALL",
|
410
|
-
"AND",
|
411
|
-
"ANY",
|
412
|
-
"BETWEEN",
|
413
|
-
"EXISTS",
|
414
|
-
"IN",
|
415
|
-
"LIKE",
|
416
|
-
"NOT",
|
417
|
-
"OR",
|
418
|
-
"SOME",
|
419
|
-
// Set
|
420
|
-
"EXCEPT",
|
421
|
-
"INTERSECT",
|
422
|
-
"UNION",
|
423
|
-
// Join
|
424
|
-
"APPLY",
|
425
|
-
"CROSS",
|
426
|
-
"FULL",
|
427
|
-
"INNER",
|
428
|
-
"JOIN",
|
429
|
-
"LEFT",
|
430
|
-
"OUTER",
|
431
|
-
"RIGHT",
|
432
|
-
// Predicates
|
433
|
-
"CONTAINS",
|
434
|
-
"FREETEXT",
|
435
|
-
"IS",
|
436
|
-
"NULL",
|
437
|
-
// Pivoting
|
438
|
-
"PIVOT",
|
439
|
-
"UNPIVOT",
|
440
|
-
// Merging
|
441
|
-
"MATCHED"
|
442
|
-
],
|
443
|
-
builtinFunctions: [
|
444
|
-
// Aggregate
|
445
|
-
"AVG",
|
446
|
-
"CHECKSUM_AGG",
|
447
|
-
"COUNT",
|
448
|
-
"COUNT_BIG",
|
449
|
-
"GROUPING",
|
450
|
-
"GROUPING_ID",
|
451
|
-
"MAX",
|
452
|
-
"MIN",
|
453
|
-
"SUM",
|
454
|
-
"STDEV",
|
455
|
-
"STDEVP",
|
456
|
-
"VAR",
|
457
|
-
"VARP",
|
458
|
-
// Analytic
|
459
|
-
"CUME_DIST",
|
460
|
-
"FIRST_VALUE",
|
461
|
-
"LAG",
|
462
|
-
"LAST_VALUE",
|
463
|
-
"LEAD",
|
464
|
-
"PERCENTILE_CONT",
|
465
|
-
"PERCENTILE_DISC",
|
466
|
-
"PERCENT_RANK",
|
467
|
-
// Collation
|
468
|
-
"COLLATE",
|
469
|
-
"COLLATIONPROPERTY",
|
470
|
-
"TERTIARY_WEIGHTS",
|
471
|
-
// Azure
|
472
|
-
"FEDERATION_FILTERING_VALUE",
|
473
|
-
// Conversion
|
474
|
-
"CAST",
|
475
|
-
"CONVERT",
|
476
|
-
"PARSE",
|
477
|
-
"TRY_CAST",
|
478
|
-
"TRY_CONVERT",
|
479
|
-
"TRY_PARSE",
|
480
|
-
// Cryptographic
|
481
|
-
"ASYMKEY_ID",
|
482
|
-
"ASYMKEYPROPERTY",
|
483
|
-
"CERTPROPERTY",
|
484
|
-
"CERT_ID",
|
485
|
-
"CRYPT_GEN_RANDOM",
|
486
|
-
"DECRYPTBYASYMKEY",
|
487
|
-
"DECRYPTBYCERT",
|
488
|
-
"DECRYPTBYKEY",
|
489
|
-
"DECRYPTBYKEYAUTOASYMKEY",
|
490
|
-
"DECRYPTBYKEYAUTOCERT",
|
491
|
-
"DECRYPTBYPASSPHRASE",
|
492
|
-
"ENCRYPTBYASYMKEY",
|
493
|
-
"ENCRYPTBYCERT",
|
494
|
-
"ENCRYPTBYKEY",
|
495
|
-
"ENCRYPTBYPASSPHRASE",
|
496
|
-
"HASHBYTES",
|
497
|
-
"IS_OBJECTSIGNED",
|
498
|
-
"KEY_GUID",
|
499
|
-
"KEY_ID",
|
500
|
-
"KEY_NAME",
|
501
|
-
"SIGNBYASYMKEY",
|
502
|
-
"SIGNBYCERT",
|
503
|
-
"SYMKEYPROPERTY",
|
504
|
-
"VERIFYSIGNEDBYCERT",
|
505
|
-
"VERIFYSIGNEDBYASYMKEY",
|
506
|
-
// Cursor
|
507
|
-
"CURSOR_STATUS",
|
508
|
-
// Datatype
|
509
|
-
"DATALENGTH",
|
510
|
-
"IDENT_CURRENT",
|
511
|
-
"IDENT_INCR",
|
512
|
-
"IDENT_SEED",
|
513
|
-
"IDENTITY",
|
514
|
-
"SQL_VARIANT_PROPERTY",
|
515
|
-
// Datetime
|
516
|
-
"CURRENT_TIMESTAMP",
|
517
|
-
"DATEADD",
|
518
|
-
"DATEDIFF",
|
519
|
-
"DATEFROMPARTS",
|
520
|
-
"DATENAME",
|
521
|
-
"DATEPART",
|
522
|
-
"DATETIME2FROMPARTS",
|
523
|
-
"DATETIMEFROMPARTS",
|
524
|
-
"DATETIMEOFFSETFROMPARTS",
|
525
|
-
"DAY",
|
526
|
-
"EOMONTH",
|
527
|
-
"GETDATE",
|
528
|
-
"GETUTCDATE",
|
529
|
-
"ISDATE",
|
530
|
-
"MONTH",
|
531
|
-
"SMALLDATETIMEFROMPARTS",
|
532
|
-
"SWITCHOFFSET",
|
533
|
-
"SYSDATETIME",
|
534
|
-
"SYSDATETIMEOFFSET",
|
535
|
-
"SYSUTCDATETIME",
|
536
|
-
"TIMEFROMPARTS",
|
537
|
-
"TODATETIMEOFFSET",
|
538
|
-
"YEAR",
|
539
|
-
// Logical
|
540
|
-
"CHOOSE",
|
541
|
-
"COALESCE",
|
542
|
-
"IIF",
|
543
|
-
"NULLIF",
|
544
|
-
// Mathematical
|
545
|
-
"ABS",
|
546
|
-
"ACOS",
|
547
|
-
"ASIN",
|
548
|
-
"ATAN",
|
549
|
-
"ATN2",
|
550
|
-
"CEILING",
|
551
|
-
"COS",
|
552
|
-
"COT",
|
553
|
-
"DEGREES",
|
554
|
-
"EXP",
|
555
|
-
"FLOOR",
|
556
|
-
"LOG",
|
557
|
-
"LOG10",
|
558
|
-
"PI",
|
559
|
-
"POWER",
|
560
|
-
"RADIANS",
|
561
|
-
"RAND",
|
562
|
-
"ROUND",
|
563
|
-
"SIGN",
|
564
|
-
"SIN",
|
565
|
-
"SQRT",
|
566
|
-
"SQUARE",
|
567
|
-
"TAN",
|
568
|
-
// Metadata
|
569
|
-
"APP_NAME",
|
570
|
-
"APPLOCK_MODE",
|
571
|
-
"APPLOCK_TEST",
|
572
|
-
"ASSEMBLYPROPERTY",
|
573
|
-
"COL_LENGTH",
|
574
|
-
"COL_NAME",
|
575
|
-
"COLUMNPROPERTY",
|
576
|
-
"DATABASE_PRINCIPAL_ID",
|
577
|
-
"DATABASEPROPERTYEX",
|
578
|
-
"DB_ID",
|
579
|
-
"DB_NAME",
|
580
|
-
"FILE_ID",
|
581
|
-
"FILE_IDEX",
|
582
|
-
"FILE_NAME",
|
583
|
-
"FILEGROUP_ID",
|
584
|
-
"FILEGROUP_NAME",
|
585
|
-
"FILEGROUPPROPERTY",
|
586
|
-
"FILEPROPERTY",
|
587
|
-
"FULLTEXTCATALOGPROPERTY",
|
588
|
-
"FULLTEXTSERVICEPROPERTY",
|
589
|
-
"INDEX_COL",
|
590
|
-
"INDEXKEY_PROPERTY",
|
591
|
-
"INDEXPROPERTY",
|
592
|
-
"OBJECT_DEFINITION",
|
593
|
-
"OBJECT_ID",
|
594
|
-
"OBJECT_NAME",
|
595
|
-
"OBJECT_SCHEMA_NAME",
|
596
|
-
"OBJECTPROPERTY",
|
597
|
-
"OBJECTPROPERTYEX",
|
598
|
-
"ORIGINAL_DB_NAME",
|
599
|
-
"PARSENAME",
|
600
|
-
"SCHEMA_ID",
|
601
|
-
"SCHEMA_NAME",
|
602
|
-
"SCOPE_IDENTITY",
|
603
|
-
"SERVERPROPERTY",
|
604
|
-
"STATS_DATE",
|
605
|
-
"TYPE_ID",
|
606
|
-
"TYPE_NAME",
|
607
|
-
"TYPEPROPERTY",
|
608
|
-
// Ranking
|
609
|
-
"DENSE_RANK",
|
610
|
-
"NTILE",
|
611
|
-
"RANK",
|
612
|
-
"ROW_NUMBER",
|
613
|
-
// Replication
|
614
|
-
"PUBLISHINGSERVERNAME",
|
615
|
-
// Rowset
|
616
|
-
"OPENDATASOURCE",
|
617
|
-
"OPENQUERY",
|
618
|
-
"OPENROWSET",
|
619
|
-
"OPENXML",
|
620
|
-
// Security
|
621
|
-
"CERTENCODED",
|
622
|
-
"CERTPRIVATEKEY",
|
623
|
-
"CURRENT_USER",
|
624
|
-
"HAS_DBACCESS",
|
625
|
-
"HAS_PERMS_BY_NAME",
|
626
|
-
"IS_MEMBER",
|
627
|
-
"IS_ROLEMEMBER",
|
628
|
-
"IS_SRVROLEMEMBER",
|
629
|
-
"LOGINPROPERTY",
|
630
|
-
"ORIGINAL_LOGIN",
|
631
|
-
"PERMISSIONS",
|
632
|
-
"PWDENCRYPT",
|
633
|
-
"PWDCOMPARE",
|
634
|
-
"SESSION_USER",
|
635
|
-
"SESSIONPROPERTY",
|
636
|
-
"SUSER_ID",
|
637
|
-
"SUSER_NAME",
|
638
|
-
"SUSER_SID",
|
639
|
-
"SUSER_SNAME",
|
640
|
-
"SYSTEM_USER",
|
641
|
-
"USER",
|
642
|
-
"USER_ID",
|
643
|
-
"USER_NAME",
|
644
|
-
// String
|
645
|
-
"ASCII",
|
646
|
-
"CHAR",
|
647
|
-
"CHARINDEX",
|
648
|
-
"CONCAT",
|
649
|
-
"DIFFERENCE",
|
650
|
-
"FORMAT",
|
651
|
-
"LEFT",
|
652
|
-
"LEN",
|
653
|
-
"LOWER",
|
654
|
-
"LTRIM",
|
655
|
-
"NCHAR",
|
656
|
-
"PATINDEX",
|
657
|
-
"QUOTENAME",
|
658
|
-
"REPLACE",
|
659
|
-
"REPLICATE",
|
660
|
-
"REVERSE",
|
661
|
-
"RIGHT",
|
662
|
-
"RTRIM",
|
663
|
-
"SOUNDEX",
|
664
|
-
"SPACE",
|
665
|
-
"STR",
|
666
|
-
"STUFF",
|
667
|
-
"SUBSTRING",
|
668
|
-
"UNICODE",
|
669
|
-
"UPPER",
|
670
|
-
// System
|
671
|
-
"BINARY_CHECKSUM",
|
672
|
-
"CHECKSUM",
|
673
|
-
"CONNECTIONPROPERTY",
|
674
|
-
"CONTEXT_INFO",
|
675
|
-
"CURRENT_REQUEST_ID",
|
676
|
-
"ERROR_LINE",
|
677
|
-
"ERROR_NUMBER",
|
678
|
-
"ERROR_MESSAGE",
|
679
|
-
"ERROR_PROCEDURE",
|
680
|
-
"ERROR_SEVERITY",
|
681
|
-
"ERROR_STATE",
|
682
|
-
"FORMATMESSAGE",
|
683
|
-
"GETANSINULL",
|
684
|
-
"GET_FILESTREAM_TRANSACTION_CONTEXT",
|
685
|
-
"HOST_ID",
|
686
|
-
"HOST_NAME",
|
687
|
-
"ISNULL",
|
688
|
-
"ISNUMERIC",
|
689
|
-
"MIN_ACTIVE_ROWVERSION",
|
690
|
-
"NEWID",
|
691
|
-
"NEWSEQUENTIALID",
|
692
|
-
"ROWCOUNT_BIG",
|
693
|
-
"XACT_STATE",
|
694
|
-
// TextImage
|
695
|
-
"TEXTPTR",
|
696
|
-
"TEXTVALID",
|
697
|
-
// Trigger
|
698
|
-
"COLUMNS_UPDATED",
|
699
|
-
"EVENTDATA",
|
700
|
-
"TRIGGER_NESTLEVEL",
|
701
|
-
"UPDATE",
|
702
|
-
// ChangeTracking
|
703
|
-
"CHANGETABLE",
|
704
|
-
"CHANGE_TRACKING_CONTEXT",
|
705
|
-
"CHANGE_TRACKING_CURRENT_VERSION",
|
706
|
-
"CHANGE_TRACKING_IS_COLUMN_IN_MASK",
|
707
|
-
"CHANGE_TRACKING_MIN_VALID_VERSION",
|
708
|
-
// FullTextSearch
|
709
|
-
"CONTAINSTABLE",
|
710
|
-
"FREETEXTTABLE",
|
711
|
-
// SemanticTextSearch
|
712
|
-
"SEMANTICKEYPHRASETABLE",
|
713
|
-
"SEMANTICSIMILARITYDETAILSTABLE",
|
714
|
-
"SEMANTICSIMILARITYTABLE",
|
715
|
-
// FileStream
|
716
|
-
"FILETABLEROOTPATH",
|
717
|
-
"GETFILENAMESPACEPATH",
|
718
|
-
"GETPATHLOCATOR",
|
719
|
-
"PATHNAME",
|
720
|
-
// ServiceBroker
|
721
|
-
"GET_TRANSMISSION_STATUS"
|
722
|
-
],
|
723
|
-
builtinVariables: [
|
724
|
-
// Configuration
|
725
|
-
"@@DATEFIRST",
|
726
|
-
"@@DBTS",
|
727
|
-
"@@LANGID",
|
728
|
-
"@@LANGUAGE",
|
729
|
-
"@@LOCK_TIMEOUT",
|
730
|
-
"@@MAX_CONNECTIONS",
|
731
|
-
"@@MAX_PRECISION",
|
732
|
-
"@@NESTLEVEL",
|
733
|
-
"@@OPTIONS",
|
734
|
-
"@@REMSERVER",
|
735
|
-
"@@SERVERNAME",
|
736
|
-
"@@SERVICENAME",
|
737
|
-
"@@SPID",
|
738
|
-
"@@TEXTSIZE",
|
739
|
-
"@@VERSION",
|
740
|
-
// Cursor
|
741
|
-
"@@CURSOR_ROWS",
|
742
|
-
"@@FETCH_STATUS",
|
743
|
-
// Datetime
|
744
|
-
"@@DATEFIRST",
|
745
|
-
// Metadata
|
746
|
-
"@@PROCID",
|
747
|
-
// System
|
748
|
-
"@@ERROR",
|
749
|
-
"@@IDENTITY",
|
750
|
-
"@@ROWCOUNT",
|
751
|
-
"@@TRANCOUNT",
|
752
|
-
// Stats
|
753
|
-
"@@CONNECTIONS",
|
754
|
-
"@@CPU_BUSY",
|
755
|
-
"@@IDLE",
|
756
|
-
"@@IO_BUSY",
|
757
|
-
"@@PACKET_ERRORS",
|
758
|
-
"@@PACK_RECEIVED",
|
759
|
-
"@@PACK_SENT",
|
760
|
-
"@@TIMETICKS",
|
761
|
-
"@@TOTAL_ERRORS",
|
762
|
-
"@@TOTAL_READ",
|
763
|
-
"@@TOTAL_WRITE"
|
764
|
-
],
|
765
|
-
pseudoColumns: ["$ACTION", "$IDENTITY", "$ROWGUID", "$PARTITION"],
|
766
|
-
tokenizer: {
|
767
|
-
root: [
|
768
|
-
{ include: "@comments" },
|
769
|
-
{ include: "@whitespace" },
|
770
|
-
{ include: "@pseudoColumns" },
|
771
|
-
{ include: "@numbers" },
|
772
|
-
{ include: "@strings" },
|
773
|
-
{ include: "@complexIdentifiers" },
|
774
|
-
{ include: "@scopes" },
|
775
|
-
[/[;,.]/, "delimiter"],
|
776
|
-
[/[()]/, "@brackets"],
|
777
|
-
[
|
778
|
-
/[\w@#$]+/,
|
779
|
-
{
|
780
|
-
cases: {
|
781
|
-
"@operators": "operator",
|
782
|
-
"@builtinVariables": "predefined",
|
783
|
-
"@builtinFunctions": "predefined",
|
784
|
-
"@keywords": "keyword",
|
785
|
-
"@default": "identifier"
|
786
|
-
}
|
787
|
-
}
|
788
|
-
],
|
789
|
-
[/[<>=!%&+\-*/|~^]/, "operator"]
|
790
|
-
],
|
791
|
-
whitespace: [[/\s+/, "white"]],
|
792
|
-
comments: [
|
793
|
-
[/--+.*/, "comment"],
|
794
|
-
[/\/\*/, { token: "comment.quote", next: "@comment" }]
|
795
|
-
],
|
796
|
-
comment: [
|
797
|
-
[/[^*/]+/, "comment"],
|
798
|
-
// Not supporting nested comments, as nested comments seem to not be standard?
|
799
|
-
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
800
|
-
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
801
|
-
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
802
|
-
[/./, "comment"]
|
803
|
-
],
|
804
|
-
pseudoColumns: [
|
805
|
-
[
|
806
|
-
/[$][A-Za-z_][\w@#$]*/,
|
807
|
-
{
|
808
|
-
cases: {
|
809
|
-
"@pseudoColumns": "predefined",
|
810
|
-
"@default": "identifier"
|
811
|
-
}
|
812
|
-
}
|
813
|
-
]
|
814
|
-
],
|
815
|
-
numbers: [
|
816
|
-
[/0[xX][0-9a-fA-F]*/, "number"],
|
817
|
-
[/[$][+-]*\d*(\.\d*)?/, "number"],
|
818
|
-
[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
|
819
|
-
],
|
820
|
-
strings: [
|
821
|
-
[/N'/, { token: "string", next: "@string" }],
|
822
|
-
[/'/, { token: "string", next: "@string" }]
|
823
|
-
],
|
824
|
-
string: [
|
825
|
-
[/[^']+/, "string"],
|
826
|
-
[/''/, "string"],
|
827
|
-
[/'/, { token: "string", next: "@pop" }]
|
828
|
-
],
|
829
|
-
complexIdentifiers: [
|
830
|
-
[/\[/, { token: "identifier.quote", next: "@bracketedIdentifier" }],
|
831
|
-
[/"/, { token: "identifier.quote", next: "@quotedIdentifier" }]
|
832
|
-
],
|
833
|
-
bracketedIdentifier: [
|
834
|
-
[/[^\]]+/, "identifier"],
|
835
|
-
[/]]/, "identifier"],
|
836
|
-
[/]/, { token: "identifier.quote", next: "@pop" }]
|
837
|
-
],
|
838
|
-
quotedIdentifier: [
|
839
|
-
[/[^"]+/, "identifier"],
|
840
|
-
[/""/, "identifier"],
|
841
|
-
[/"/, { token: "identifier.quote", next: "@pop" }]
|
842
|
-
],
|
843
|
-
scopes: [
|
844
|
-
[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i, "keyword"],
|
845
|
-
[/BEGIN\s+TRY\b/i, { token: "keyword.try" }],
|
846
|
-
[/END\s+TRY\b/i, { token: "keyword.try" }],
|
847
|
-
[/BEGIN\s+CATCH\b/i, { token: "keyword.catch" }],
|
848
|
-
[/END\s+CATCH\b/i, { token: "keyword.catch" }],
|
849
|
-
[/(BEGIN|CASE)\b/i, { token: "keyword.block" }],
|
850
|
-
[/END\b/i, { token: "keyword.block" }],
|
851
|
-
[/WHEN\b/i, { token: "keyword.choice" }],
|
852
|
-
[/THEN\b/i, { token: "keyword.choice" }]
|
853
|
-
]
|
854
|
-
}
|
855
|
-
};
|
856
|
-
export {
|
857
|
-
E as conf,
|
858
|
-
T as language
|
859
|
-
};
|