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