@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
@@ -0,0 +1,898 @@
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/powerquery/powerquery.ts
10
+ var conf = {
11
+ comments: {
12
+ lineComment: "//",
13
+ blockComment: ["/*", "*/"]
14
+ },
15
+ brackets: [
16
+ ["[", "]"],
17
+ ["(", ")"],
18
+ ["{", "}"]
19
+ ],
20
+ autoClosingPairs: [
21
+ { open: '"', close: '"', notIn: ["string", "comment", "identifier"] },
22
+ { open: "[", close: "]", notIn: ["string", "comment", "identifier"] },
23
+ { open: "(", close: ")", notIn: ["string", "comment", "identifier"] },
24
+ { open: "{", close: "}", notIn: ["string", "comment", "identifier"] }
25
+ ]
26
+ };
27
+ var language = {
28
+ defaultToken: "",
29
+ tokenPostfix: ".pq",
30
+ ignoreCase: false,
31
+ brackets: [
32
+ { open: "[", close: "]", token: "delimiter.square" },
33
+ { open: "{", close: "}", token: "delimiter.brackets" },
34
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
35
+ ],
36
+ operatorKeywords: ["and", "not", "or"],
37
+ keywords: [
38
+ "as",
39
+ "each",
40
+ "else",
41
+ "error",
42
+ "false",
43
+ "if",
44
+ "in",
45
+ "is",
46
+ "let",
47
+ "meta",
48
+ "otherwise",
49
+ "section",
50
+ "shared",
51
+ "then",
52
+ "true",
53
+ "try",
54
+ "type"
55
+ ],
56
+ constructors: ["#binary", "#date", "#datetime", "#datetimezone", "#duration", "#table", "#time"],
57
+ constants: ["#infinity", "#nan", "#sections", "#shared"],
58
+ typeKeywords: [
59
+ "action",
60
+ "any",
61
+ "anynonnull",
62
+ "none",
63
+ "null",
64
+ "logical",
65
+ "number",
66
+ "time",
67
+ "date",
68
+ "datetime",
69
+ "datetimezone",
70
+ "duration",
71
+ "text",
72
+ "binary",
73
+ "list",
74
+ "record",
75
+ "table",
76
+ "function"
77
+ ],
78
+ builtinFunctions: [
79
+ "Access.Database",
80
+ "Action.Return",
81
+ "Action.Sequence",
82
+ "Action.Try",
83
+ "ActiveDirectory.Domains",
84
+ "AdoDotNet.DataSource",
85
+ "AdoDotNet.Query",
86
+ "AdobeAnalytics.Cubes",
87
+ "AnalysisServices.Database",
88
+ "AnalysisServices.Databases",
89
+ "AzureStorage.BlobContents",
90
+ "AzureStorage.Blobs",
91
+ "AzureStorage.Tables",
92
+ "Binary.Buffer",
93
+ "Binary.Combine",
94
+ "Binary.Compress",
95
+ "Binary.Decompress",
96
+ "Binary.End",
97
+ "Binary.From",
98
+ "Binary.FromList",
99
+ "Binary.FromText",
100
+ "Binary.InferContentType",
101
+ "Binary.Length",
102
+ "Binary.ToList",
103
+ "Binary.ToText",
104
+ "BinaryFormat.7BitEncodedSignedInteger",
105
+ "BinaryFormat.7BitEncodedUnsignedInteger",
106
+ "BinaryFormat.Binary",
107
+ "BinaryFormat.Byte",
108
+ "BinaryFormat.ByteOrder",
109
+ "BinaryFormat.Choice",
110
+ "BinaryFormat.Decimal",
111
+ "BinaryFormat.Double",
112
+ "BinaryFormat.Group",
113
+ "BinaryFormat.Length",
114
+ "BinaryFormat.List",
115
+ "BinaryFormat.Null",
116
+ "BinaryFormat.Record",
117
+ "BinaryFormat.SignedInteger16",
118
+ "BinaryFormat.SignedInteger32",
119
+ "BinaryFormat.SignedInteger64",
120
+ "BinaryFormat.Single",
121
+ "BinaryFormat.Text",
122
+ "BinaryFormat.Transform",
123
+ "BinaryFormat.UnsignedInteger16",
124
+ "BinaryFormat.UnsignedInteger32",
125
+ "BinaryFormat.UnsignedInteger64",
126
+ "Byte.From",
127
+ "Character.FromNumber",
128
+ "Character.ToNumber",
129
+ "Combiner.CombineTextByDelimiter",
130
+ "Combiner.CombineTextByEachDelimiter",
131
+ "Combiner.CombineTextByLengths",
132
+ "Combiner.CombineTextByPositions",
133
+ "Combiner.CombineTextByRanges",
134
+ "Comparer.Equals",
135
+ "Comparer.FromCulture",
136
+ "Comparer.Ordinal",
137
+ "Comparer.OrdinalIgnoreCase",
138
+ "Csv.Document",
139
+ "Cube.AddAndExpandDimensionColumn",
140
+ "Cube.AddMeasureColumn",
141
+ "Cube.ApplyParameter",
142
+ "Cube.AttributeMemberId",
143
+ "Cube.AttributeMemberProperty",
144
+ "Cube.CollapseAndRemoveColumns",
145
+ "Cube.Dimensions",
146
+ "Cube.DisplayFolders",
147
+ "Cube.Measures",
148
+ "Cube.Parameters",
149
+ "Cube.Properties",
150
+ "Cube.PropertyKey",
151
+ "Cube.ReplaceDimensions",
152
+ "Cube.Transform",
153
+ "Currency.From",
154
+ "DB2.Database",
155
+ "Date.AddDays",
156
+ "Date.AddMonths",
157
+ "Date.AddQuarters",
158
+ "Date.AddWeeks",
159
+ "Date.AddYears",
160
+ "Date.Day",
161
+ "Date.DayOfWeek",
162
+ "Date.DayOfWeekName",
163
+ "Date.DayOfYear",
164
+ "Date.DaysInMonth",
165
+ "Date.EndOfDay",
166
+ "Date.EndOfMonth",
167
+ "Date.EndOfQuarter",
168
+ "Date.EndOfWeek",
169
+ "Date.EndOfYear",
170
+ "Date.From",
171
+ "Date.FromText",
172
+ "Date.IsInCurrentDay",
173
+ "Date.IsInCurrentMonth",
174
+ "Date.IsInCurrentQuarter",
175
+ "Date.IsInCurrentWeek",
176
+ "Date.IsInCurrentYear",
177
+ "Date.IsInNextDay",
178
+ "Date.IsInNextMonth",
179
+ "Date.IsInNextNDays",
180
+ "Date.IsInNextNMonths",
181
+ "Date.IsInNextNQuarters",
182
+ "Date.IsInNextNWeeks",
183
+ "Date.IsInNextNYears",
184
+ "Date.IsInNextQuarter",
185
+ "Date.IsInNextWeek",
186
+ "Date.IsInNextYear",
187
+ "Date.IsInPreviousDay",
188
+ "Date.IsInPreviousMonth",
189
+ "Date.IsInPreviousNDays",
190
+ "Date.IsInPreviousNMonths",
191
+ "Date.IsInPreviousNQuarters",
192
+ "Date.IsInPreviousNWeeks",
193
+ "Date.IsInPreviousNYears",
194
+ "Date.IsInPreviousQuarter",
195
+ "Date.IsInPreviousWeek",
196
+ "Date.IsInPreviousYear",
197
+ "Date.IsInYearToDate",
198
+ "Date.IsLeapYear",
199
+ "Date.Month",
200
+ "Date.MonthName",
201
+ "Date.QuarterOfYear",
202
+ "Date.StartOfDay",
203
+ "Date.StartOfMonth",
204
+ "Date.StartOfQuarter",
205
+ "Date.StartOfWeek",
206
+ "Date.StartOfYear",
207
+ "Date.ToRecord",
208
+ "Date.ToText",
209
+ "Date.WeekOfMonth",
210
+ "Date.WeekOfYear",
211
+ "Date.Year",
212
+ "DateTime.AddZone",
213
+ "DateTime.Date",
214
+ "DateTime.FixedLocalNow",
215
+ "DateTime.From",
216
+ "DateTime.FromFileTime",
217
+ "DateTime.FromText",
218
+ "DateTime.IsInCurrentHour",
219
+ "DateTime.IsInCurrentMinute",
220
+ "DateTime.IsInCurrentSecond",
221
+ "DateTime.IsInNextHour",
222
+ "DateTime.IsInNextMinute",
223
+ "DateTime.IsInNextNHours",
224
+ "DateTime.IsInNextNMinutes",
225
+ "DateTime.IsInNextNSeconds",
226
+ "DateTime.IsInNextSecond",
227
+ "DateTime.IsInPreviousHour",
228
+ "DateTime.IsInPreviousMinute",
229
+ "DateTime.IsInPreviousNHours",
230
+ "DateTime.IsInPreviousNMinutes",
231
+ "DateTime.IsInPreviousNSeconds",
232
+ "DateTime.IsInPreviousSecond",
233
+ "DateTime.LocalNow",
234
+ "DateTime.Time",
235
+ "DateTime.ToRecord",
236
+ "DateTime.ToText",
237
+ "DateTimeZone.FixedLocalNow",
238
+ "DateTimeZone.FixedUtcNow",
239
+ "DateTimeZone.From",
240
+ "DateTimeZone.FromFileTime",
241
+ "DateTimeZone.FromText",
242
+ "DateTimeZone.LocalNow",
243
+ "DateTimeZone.RemoveZone",
244
+ "DateTimeZone.SwitchZone",
245
+ "DateTimeZone.ToLocal",
246
+ "DateTimeZone.ToRecord",
247
+ "DateTimeZone.ToText",
248
+ "DateTimeZone.ToUtc",
249
+ "DateTimeZone.UtcNow",
250
+ "DateTimeZone.ZoneHours",
251
+ "DateTimeZone.ZoneMinutes",
252
+ "Decimal.From",
253
+ "Diagnostics.ActivityId",
254
+ "Diagnostics.Trace",
255
+ "DirectQueryCapabilities.From",
256
+ "Double.From",
257
+ "Duration.Days",
258
+ "Duration.From",
259
+ "Duration.FromText",
260
+ "Duration.Hours",
261
+ "Duration.Minutes",
262
+ "Duration.Seconds",
263
+ "Duration.ToRecord",
264
+ "Duration.ToText",
265
+ "Duration.TotalDays",
266
+ "Duration.TotalHours",
267
+ "Duration.TotalMinutes",
268
+ "Duration.TotalSeconds",
269
+ "Embedded.Value",
270
+ "Error.Record",
271
+ "Excel.CurrentWorkbook",
272
+ "Excel.Workbook",
273
+ "Exchange.Contents",
274
+ "Expression.Constant",
275
+ "Expression.Evaluate",
276
+ "Expression.Identifier",
277
+ "Facebook.Graph",
278
+ "File.Contents",
279
+ "Folder.Contents",
280
+ "Folder.Files",
281
+ "Function.From",
282
+ "Function.Invoke",
283
+ "Function.InvokeAfter",
284
+ "Function.IsDataSource",
285
+ "GoogleAnalytics.Accounts",
286
+ "Guid.From",
287
+ "HdInsight.Containers",
288
+ "HdInsight.Contents",
289
+ "HdInsight.Files",
290
+ "Hdfs.Contents",
291
+ "Hdfs.Files",
292
+ "Informix.Database",
293
+ "Int16.From",
294
+ "Int32.From",
295
+ "Int64.From",
296
+ "Int8.From",
297
+ "ItemExpression.From",
298
+ "Json.Document",
299
+ "Json.FromValue",
300
+ "Lines.FromBinary",
301
+ "Lines.FromText",
302
+ "Lines.ToBinary",
303
+ "Lines.ToText",
304
+ "List.Accumulate",
305
+ "List.AllTrue",
306
+ "List.Alternate",
307
+ "List.AnyTrue",
308
+ "List.Average",
309
+ "List.Buffer",
310
+ "List.Combine",
311
+ "List.Contains",
312
+ "List.ContainsAll",
313
+ "List.ContainsAny",
314
+ "List.Count",
315
+ "List.Covariance",
316
+ "List.DateTimeZones",
317
+ "List.DateTimes",
318
+ "List.Dates",
319
+ "List.Difference",
320
+ "List.Distinct",
321
+ "List.Durations",
322
+ "List.FindText",
323
+ "List.First",
324
+ "List.FirstN",
325
+ "List.Generate",
326
+ "List.InsertRange",
327
+ "List.Intersect",
328
+ "List.IsDistinct",
329
+ "List.IsEmpty",
330
+ "List.Last",
331
+ "List.LastN",
332
+ "List.MatchesAll",
333
+ "List.MatchesAny",
334
+ "List.Max",
335
+ "List.MaxN",
336
+ "List.Median",
337
+ "List.Min",
338
+ "List.MinN",
339
+ "List.Mode",
340
+ "List.Modes",
341
+ "List.NonNullCount",
342
+ "List.Numbers",
343
+ "List.PositionOf",
344
+ "List.PositionOfAny",
345
+ "List.Positions",
346
+ "List.Product",
347
+ "List.Random",
348
+ "List.Range",
349
+ "List.RemoveFirstN",
350
+ "List.RemoveItems",
351
+ "List.RemoveLastN",
352
+ "List.RemoveMatchingItems",
353
+ "List.RemoveNulls",
354
+ "List.RemoveRange",
355
+ "List.Repeat",
356
+ "List.ReplaceMatchingItems",
357
+ "List.ReplaceRange",
358
+ "List.ReplaceValue",
359
+ "List.Reverse",
360
+ "List.Select",
361
+ "List.Single",
362
+ "List.SingleOrDefault",
363
+ "List.Skip",
364
+ "List.Sort",
365
+ "List.StandardDeviation",
366
+ "List.Sum",
367
+ "List.Times",
368
+ "List.Transform",
369
+ "List.TransformMany",
370
+ "List.Union",
371
+ "List.Zip",
372
+ "Logical.From",
373
+ "Logical.FromText",
374
+ "Logical.ToText",
375
+ "MQ.Queue",
376
+ "MySQL.Database",
377
+ "Number.Abs",
378
+ "Number.Acos",
379
+ "Number.Asin",
380
+ "Number.Atan",
381
+ "Number.Atan2",
382
+ "Number.BitwiseAnd",
383
+ "Number.BitwiseNot",
384
+ "Number.BitwiseOr",
385
+ "Number.BitwiseShiftLeft",
386
+ "Number.BitwiseShiftRight",
387
+ "Number.BitwiseXor",
388
+ "Number.Combinations",
389
+ "Number.Cos",
390
+ "Number.Cosh",
391
+ "Number.Exp",
392
+ "Number.Factorial",
393
+ "Number.From",
394
+ "Number.FromText",
395
+ "Number.IntegerDivide",
396
+ "Number.IsEven",
397
+ "Number.IsNaN",
398
+ "Number.IsOdd",
399
+ "Number.Ln",
400
+ "Number.Log",
401
+ "Number.Log10",
402
+ "Number.Mod",
403
+ "Number.Permutations",
404
+ "Number.Power",
405
+ "Number.Random",
406
+ "Number.RandomBetween",
407
+ "Number.Round",
408
+ "Number.RoundAwayFromZero",
409
+ "Number.RoundDown",
410
+ "Number.RoundTowardZero",
411
+ "Number.RoundUp",
412
+ "Number.Sign",
413
+ "Number.Sin",
414
+ "Number.Sinh",
415
+ "Number.Sqrt",
416
+ "Number.Tan",
417
+ "Number.Tanh",
418
+ "Number.ToText",
419
+ "OData.Feed",
420
+ "Odbc.DataSource",
421
+ "Odbc.Query",
422
+ "OleDb.DataSource",
423
+ "OleDb.Query",
424
+ "Oracle.Database",
425
+ "Percentage.From",
426
+ "PostgreSQL.Database",
427
+ "RData.FromBinary",
428
+ "Record.AddField",
429
+ "Record.Combine",
430
+ "Record.Field",
431
+ "Record.FieldCount",
432
+ "Record.FieldNames",
433
+ "Record.FieldOrDefault",
434
+ "Record.FieldValues",
435
+ "Record.FromList",
436
+ "Record.FromTable",
437
+ "Record.HasFields",
438
+ "Record.RemoveFields",
439
+ "Record.RenameFields",
440
+ "Record.ReorderFields",
441
+ "Record.SelectFields",
442
+ "Record.ToList",
443
+ "Record.ToTable",
444
+ "Record.TransformFields",
445
+ "Replacer.ReplaceText",
446
+ "Replacer.ReplaceValue",
447
+ "RowExpression.Column",
448
+ "RowExpression.From",
449
+ "Salesforce.Data",
450
+ "Salesforce.Reports",
451
+ "SapBusinessWarehouse.Cubes",
452
+ "SapHana.Database",
453
+ "SharePoint.Contents",
454
+ "SharePoint.Files",
455
+ "SharePoint.Tables",
456
+ "Single.From",
457
+ "Soda.Feed",
458
+ "Splitter.SplitByNothing",
459
+ "Splitter.SplitTextByAnyDelimiter",
460
+ "Splitter.SplitTextByDelimiter",
461
+ "Splitter.SplitTextByEachDelimiter",
462
+ "Splitter.SplitTextByLengths",
463
+ "Splitter.SplitTextByPositions",
464
+ "Splitter.SplitTextByRanges",
465
+ "Splitter.SplitTextByRepeatedLengths",
466
+ "Splitter.SplitTextByWhitespace",
467
+ "Sql.Database",
468
+ "Sql.Databases",
469
+ "SqlExpression.SchemaFrom",
470
+ "SqlExpression.ToExpression",
471
+ "Sybase.Database",
472
+ "Table.AddColumn",
473
+ "Table.AddIndexColumn",
474
+ "Table.AddJoinColumn",
475
+ "Table.AddKey",
476
+ "Table.AggregateTableColumn",
477
+ "Table.AlternateRows",
478
+ "Table.Buffer",
479
+ "Table.Column",
480
+ "Table.ColumnCount",
481
+ "Table.ColumnNames",
482
+ "Table.ColumnsOfType",
483
+ "Table.Combine",
484
+ "Table.CombineColumns",
485
+ "Table.Contains",
486
+ "Table.ContainsAll",
487
+ "Table.ContainsAny",
488
+ "Table.DemoteHeaders",
489
+ "Table.Distinct",
490
+ "Table.DuplicateColumn",
491
+ "Table.ExpandListColumn",
492
+ "Table.ExpandRecordColumn",
493
+ "Table.ExpandTableColumn",
494
+ "Table.FillDown",
495
+ "Table.FillUp",
496
+ "Table.FilterWithDataTable",
497
+ "Table.FindText",
498
+ "Table.First",
499
+ "Table.FirstN",
500
+ "Table.FirstValue",
501
+ "Table.FromColumns",
502
+ "Table.FromList",
503
+ "Table.FromPartitions",
504
+ "Table.FromRecords",
505
+ "Table.FromRows",
506
+ "Table.FromValue",
507
+ "Table.Group",
508
+ "Table.HasColumns",
509
+ "Table.InsertRows",
510
+ "Table.IsDistinct",
511
+ "Table.IsEmpty",
512
+ "Table.Join",
513
+ "Table.Keys",
514
+ "Table.Last",
515
+ "Table.LastN",
516
+ "Table.MatchesAllRows",
517
+ "Table.MatchesAnyRows",
518
+ "Table.Max",
519
+ "Table.MaxN",
520
+ "Table.Min",
521
+ "Table.MinN",
522
+ "Table.NestedJoin",
523
+ "Table.Partition",
524
+ "Table.PartitionValues",
525
+ "Table.Pivot",
526
+ "Table.PositionOf",
527
+ "Table.PositionOfAny",
528
+ "Table.PrefixColumns",
529
+ "Table.Profile",
530
+ "Table.PromoteHeaders",
531
+ "Table.Range",
532
+ "Table.RemoveColumns",
533
+ "Table.RemoveFirstN",
534
+ "Table.RemoveLastN",
535
+ "Table.RemoveMatchingRows",
536
+ "Table.RemoveRows",
537
+ "Table.RemoveRowsWithErrors",
538
+ "Table.RenameColumns",
539
+ "Table.ReorderColumns",
540
+ "Table.Repeat",
541
+ "Table.ReplaceErrorValues",
542
+ "Table.ReplaceKeys",
543
+ "Table.ReplaceMatchingRows",
544
+ "Table.ReplaceRelationshipIdentity",
545
+ "Table.ReplaceRows",
546
+ "Table.ReplaceValue",
547
+ "Table.ReverseRows",
548
+ "Table.RowCount",
549
+ "Table.Schema",
550
+ "Table.SelectColumns",
551
+ "Table.SelectRows",
552
+ "Table.SelectRowsWithErrors",
553
+ "Table.SingleRow",
554
+ "Table.Skip",
555
+ "Table.Sort",
556
+ "Table.SplitColumn",
557
+ "Table.ToColumns",
558
+ "Table.ToList",
559
+ "Table.ToRecords",
560
+ "Table.ToRows",
561
+ "Table.TransformColumnNames",
562
+ "Table.TransformColumnTypes",
563
+ "Table.TransformColumns",
564
+ "Table.TransformRows",
565
+ "Table.Transpose",
566
+ "Table.Unpivot",
567
+ "Table.UnpivotOtherColumns",
568
+ "Table.View",
569
+ "Table.ViewFunction",
570
+ "TableAction.DeleteRows",
571
+ "TableAction.InsertRows",
572
+ "TableAction.UpdateRows",
573
+ "Tables.GetRelationships",
574
+ "Teradata.Database",
575
+ "Text.AfterDelimiter",
576
+ "Text.At",
577
+ "Text.BeforeDelimiter",
578
+ "Text.BetweenDelimiters",
579
+ "Text.Clean",
580
+ "Text.Combine",
581
+ "Text.Contains",
582
+ "Text.End",
583
+ "Text.EndsWith",
584
+ "Text.Format",
585
+ "Text.From",
586
+ "Text.FromBinary",
587
+ "Text.Insert",
588
+ "Text.Length",
589
+ "Text.Lower",
590
+ "Text.Middle",
591
+ "Text.NewGuid",
592
+ "Text.PadEnd",
593
+ "Text.PadStart",
594
+ "Text.PositionOf",
595
+ "Text.PositionOfAny",
596
+ "Text.Proper",
597
+ "Text.Range",
598
+ "Text.Remove",
599
+ "Text.RemoveRange",
600
+ "Text.Repeat",
601
+ "Text.Replace",
602
+ "Text.ReplaceRange",
603
+ "Text.Select",
604
+ "Text.Split",
605
+ "Text.SplitAny",
606
+ "Text.Start",
607
+ "Text.StartsWith",
608
+ "Text.ToBinary",
609
+ "Text.ToList",
610
+ "Text.Trim",
611
+ "Text.TrimEnd",
612
+ "Text.TrimStart",
613
+ "Text.Upper",
614
+ "Time.EndOfHour",
615
+ "Time.From",
616
+ "Time.FromText",
617
+ "Time.Hour",
618
+ "Time.Minute",
619
+ "Time.Second",
620
+ "Time.StartOfHour",
621
+ "Time.ToRecord",
622
+ "Time.ToText",
623
+ "Type.AddTableKey",
624
+ "Type.ClosedRecord",
625
+ "Type.Facets",
626
+ "Type.ForFunction",
627
+ "Type.ForRecord",
628
+ "Type.FunctionParameters",
629
+ "Type.FunctionRequiredParameters",
630
+ "Type.FunctionReturn",
631
+ "Type.Is",
632
+ "Type.IsNullable",
633
+ "Type.IsOpenRecord",
634
+ "Type.ListItem",
635
+ "Type.NonNullable",
636
+ "Type.OpenRecord",
637
+ "Type.RecordFields",
638
+ "Type.ReplaceFacets",
639
+ "Type.ReplaceTableKeys",
640
+ "Type.TableColumn",
641
+ "Type.TableKeys",
642
+ "Type.TableRow",
643
+ "Type.TableSchema",
644
+ "Type.Union",
645
+ "Uri.BuildQueryString",
646
+ "Uri.Combine",
647
+ "Uri.EscapeDataString",
648
+ "Uri.Parts",
649
+ "Value.Add",
650
+ "Value.As",
651
+ "Value.Compare",
652
+ "Value.Divide",
653
+ "Value.Equals",
654
+ "Value.Firewall",
655
+ "Value.FromText",
656
+ "Value.Is",
657
+ "Value.Metadata",
658
+ "Value.Multiply",
659
+ "Value.NativeQuery",
660
+ "Value.NullableEquals",
661
+ "Value.RemoveMetadata",
662
+ "Value.ReplaceMetadata",
663
+ "Value.ReplaceType",
664
+ "Value.Subtract",
665
+ "Value.Type",
666
+ "ValueAction.NativeStatement",
667
+ "ValueAction.Replace",
668
+ "Variable.Value",
669
+ "Web.Contents",
670
+ "Web.Page",
671
+ "WebAction.Request",
672
+ "Xml.Document",
673
+ "Xml.Tables"
674
+ ],
675
+ builtinConstants: [
676
+ "BinaryEncoding.Base64",
677
+ "BinaryEncoding.Hex",
678
+ "BinaryOccurrence.Optional",
679
+ "BinaryOccurrence.Repeating",
680
+ "BinaryOccurrence.Required",
681
+ "ByteOrder.BigEndian",
682
+ "ByteOrder.LittleEndian",
683
+ "Compression.Deflate",
684
+ "Compression.GZip",
685
+ "CsvStyle.QuoteAfterDelimiter",
686
+ "CsvStyle.QuoteAlways",
687
+ "Culture.Current",
688
+ "Day.Friday",
689
+ "Day.Monday",
690
+ "Day.Saturday",
691
+ "Day.Sunday",
692
+ "Day.Thursday",
693
+ "Day.Tuesday",
694
+ "Day.Wednesday",
695
+ "ExtraValues.Error",
696
+ "ExtraValues.Ignore",
697
+ "ExtraValues.List",
698
+ "GroupKind.Global",
699
+ "GroupKind.Local",
700
+ "JoinAlgorithm.Dynamic",
701
+ "JoinAlgorithm.LeftHash",
702
+ "JoinAlgorithm.LeftIndex",
703
+ "JoinAlgorithm.PairwiseHash",
704
+ "JoinAlgorithm.RightHash",
705
+ "JoinAlgorithm.RightIndex",
706
+ "JoinAlgorithm.SortMerge",
707
+ "JoinKind.FullOuter",
708
+ "JoinKind.Inner",
709
+ "JoinKind.LeftAnti",
710
+ "JoinKind.LeftOuter",
711
+ "JoinKind.RightAnti",
712
+ "JoinKind.RightOuter",
713
+ "JoinSide.Left",
714
+ "JoinSide.Right",
715
+ "MissingField.Error",
716
+ "MissingField.Ignore",
717
+ "MissingField.UseNull",
718
+ "Number.E",
719
+ "Number.Epsilon",
720
+ "Number.NaN",
721
+ "Number.NegativeInfinity",
722
+ "Number.PI",
723
+ "Number.PositiveInfinity",
724
+ "Occurrence.All",
725
+ "Occurrence.First",
726
+ "Occurrence.Last",
727
+ "Occurrence.Optional",
728
+ "Occurrence.Repeating",
729
+ "Occurrence.Required",
730
+ "Order.Ascending",
731
+ "Order.Descending",
732
+ "Precision.Decimal",
733
+ "Precision.Double",
734
+ "QuoteStyle.Csv",
735
+ "QuoteStyle.None",
736
+ "RelativePosition.FromEnd",
737
+ "RelativePosition.FromStart",
738
+ "RoundingMode.AwayFromZero",
739
+ "RoundingMode.Down",
740
+ "RoundingMode.ToEven",
741
+ "RoundingMode.TowardZero",
742
+ "RoundingMode.Up",
743
+ "SapHanaDistribution.All",
744
+ "SapHanaDistribution.Connection",
745
+ "SapHanaDistribution.Off",
746
+ "SapHanaDistribution.Statement",
747
+ "SapHanaRangeOperator.Equals",
748
+ "SapHanaRangeOperator.GreaterThan",
749
+ "SapHanaRangeOperator.GreaterThanOrEquals",
750
+ "SapHanaRangeOperator.LessThan",
751
+ "SapHanaRangeOperator.LessThanOrEquals",
752
+ "SapHanaRangeOperator.NotEquals",
753
+ "TextEncoding.Ascii",
754
+ "TextEncoding.BigEndianUnicode",
755
+ "TextEncoding.Unicode",
756
+ "TextEncoding.Utf16",
757
+ "TextEncoding.Utf8",
758
+ "TextEncoding.Windows",
759
+ "TraceLevel.Critical",
760
+ "TraceLevel.Error",
761
+ "TraceLevel.Information",
762
+ "TraceLevel.Verbose",
763
+ "TraceLevel.Warning",
764
+ "WebMethod.Delete",
765
+ "WebMethod.Get",
766
+ "WebMethod.Head",
767
+ "WebMethod.Patch",
768
+ "WebMethod.Post",
769
+ "WebMethod.Put"
770
+ ],
771
+ builtinTypes: [
772
+ "Action.Type",
773
+ "Any.Type",
774
+ "Binary.Type",
775
+ "BinaryEncoding.Type",
776
+ "BinaryOccurrence.Type",
777
+ "Byte.Type",
778
+ "ByteOrder.Type",
779
+ "Character.Type",
780
+ "Compression.Type",
781
+ "CsvStyle.Type",
782
+ "Currency.Type",
783
+ "Date.Type",
784
+ "DateTime.Type",
785
+ "DateTimeZone.Type",
786
+ "Day.Type",
787
+ "Decimal.Type",
788
+ "Double.Type",
789
+ "Duration.Type",
790
+ "ExtraValues.Type",
791
+ "Function.Type",
792
+ "GroupKind.Type",
793
+ "Guid.Type",
794
+ "Int16.Type",
795
+ "Int32.Type",
796
+ "Int64.Type",
797
+ "Int8.Type",
798
+ "JoinAlgorithm.Type",
799
+ "JoinKind.Type",
800
+ "JoinSide.Type",
801
+ "List.Type",
802
+ "Logical.Type",
803
+ "MissingField.Type",
804
+ "None.Type",
805
+ "Null.Type",
806
+ "Number.Type",
807
+ "Occurrence.Type",
808
+ "Order.Type",
809
+ "Password.Type",
810
+ "Percentage.Type",
811
+ "Precision.Type",
812
+ "QuoteStyle.Type",
813
+ "Record.Type",
814
+ "RelativePosition.Type",
815
+ "RoundingMode.Type",
816
+ "SapHanaDistribution.Type",
817
+ "SapHanaRangeOperator.Type",
818
+ "Single.Type",
819
+ "Table.Type",
820
+ "Text.Type",
821
+ "TextEncoding.Type",
822
+ "Time.Type",
823
+ "TraceLevel.Type",
824
+ "Type.Type",
825
+ "Uri.Type",
826
+ "WebMethod.Type"
827
+ ],
828
+ tokenizer: {
829
+ root: [
830
+ // quoted identifier
831
+ [/#"[\w \.]+"/, "identifier.quote"],
832
+ // numbers
833
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
834
+ [/0[xX][0-9a-fA-F]+/, "number.hex"],
835
+ [/\d+([eE][\-+]?\d+)?/, "number"],
836
+ // keywords
837
+ [
838
+ /(#?[a-z]+)\b/,
839
+ {
840
+ cases: {
841
+ "@typeKeywords": "type",
842
+ "@keywords": "keyword",
843
+ "@constants": "constant",
844
+ "@constructors": "constructor",
845
+ "@operatorKeywords": "operators",
846
+ "@default": "identifier"
847
+ }
848
+ }
849
+ ],
850
+ // built-in types
851
+ [
852
+ /\b([A-Z][a-zA-Z0-9]+\.Type)\b/,
853
+ {
854
+ cases: {
855
+ "@builtinTypes": "type",
856
+ "@default": "identifier"
857
+ }
858
+ }
859
+ ],
860
+ // other built-ins
861
+ [
862
+ /\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,
863
+ {
864
+ cases: {
865
+ "@builtinFunctions": "keyword.function",
866
+ "@builtinConstants": "constant",
867
+ "@default": "identifier"
868
+ }
869
+ }
870
+ ],
871
+ // other identifiers
872
+ [/\b([a-zA-Z_][\w\.]*)\b/, "identifier"],
873
+ { include: "@whitespace" },
874
+ { include: "@comments" },
875
+ { include: "@strings" },
876
+ [/[{}()\[\]]/, "@brackets"],
877
+ [/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "operators"],
878
+ [/[,;]/, "delimiter"]
879
+ ],
880
+ whitespace: [[/\s+/, "white"]],
881
+ comments: [
882
+ ["\\/\\*", "comment", "@comment"],
883
+ ["\\/\\/+.*", "comment"]
884
+ ],
885
+ comment: [
886
+ ["\\*\\/", "comment", "@pop"],
887
+ [".", "comment"]
888
+ ],
889
+ strings: [['"', "string", "@string"]],
890
+ string: [
891
+ ['""', "string.escape"],
892
+ ['"', "string", "@pop"],
893
+ [".", "string"]
894
+ ]
895
+ }
896
+ };
897
+
898
+ export { conf, language };