form-imagining 0.0.5 → 0.0.7
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.
- package/README.md +13 -16
- package/dist/abap-5361cc9f.js +1314 -0
- package/dist/apex-f9413e6f.js +315 -0
- package/dist/assets/css.worker-c3850ceb.js +88 -0
- package/dist/assets/editor.worker-94ffd778.js +12 -0
- package/dist/assets/html.worker-88b237e1.js +460 -0
- package/dist/assets/json.worker-8dd963f3.js +43 -0
- package/dist/assets/ts.worker-184cdfdf.js +37022 -0
- package/dist/azcli-36f2cb5e.js +74 -0
- package/dist/bat-6b05202d.js +95 -0
- package/dist/bicep-788415e3.js +108 -0
- package/dist/cameligo-4e85ec93.js +168 -0
- package/dist/clojure-40fa5799.js +754 -0
- package/dist/coffee-f557f5e0.js +228 -0
- package/dist/cpp-ebbf7759.js +390 -0
- package/dist/csharp-1616f566.js +320 -0
- package/dist/csp-5f0bc3c4.js +57 -0
- package/dist/css-2b1aec9b.js +186 -0
- package/dist/cssMode-8c659100.js +1447 -0
- package/dist/cypher-b12b4ba8.js +262 -0
- package/dist/dart-e0d70030.js +270 -0
- package/dist/dockerfile-f9d4b2b0.js +132 -0
- package/dist/ecl-5b91fdec.js +454 -0
- package/dist/elixir-deffd5a6.js +489 -0
- package/dist/flow9-84cd00d7.js +141 -0
- package/dist/form-imagining.js +3 -16340
- package/dist/form-imagining.umd.cjs +1974 -101
- package/dist/freemarker2-0d5627bc.js +644 -0
- package/dist/fsharp-d296151f.js +210 -0
- package/dist/go-7e72ff3b.js +208 -0
- package/dist/graphql-a93568a1.js +141 -0
- package/dist/handlebars-f4513b36.js +392 -0
- package/dist/hcl-b3994d8f.js +177 -0
- package/dist/html-8bedbbe0.js +282 -0
- package/dist/htmlMode-659c9ca3.js +1457 -0
- package/dist/index-dfad4f82.js +122025 -0
- package/dist/ini-df84509a.js +68 -0
- package/dist/java-fba3d046.js +221 -0
- package/dist/javascript-b0034508.js +77 -0
- package/dist/jsonMode-92a1ff9b.js +1868 -0
- package/dist/julia-cefd45f6.js +496 -0
- package/dist/kotlin-b87b6942.js +245 -0
- package/dist/less-8a7f37bc.js +168 -0
- package/dist/lexon-cb95cd13.js +151 -0
- package/dist/liquid-ce28d1ae.js +239 -0
- package/dist/lua-6d5b3ea4.js +157 -0
- package/dist/m3-d0daf5d0.js +210 -0
- package/dist/markdown-48bb0c6f.js +202 -0
- package/dist/mdx-470c6c12.js +172 -0
- package/dist/mips-20dcf886.js +194 -0
- package/dist/msdax-e9759e23.js +377 -0
- package/dist/mysql-95f335b2.js +876 -0
- package/dist/objective-c-ad0cfb47.js +188 -0
- package/dist/pascal-eda19dc3.js +245 -0
- package/dist/pascaligo-b7e0c89b.js +158 -0
- package/dist/perl-bbe5d32a.js +599 -0
- package/dist/pgsql-7ebaee1c.js +847 -0
- package/dist/php-2526756d.js +471 -0
- package/dist/pla-9ebd6f68.js +131 -0
- package/dist/postiats-9ac05cf6.js +544 -0
- package/dist/powerquery-1cae399d.js +890 -0
- package/dist/powershell-093b5b87.js +233 -0
- package/dist/protobuf-37993cbc.js +422 -0
- package/dist/pug-c2a5db5f.js +393 -0
- package/dist/python-8f0249df.js +260 -0
- package/dist/qsharp-1450aac5.js +282 -0
- package/dist/r-a0642b90.js +245 -0
- package/dist/razor-e4b6515c.js +513 -0
- package/dist/redis-405cb63d.js +298 -0
- package/dist/redshift-830f82de.js +806 -0
- package/dist/restructuredtext-d81f5ef4.js +162 -0
- package/dist/ruby-d607b87e.js +444 -0
- package/dist/rust-86e74dbb.js +337 -0
- package/dist/sb-b7e5010d.js +110 -0
- package/dist/scala-a4d4a3c6.js +353 -0
- package/dist/scheme-81927e94.js +114 -0
- package/dist/scss-3f112fcd.js +244 -0
- package/dist/shell-d795bcaa.js +224 -0
- package/dist/solidity-5b556d3e.js +1351 -0
- package/dist/sophia-1da55998.js +190 -0
- package/dist/sparql-ac34318e.js +193 -0
- package/dist/sql-eef6393b.js +818 -0
- package/dist/st-758b1972.js +415 -0
- package/dist/style.css +1 -1
- package/dist/swift-63cb1847.js +315 -0
- package/dist/systemverilog-2538c608.js +556 -0
- package/dist/tcl-53e6282a.js +232 -0
- package/dist/tsMode-ddb992e8.js +815 -0
- package/dist/twig-80c3dc23.js +323 -0
- package/dist/typescript-7135e9ac.js +329 -0
- package/dist/vb-32089525.js +364 -0
- package/dist/wgsl-e681d5a0.js +420 -0
- package/dist/xml-1e98ce31.js +96 -0
- package/dist/yaml-ad99967d.js +185 -0
- package/package.json +11 -18
- package/dist/components/generate/GenerateForm.vue.d.ts +0 -2
- package/dist/components/index.d.ts +0 -9
- package/dist/components/model/baseModel.d.ts +0 -8
- package/dist/components/model/dataSourceModel.d.ts +0 -19
- package/dist/components/model/gridModel.d.ts +0 -55
- package/dist/components/model/inputModel.d.ts +0 -14
- package/dist/components/model/reportModel.d.ts +0 -43
- package/dist/components/model/scriptModel.d.ts +0 -6
- package/dist/components/model/sqlModel.d.ts +0 -7
- package/dist/components/model/tableModel.d.ts +0 -16
- package/dist/components/model/textModel.d.ts +0 -14
- package/dist/components/monaco/monacoEditorType.d.ts +0 -56
- package/dist/components/registerGlobComp.d.ts +0 -3
- package/dist/components/wonderform/HelloWord.vue.d.ts +0 -2
- package/dist/components/wonderform/config/index.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Col.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/DataSource.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Form.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Grid.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Properties.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Table.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/TypeScript.vue.d.ts +0 -2
- package/dist/components/wonderform/design/index.vue.d.ts +0 -6
- package/dist/components/wonderform/design/modules/FormGrid.vue.d.ts +0 -38
- package/dist/components/wonderform/design/modules/FormInput.vue.d.ts +0 -26
- package/dist/components/wonderform/design/modules/FormReport.vue.d.ts +0 -32
- package/dist/components/wonderform/design/modules/FormTable.vue.d.ts +0 -32
- package/dist/components/wonderform/dsource/index.vue.d.ts +0 -14
- package/dist/components/wonderform/dsource/modules/SqlModule.vue.d.ts +0 -40
- package/dist/components/wonderform/header/Header.vue.d.ts +0 -2
- package/dist/components/wonderform/header/modules/Code.vue.d.ts +0 -23
- package/dist/components/wonderform/header/modules/events.d.ts +0 -1
- package/dist/components/wonderform/index.vue.d.ts +0 -2
- package/dist/components/wonderform/tool/index.vue.d.ts +0 -2
- package/dist/enums/httpEnum.d.ts +0 -37
- package/dist/main.d.ts +0 -1
- package/dist/mock/dict.d.ts +0 -8
- package/dist/router/guard/index.d.ts +0 -2
- package/dist/router/guard/permissionGuard.d.ts +0 -2
- package/dist/router/index.d.ts +0 -3
- package/dist/router/routes/basicRoutes.d.ts +0 -8
- package/dist/stores/index.d.ts +0 -4
- package/dist/stores/modules/data.d.ts +0 -7177
- package/dist/stores/modules/form.d.ts +0 -2060
- package/dist/utils/form/commonUtils.d.ts +0 -8
- package/dist/utils/form/config.d.ts +0 -107
- package/dist/utils/form/generatecode.d.ts +0 -23
- package/dist/utils/form/validateUtil.d.ts +0 -13
- package/dist/utils/form/wonder1.0.1.d.ts +0 -29
- package/dist/utils/http/axios/axios.d.ts +0 -48
- package/dist/utils/http/axios/axiosModel.d.ts +0 -8
- package/dist/utils/http/axios/index.d.ts +0 -2
- package/dist/utils/utils.d.ts +0 -1
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
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
|
+
["addhandler", "end addhandler"],
|
|
18
|
+
["class", "end class"],
|
|
19
|
+
["enum", "end enum"],
|
|
20
|
+
["event", "end event"],
|
|
21
|
+
["function", "end function"],
|
|
22
|
+
["get", "end get"],
|
|
23
|
+
["if", "end if"],
|
|
24
|
+
["interface", "end interface"],
|
|
25
|
+
["module", "end module"],
|
|
26
|
+
["namespace", "end namespace"],
|
|
27
|
+
["operator", "end operator"],
|
|
28
|
+
["property", "end property"],
|
|
29
|
+
["raiseevent", "end raiseevent"],
|
|
30
|
+
["removehandler", "end removehandler"],
|
|
31
|
+
["select", "end select"],
|
|
32
|
+
["set", "end set"],
|
|
33
|
+
["structure", "end structure"],
|
|
34
|
+
["sub", "end sub"],
|
|
35
|
+
["synclock", "end synclock"],
|
|
36
|
+
["try", "end try"],
|
|
37
|
+
["while", "end while"],
|
|
38
|
+
["with", "end with"],
|
|
39
|
+
["using", "end using"],
|
|
40
|
+
["do", "loop"],
|
|
41
|
+
["for", "next"]
|
|
42
|
+
],
|
|
43
|
+
autoClosingPairs: [
|
|
44
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
|
45
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
|
46
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
|
47
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
|
48
|
+
{ open: "<", close: ">", notIn: ["string", "comment"] }
|
|
49
|
+
],
|
|
50
|
+
folding: {
|
|
51
|
+
markers: {
|
|
52
|
+
start: new RegExp("^\\s*#Region\\b"),
|
|
53
|
+
end: new RegExp("^\\s*#End Region\\b")
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}, n = {
|
|
57
|
+
defaultToken: "",
|
|
58
|
+
tokenPostfix: ".vb",
|
|
59
|
+
ignoreCase: !0,
|
|
60
|
+
brackets: [
|
|
61
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
62
|
+
{ token: "delimiter.array", open: "[", close: "]" },
|
|
63
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
64
|
+
{ token: "delimiter.angle", open: "<", close: ">" },
|
|
65
|
+
{
|
|
66
|
+
token: "keyword.tag-addhandler",
|
|
67
|
+
open: "addhandler",
|
|
68
|
+
close: "end addhandler"
|
|
69
|
+
},
|
|
70
|
+
{ token: "keyword.tag-class", open: "class", close: "end class" },
|
|
71
|
+
{ token: "keyword.tag-enum", open: "enum", close: "end enum" },
|
|
72
|
+
{ token: "keyword.tag-event", open: "event", close: "end event" },
|
|
73
|
+
{
|
|
74
|
+
token: "keyword.tag-function",
|
|
75
|
+
open: "function",
|
|
76
|
+
close: "end function"
|
|
77
|
+
},
|
|
78
|
+
{ token: "keyword.tag-get", open: "get", close: "end get" },
|
|
79
|
+
{ token: "keyword.tag-if", open: "if", close: "end if" },
|
|
80
|
+
{
|
|
81
|
+
token: "keyword.tag-interface",
|
|
82
|
+
open: "interface",
|
|
83
|
+
close: "end interface"
|
|
84
|
+
},
|
|
85
|
+
{ token: "keyword.tag-module", open: "module", close: "end module" },
|
|
86
|
+
{
|
|
87
|
+
token: "keyword.tag-namespace",
|
|
88
|
+
open: "namespace",
|
|
89
|
+
close: "end namespace"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
token: "keyword.tag-operator",
|
|
93
|
+
open: "operator",
|
|
94
|
+
close: "end operator"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
token: "keyword.tag-property",
|
|
98
|
+
open: "property",
|
|
99
|
+
close: "end property"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
token: "keyword.tag-raiseevent",
|
|
103
|
+
open: "raiseevent",
|
|
104
|
+
close: "end raiseevent"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
token: "keyword.tag-removehandler",
|
|
108
|
+
open: "removehandler",
|
|
109
|
+
close: "end removehandler"
|
|
110
|
+
},
|
|
111
|
+
{ token: "keyword.tag-select", open: "select", close: "end select" },
|
|
112
|
+
{ token: "keyword.tag-set", open: "set", close: "end set" },
|
|
113
|
+
{
|
|
114
|
+
token: "keyword.tag-structure",
|
|
115
|
+
open: "structure",
|
|
116
|
+
close: "end structure"
|
|
117
|
+
},
|
|
118
|
+
{ token: "keyword.tag-sub", open: "sub", close: "end sub" },
|
|
119
|
+
{
|
|
120
|
+
token: "keyword.tag-synclock",
|
|
121
|
+
open: "synclock",
|
|
122
|
+
close: "end synclock"
|
|
123
|
+
},
|
|
124
|
+
{ token: "keyword.tag-try", open: "try", close: "end try" },
|
|
125
|
+
{ token: "keyword.tag-while", open: "while", close: "end while" },
|
|
126
|
+
{ token: "keyword.tag-with", open: "with", close: "end with" },
|
|
127
|
+
{ token: "keyword.tag-using", open: "using", close: "end using" },
|
|
128
|
+
{ token: "keyword.tag-do", open: "do", close: "loop" },
|
|
129
|
+
{ token: "keyword.tag-for", open: "for", close: "next" }
|
|
130
|
+
],
|
|
131
|
+
keywords: [
|
|
132
|
+
"AddHandler",
|
|
133
|
+
"AddressOf",
|
|
134
|
+
"Alias",
|
|
135
|
+
"And",
|
|
136
|
+
"AndAlso",
|
|
137
|
+
"As",
|
|
138
|
+
"Async",
|
|
139
|
+
"Boolean",
|
|
140
|
+
"ByRef",
|
|
141
|
+
"Byte",
|
|
142
|
+
"ByVal",
|
|
143
|
+
"Call",
|
|
144
|
+
"Case",
|
|
145
|
+
"Catch",
|
|
146
|
+
"CBool",
|
|
147
|
+
"CByte",
|
|
148
|
+
"CChar",
|
|
149
|
+
"CDate",
|
|
150
|
+
"CDbl",
|
|
151
|
+
"CDec",
|
|
152
|
+
"Char",
|
|
153
|
+
"CInt",
|
|
154
|
+
"Class",
|
|
155
|
+
"CLng",
|
|
156
|
+
"CObj",
|
|
157
|
+
"Const",
|
|
158
|
+
"Continue",
|
|
159
|
+
"CSByte",
|
|
160
|
+
"CShort",
|
|
161
|
+
"CSng",
|
|
162
|
+
"CStr",
|
|
163
|
+
"CType",
|
|
164
|
+
"CUInt",
|
|
165
|
+
"CULng",
|
|
166
|
+
"CUShort",
|
|
167
|
+
"Date",
|
|
168
|
+
"Decimal",
|
|
169
|
+
"Declare",
|
|
170
|
+
"Default",
|
|
171
|
+
"Delegate",
|
|
172
|
+
"Dim",
|
|
173
|
+
"DirectCast",
|
|
174
|
+
"Do",
|
|
175
|
+
"Double",
|
|
176
|
+
"Each",
|
|
177
|
+
"Else",
|
|
178
|
+
"ElseIf",
|
|
179
|
+
"End",
|
|
180
|
+
"EndIf",
|
|
181
|
+
"Enum",
|
|
182
|
+
"Erase",
|
|
183
|
+
"Error",
|
|
184
|
+
"Event",
|
|
185
|
+
"Exit",
|
|
186
|
+
"False",
|
|
187
|
+
"Finally",
|
|
188
|
+
"For",
|
|
189
|
+
"Friend",
|
|
190
|
+
"Function",
|
|
191
|
+
"Get",
|
|
192
|
+
"GetType",
|
|
193
|
+
"GetXMLNamespace",
|
|
194
|
+
"Global",
|
|
195
|
+
"GoSub",
|
|
196
|
+
"GoTo",
|
|
197
|
+
"Handles",
|
|
198
|
+
"If",
|
|
199
|
+
"Implements",
|
|
200
|
+
"Imports",
|
|
201
|
+
"In",
|
|
202
|
+
"Inherits",
|
|
203
|
+
"Integer",
|
|
204
|
+
"Interface",
|
|
205
|
+
"Is",
|
|
206
|
+
"IsNot",
|
|
207
|
+
"Let",
|
|
208
|
+
"Lib",
|
|
209
|
+
"Like",
|
|
210
|
+
"Long",
|
|
211
|
+
"Loop",
|
|
212
|
+
"Me",
|
|
213
|
+
"Mod",
|
|
214
|
+
"Module",
|
|
215
|
+
"MustInherit",
|
|
216
|
+
"MustOverride",
|
|
217
|
+
"MyBase",
|
|
218
|
+
"MyClass",
|
|
219
|
+
"NameOf",
|
|
220
|
+
"Namespace",
|
|
221
|
+
"Narrowing",
|
|
222
|
+
"New",
|
|
223
|
+
"Next",
|
|
224
|
+
"Not",
|
|
225
|
+
"Nothing",
|
|
226
|
+
"NotInheritable",
|
|
227
|
+
"NotOverridable",
|
|
228
|
+
"Object",
|
|
229
|
+
"Of",
|
|
230
|
+
"On",
|
|
231
|
+
"Operator",
|
|
232
|
+
"Option",
|
|
233
|
+
"Optional",
|
|
234
|
+
"Or",
|
|
235
|
+
"OrElse",
|
|
236
|
+
"Out",
|
|
237
|
+
"Overloads",
|
|
238
|
+
"Overridable",
|
|
239
|
+
"Overrides",
|
|
240
|
+
"ParamArray",
|
|
241
|
+
"Partial",
|
|
242
|
+
"Private",
|
|
243
|
+
"Property",
|
|
244
|
+
"Protected",
|
|
245
|
+
"Public",
|
|
246
|
+
"RaiseEvent",
|
|
247
|
+
"ReadOnly",
|
|
248
|
+
"ReDim",
|
|
249
|
+
"RemoveHandler",
|
|
250
|
+
"Resume",
|
|
251
|
+
"Return",
|
|
252
|
+
"SByte",
|
|
253
|
+
"Select",
|
|
254
|
+
"Set",
|
|
255
|
+
"Shadows",
|
|
256
|
+
"Shared",
|
|
257
|
+
"Short",
|
|
258
|
+
"Single",
|
|
259
|
+
"Static",
|
|
260
|
+
"Step",
|
|
261
|
+
"Stop",
|
|
262
|
+
"String",
|
|
263
|
+
"Structure",
|
|
264
|
+
"Sub",
|
|
265
|
+
"SyncLock",
|
|
266
|
+
"Then",
|
|
267
|
+
"Throw",
|
|
268
|
+
"To",
|
|
269
|
+
"True",
|
|
270
|
+
"Try",
|
|
271
|
+
"TryCast",
|
|
272
|
+
"TypeOf",
|
|
273
|
+
"UInteger",
|
|
274
|
+
"ULong",
|
|
275
|
+
"UShort",
|
|
276
|
+
"Using",
|
|
277
|
+
"Variant",
|
|
278
|
+
"Wend",
|
|
279
|
+
"When",
|
|
280
|
+
"While",
|
|
281
|
+
"Widening",
|
|
282
|
+
"With",
|
|
283
|
+
"WithEvents",
|
|
284
|
+
"WriteOnly",
|
|
285
|
+
"Xor"
|
|
286
|
+
],
|
|
287
|
+
tagwords: [
|
|
288
|
+
"If",
|
|
289
|
+
"Sub",
|
|
290
|
+
"Select",
|
|
291
|
+
"Try",
|
|
292
|
+
"Class",
|
|
293
|
+
"Enum",
|
|
294
|
+
"Function",
|
|
295
|
+
"Get",
|
|
296
|
+
"Interface",
|
|
297
|
+
"Module",
|
|
298
|
+
"Namespace",
|
|
299
|
+
"Operator",
|
|
300
|
+
"Set",
|
|
301
|
+
"Structure",
|
|
302
|
+
"Using",
|
|
303
|
+
"While",
|
|
304
|
+
"With",
|
|
305
|
+
"Do",
|
|
306
|
+
"Loop",
|
|
307
|
+
"For",
|
|
308
|
+
"Next",
|
|
309
|
+
"Property",
|
|
310
|
+
"Continue",
|
|
311
|
+
"AddHandler",
|
|
312
|
+
"RemoveHandler",
|
|
313
|
+
"Event",
|
|
314
|
+
"RaiseEvent",
|
|
315
|
+
"SyncLock"
|
|
316
|
+
],
|
|
317
|
+
symbols: /[=><!~?;\.,:&|+\-*\/\^%]+/,
|
|
318
|
+
integersuffix: /U?[DI%L&S@]?/,
|
|
319
|
+
floatsuffix: /[R#F!]?/,
|
|
320
|
+
tokenizer: {
|
|
321
|
+
root: [
|
|
322
|
+
{ include: "@whitespace" },
|
|
323
|
+
[/next(?!\w)/, { token: "keyword.tag-for" }],
|
|
324
|
+
[/loop(?!\w)/, { token: "keyword.tag-do" }],
|
|
325
|
+
[
|
|
326
|
+
/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,
|
|
327
|
+
{ token: "keyword.tag-$1" }
|
|
328
|
+
],
|
|
329
|
+
[
|
|
330
|
+
/[a-zA-Z_]\w*/,
|
|
331
|
+
{
|
|
332
|
+
cases: {
|
|
333
|
+
"@tagwords": { token: "keyword.tag-$0" },
|
|
334
|
+
"@keywords": { token: "keyword.$0" },
|
|
335
|
+
"@default": "identifier"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
[/^\s*#\w+/, "keyword"],
|
|
340
|
+
[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
341
|
+
[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
342
|
+
[/&H[0-9a-f]+(@integersuffix)/, "number.hex"],
|
|
343
|
+
[/&0[0-7]+(@integersuffix)/, "number.octal"],
|
|
344
|
+
[/\d+(@integersuffix)/, "number"],
|
|
345
|
+
[/#.*#/, "number"],
|
|
346
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
347
|
+
[/@symbols/, "delimiter"],
|
|
348
|
+
[/["\u201c\u201d]/, { token: "string.quote", next: "@string" }]
|
|
349
|
+
],
|
|
350
|
+
whitespace: [
|
|
351
|
+
[/[ \t\r\n]+/, ""],
|
|
352
|
+
[/(\'|REM(?!\w)).*$/, "comment"]
|
|
353
|
+
],
|
|
354
|
+
string: [
|
|
355
|
+
[/[^"\u201c\u201d]+/, "string"],
|
|
356
|
+
[/["\u201c\u201d]{2}/, "string.escape"],
|
|
357
|
+
[/["\u201c\u201d]C?/, { token: "string.quote", next: "@pop" }]
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
export {
|
|
362
|
+
e as conf,
|
|
363
|
+
n as language
|
|
364
|
+
};
|