@ansible/ansible-ui-framework 2.4.2597 → 2.4.2599
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +44791 -148
- package/index.umd.cjs +258 -2173
- package/package.json +8 -6
- package/publish/index.d.ts +337 -148
- package/style.css +1 -1
- package/abap-BgxiW-yv.js +0 -1404
- package/apex-Ci_BavZh.js +0 -332
- package/assets/editor.worker-BKD3YLiN.js +0 -12
- package/assets/json.worker-D1dAtg0Q.js +0 -49
- package/assets/yaml.worker-DS47KmSZ.js +0 -476
- package/azcli-dfO4wGjy.js +0 -74
- package/bat-DD810Xk_.js +0 -106
- package/bicep-8OENIIxl.js +0 -108
- package/cameligo-NqPxsDwa.js +0 -180
- package/clojure-DuHkQIc1.js +0 -767
- package/coffee-B3cpF2mL.js +0 -238
- package/cpp-BJvlC8pp.js +0 -395
- package/csharp-B-mepg9G.js +0 -332
- package/csp-CZDIWMVF.js +0 -59
- package/css-CLWUu9O1.js +0 -193
- package/cssMode-BW_EgCuT.js +0 -1577
- package/cypher-DaPSdc0H.js +0 -269
- package/dart-Do9iT_o8.js +0 -287
- package/dockerfile-CbJBIDss.js +0 -136
- package/ecl-BqVPFR32.js +0 -462
- package/elixir-D1QTcrNJ.js +0 -575
- package/flow9-8noNFj4g.js +0 -148
- package/freemarker2-CZroC-2x.js +0 -995
- package/fsharp-C8jetu08.js +0 -223
- package/go-CwkaVtEf.js +0 -224
- package/graphql-CN0L02lB.js +0 -157
- package/handlebars-DdZaSSq2.js +0 -425
- package/hcl-B8DTUjkt.js +0 -189
- package/html-BStYWvMR.js +0 -314
- package/htmlMode-BZ30jslh.js +0 -1587
- package/index-_bG9dmst.js +0 -157805
- package/ini-BAHk9dez.js +0 -77
- package/java-BqU7F-WC.js +0 -238
- package/javascript-R1fkmvzs.js +0 -76
- package/jsonMode-B3D-ZZhn.js +0 -2002
- package/julia-7wzAFYJ_.js +0 -517
- package/kotlin-Ds6t9yxb.js +0 -259
- package/less-BsKXqSGe.js +0 -168
- package/lexon-CxjeM0Fy.js +0 -163
- package/liquid-COCYG7jZ.js +0 -246
- package/lua-CZeocWyu.js +0 -168
- package/m3-DrAa334y.js +0 -216
- package/markdown-BKScSdMX.js +0 -235
- package/mdx-CnriKNQ4.js +0 -171
- package/mips-C2kxK_Lk.js +0 -204
- package/msdax-CV-iM8Y9.js +0 -381
- package/mysql-0UKhlzQO.js +0 -884
- package/objective-c-CbKhSCGr.js +0 -189
- package/pascal-CP-K8RTj.js +0 -257
- package/pascaligo-DNS345Ec.js +0 -170
- package/perl-CU_O2Ux7.js +0 -632
- package/pgsql-CvE830Au.js +0 -857
- package/php-BvwPLbR6.js +0 -506
- package/pla-DJ8gwRb5.js +0 -143
- package/postiats-CGZof9No.js +0 -913
- package/powerquery-C7bI8brw.js +0 -896
- package/powershell-CmptSHHa.js +0 -245
- package/protobuf-CNFSy7mI.js +0 -426
- package/publish/abap-BgxiW-yv.d.ts +0 -63
- package/publish/apex-Ci_BavZh.d.ts +0 -65
- package/publish/assets/editor.worker-BKD3YLiN.d.ts +0 -0
- package/publish/assets/json.worker-D1dAtg0Q.d.ts +0 -3
- package/publish/assets/yaml.worker-DS47KmSZ.d.ts +0 -3
- package/publish/azcli-dfO4wGjy.d.ts +0 -47
- package/publish/bat-DD810Xk_.d.ts +0 -57
- package/publish/bicep-8OENIIxl.d.ts +0 -146
- package/publish/cameligo-NqPxsDwa.d.ts +0 -55
- package/publish/clojure-DuHkQIc1.d.ts +0 -50
- package/publish/coffee-B3cpF2mL.d.ts +0 -102
- package/publish/cpp-BJvlC8pp.d.ts +0 -83
- package/publish/csharp-B-mepg9G.d.ts +0 -113
- package/publish/csp-CZDIWMVF.d.ts +0 -17
- package/publish/css-CLWUu9O1.d.ts +0 -144
- package/publish/cssMode-BW_EgCuT.d.ts +0 -130
- package/publish/cypher-DaPSdc0H.d.ts +0 -65
- package/publish/dart-Do9iT_o8.d.ts +0 -83
- package/publish/dockerfile-CbJBIDss.d.ts +0 -73
- package/publish/ecl-BqVPFR32.d.ts +0 -60
- package/publish/elixir-D1QTcrNJ.d.ts +0 -307
- package/publish/flow9-8noNFj4g.d.ts +0 -45
- package/publish/freemarker2-CZroC-2x.d.ts +0 -1543
- package/publish/fsharp-C8jetu08.d.ts +0 -61
- package/publish/go-CwkaVtEf.d.ts +0 -51
- package/publish/graphql-CN0L02lB.d.ts +0 -75
- package/publish/handlebars-DdZaSSq2.d.ts +0 -176
- package/publish/hcl-B8DTUjkt.d.ts +0 -77
- package/publish/html-BStYWvMR.d.ts +0 -129
- package/publish/htmlMode-BZ30jslh.d.ts +0 -131
- package/publish/index-_bG9dmst.d.ts +0 -2914
- package/publish/ini-BAHk9dez.d.ts +0 -35
- package/publish/java-BqU7F-WC.d.ts +0 -57
- package/publish/javascript-R1fkmvzs.d.ts +0 -111
- package/publish/jsonMode-B3D-ZZhn.d.ts +0 -131
- package/publish/julia-7wzAFYJ_.d.ts +0 -92
- package/publish/kotlin-Ds6t9yxb.d.ts +0 -57
- package/publish/less-BsKXqSGe.d.ts +0 -88
- package/publish/lexon-CxjeM0Fy.d.ts +0 -81
- package/publish/liquid-COCYG7jZ.d.ts +0 -73
- package/publish/lua-CZeocWyu.d.ts +0 -66
- package/publish/m3-DrAa334y.d.ts +0 -63
- package/publish/markdown-BKScSdMX.d.ts +0 -129
- package/publish/mdx-CnriKNQ4.d.ts +0 -139
- package/publish/mips-C2kxK_Lk.d.ts +0 -79
- package/publish/msdax-CV-iM8Y9.d.ts +0 -68
- package/publish/mysql-0UKhlzQO.d.ts +0 -76
- package/publish/objective-c-CbKhSCGr.d.ts +0 -46
- package/publish/pascal-CP-K8RTj.d.ts +0 -62
- package/publish/pascaligo-DNS345Ec.d.ts +0 -55
- package/publish/perl-CU_O2Ux7.d.ts +0 -116
- package/publish/pgsql-CvE830Au.d.ts +0 -80
- package/publish/php-BvwPLbR6.d.ts +0 -193
- package/publish/pla-DJ8gwRb5.d.ts +0 -71
- package/publish/postiats-CGZof9No.d.ts +0 -212
- package/publish/powerquery-C7bI8brw.d.ts +0 -63
- package/publish/powershell-CmptSHHa.d.ts +0 -119
- package/publish/protobuf-CNFSy7mI.d.ts +0 -364
- package/publish/pug-CzItlbqs.d.ts +0 -170
- package/publish/python-8vPuu566.d.ts +0 -65
- package/publish/qsharp-C1B8howk.d.ts +0 -75
- package/publish/r-BTwZKg_d.d.ts +0 -77
- package/publish/razor-CtOmeuwi.d.ts +0 -194
- package/publish/redis-BUv7CvJd.d.ts +0 -63
- package/publish/redshift-jrBDFghq.d.ts +0 -80
- package/publish/restructuredtext-BxbR-VyS.d.ts +0 -69
- package/publish/ruby-B0TfnHZH.d.ts +0 -239
- package/publish/rust-D_saCUFK.d.ts +0 -94
- package/publish/sb-DcgiWk7t.d.ts +0 -54
- package/publish/scala-BfLWIEFR.d.ts +0 -135
- package/publish/scheme-CZaOrAgo.d.ts +0 -46
- package/publish/scss-Du10_18v.d.ts +0 -220
- package/publish/shell-D1p7ZuXl.d.ts +0 -53
- package/publish/solidity-DzIDOgno.d.ts +0 -50
- package/publish/sophia-BU-qT3RS.d.ts +0 -50
- package/publish/sparql-DVtIp1VH.d.ts +0 -47
- package/publish/sql-1GwNodTS.d.ts +0 -86
- package/publish/st-DPXgTepQ.d.ts +0 -87
- package/publish/swift-ZhwunzBf.d.ts +0 -80
- package/publish/systemverilog-CVvtzxud.d.ts +0 -109
- package/publish/tcl-CYCJd6bV.d.ts +0 -87
- package/publish/tsMode-BSdN2klD.d.ts +0 -436
- package/publish/twig-JIfYOL6u.d.ts +0 -135
- package/publish/typescript-DWjYWuYm.d.ts +0 -110
- package/publish/typespec-BH4BOGFR.d.ts +0 -146
- package/publish/vb-6Rp6KK9h.d.ts +0 -60
- package/publish/wgsl-kJTvkQmx.d.ts +0 -72
- package/publish/xml-BqVRyB3K.d.ts +0 -72
- package/publish/yaml-DEH8xqyy.d.ts +0 -87
- package/pug-CzItlbqs.js +0 -408
- package/python-8vPuu566.js +0 -307
- package/qsharp-C1B8howk.js +0 -307
- package/r-BTwZKg_d.js +0 -249
- package/razor-CtOmeuwi.js +0 -556
- package/redis-BUv7CvJd.js +0 -308
- package/redshift-jrBDFghq.js +0 -815
- package/restructuredtext-BxbR-VyS.js +0 -180
- package/ruby-B0TfnHZH.js +0 -517
- package/rust-D_saCUFK.js +0 -349
- package/sb-DcgiWk7t.js +0 -121
- package/scala-BfLWIEFR.js +0 -376
- package/scheme-CZaOrAgo.js +0 -114
- package/scss-Du10_18v.js +0 -268
- package/shell-D1p7ZuXl.js +0 -227
- package/solidity-DzIDOgno.js +0 -1373
- package/sophia-BU-qT3RS.js +0 -205
- package/sparql-DVtIp1VH.js +0 -207
- package/sql-1GwNodTS.js +0 -859
- package/st-DPXgTepQ.js +0 -422
- package/swift-ZhwunzBf.js +0 -318
- package/systemverilog-CVvtzxud.js +0 -582
- package/tcl-CYCJd6bV.js +0 -238
- package/tsMode-BSdN2klD.js +0 -895
- package/twig-JIfYOL6u.js +0 -398
- package/typescript-DWjYWuYm.js +0 -349
- package/typespec-BH4BOGFR.js +0 -123
- package/vb-6Rp6KK9h.js +0 -378
- package/wgsl-kJTvkQmx.js +0 -445
- package/xml-BqVRyB3K.js +0 -101
- package/yaml-DEH8xqyy.js +0 -212
package/liquid-COCYG7jZ.js
DELETED
@@ -1,246 +0,0 @@
|
|
1
|
-
import { m as l } from "./index-_bG9dmst.js";
|
2
|
-
/*!-----------------------------------------------------------------------------
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
5
|
-
* Released under the MIT license
|
6
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
|
-
*-----------------------------------------------------------------------------*/
|
8
|
-
var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
|
9
|
-
if (e && typeof e == "object" || typeof e == "function")
|
10
|
-
for (let i of c(e))
|
11
|
-
!u.call(t, i) && i !== r && d(t, i, { get: () => e[i], enumerable: !(n = s(e, i)) || n.enumerable });
|
12
|
-
return t;
|
13
|
-
}, p = (t, e, r) => (m(t, e, "default"), r), o = {};
|
14
|
-
p(o, l);
|
15
|
-
var a = [
|
16
|
-
"area",
|
17
|
-
"base",
|
18
|
-
"br",
|
19
|
-
"col",
|
20
|
-
"embed",
|
21
|
-
"hr",
|
22
|
-
"img",
|
23
|
-
"input",
|
24
|
-
"keygen",
|
25
|
-
"link",
|
26
|
-
"menuitem",
|
27
|
-
"meta",
|
28
|
-
"param",
|
29
|
-
"source",
|
30
|
-
"track",
|
31
|
-
"wbr"
|
32
|
-
], g = {
|
33
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
34
|
-
brackets: [
|
35
|
-
["<!--", "-->"],
|
36
|
-
["<", ">"],
|
37
|
-
["{{", "}}"],
|
38
|
-
["{%", "%}"],
|
39
|
-
["{", "}"],
|
40
|
-
["(", ")"]
|
41
|
-
],
|
42
|
-
autoClosingPairs: [
|
43
|
-
{ open: "{", close: "}" },
|
44
|
-
{ open: "%", close: "%" },
|
45
|
-
{ open: "[", close: "]" },
|
46
|
-
{ open: "(", close: ")" },
|
47
|
-
{ open: '"', close: '"' },
|
48
|
-
{ open: "'", close: "'" }
|
49
|
-
],
|
50
|
-
surroundingPairs: [
|
51
|
-
{ open: "<", close: ">" },
|
52
|
-
{ open: '"', close: '"' },
|
53
|
-
{ open: "'", close: "'" }
|
54
|
-
],
|
55
|
-
onEnterRules: [
|
56
|
-
{
|
57
|
-
beforeText: new RegExp(
|
58
|
-
`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
59
|
-
"i"
|
60
|
-
),
|
61
|
-
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
62
|
-
action: {
|
63
|
-
indentAction: o.languages.IndentAction.IndentOutdent
|
64
|
-
}
|
65
|
-
},
|
66
|
-
{
|
67
|
-
beforeText: new RegExp(
|
68
|
-
`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
69
|
-
"i"
|
70
|
-
),
|
71
|
-
action: { indentAction: o.languages.IndentAction.Indent }
|
72
|
-
}
|
73
|
-
]
|
74
|
-
}, _ = {
|
75
|
-
defaultToken: "",
|
76
|
-
tokenPostfix: "",
|
77
|
-
builtinTags: [
|
78
|
-
"if",
|
79
|
-
"else",
|
80
|
-
"elseif",
|
81
|
-
"endif",
|
82
|
-
"render",
|
83
|
-
"assign",
|
84
|
-
"capture",
|
85
|
-
"endcapture",
|
86
|
-
"case",
|
87
|
-
"endcase",
|
88
|
-
"comment",
|
89
|
-
"endcomment",
|
90
|
-
"cycle",
|
91
|
-
"decrement",
|
92
|
-
"for",
|
93
|
-
"endfor",
|
94
|
-
"include",
|
95
|
-
"increment",
|
96
|
-
"layout",
|
97
|
-
"raw",
|
98
|
-
"endraw",
|
99
|
-
"render",
|
100
|
-
"tablerow",
|
101
|
-
"endtablerow",
|
102
|
-
"unless",
|
103
|
-
"endunless"
|
104
|
-
],
|
105
|
-
builtinFilters: [
|
106
|
-
"abs",
|
107
|
-
"append",
|
108
|
-
"at_least",
|
109
|
-
"at_most",
|
110
|
-
"capitalize",
|
111
|
-
"ceil",
|
112
|
-
"compact",
|
113
|
-
"date",
|
114
|
-
"default",
|
115
|
-
"divided_by",
|
116
|
-
"downcase",
|
117
|
-
"escape",
|
118
|
-
"escape_once",
|
119
|
-
"first",
|
120
|
-
"floor",
|
121
|
-
"join",
|
122
|
-
"json",
|
123
|
-
"last",
|
124
|
-
"lstrip",
|
125
|
-
"map",
|
126
|
-
"minus",
|
127
|
-
"modulo",
|
128
|
-
"newline_to_br",
|
129
|
-
"plus",
|
130
|
-
"prepend",
|
131
|
-
"remove",
|
132
|
-
"remove_first",
|
133
|
-
"replace",
|
134
|
-
"replace_first",
|
135
|
-
"reverse",
|
136
|
-
"round",
|
137
|
-
"rstrip",
|
138
|
-
"size",
|
139
|
-
"slice",
|
140
|
-
"sort",
|
141
|
-
"sort_natural",
|
142
|
-
"split",
|
143
|
-
"strip",
|
144
|
-
"strip_html",
|
145
|
-
"strip_newlines",
|
146
|
-
"times",
|
147
|
-
"truncate",
|
148
|
-
"truncatewords",
|
149
|
-
"uniq",
|
150
|
-
"upcase",
|
151
|
-
"url_decode",
|
152
|
-
"url_encode",
|
153
|
-
"where"
|
154
|
-
],
|
155
|
-
constants: ["true", "false"],
|
156
|
-
operators: ["==", "!=", ">", "<", ">=", "<="],
|
157
|
-
symbol: /[=><!]+/,
|
158
|
-
identifier: /[a-zA-Z_][\w]*/,
|
159
|
-
tokenizer: {
|
160
|
-
root: [
|
161
|
-
[/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
|
162
|
-
[/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
163
|
-
[/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
164
|
-
[/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
165
|
-
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
166
|
-
[/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
167
|
-
[/</, "delimiter.html"],
|
168
|
-
[/\{/, "delimiter.html"],
|
169
|
-
[/[^<{]+/]
|
170
|
-
// text
|
171
|
-
],
|
172
|
-
comment: [
|
173
|
-
[/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
|
174
|
-
[/./, "comment.content.liquid"]
|
175
|
-
],
|
176
|
-
otherTag: [
|
177
|
-
[
|
178
|
-
/\{\{/,
|
179
|
-
{
|
180
|
-
token: "@rematch",
|
181
|
-
switchTo: "@liquidState.otherTag"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
[
|
185
|
-
/\{\%/,
|
186
|
-
{
|
187
|
-
token: "@rematch",
|
188
|
-
switchTo: "@liquidState.otherTag"
|
189
|
-
}
|
190
|
-
],
|
191
|
-
[/\/?>/, "delimiter.html", "@pop"],
|
192
|
-
[/"([^"]*)"/, "attribute.value"],
|
193
|
-
[/'([^']*)'/, "attribute.value"],
|
194
|
-
[/[\w\-]+/, "attribute.name"],
|
195
|
-
[/=/, "delimiter"],
|
196
|
-
[/[ \t\r\n]+/]
|
197
|
-
// whitespace
|
198
|
-
],
|
199
|
-
liquidState: [
|
200
|
-
[/\{\{/, "delimiter.output.liquid"],
|
201
|
-
[/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
|
202
|
-
[/\{\%/, "delimiter.tag.liquid"],
|
203
|
-
[/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
|
204
|
-
[/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
|
205
|
-
{ include: "liquidRoot" }
|
206
|
-
],
|
207
|
-
liquidRaw: [
|
208
|
-
[/^(?!\{\%\s*endraw\s*\%\}).+/],
|
209
|
-
[/\{\%/, "delimiter.tag.liquid"],
|
210
|
-
[/@identifier/],
|
211
|
-
[/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
|
212
|
-
],
|
213
|
-
liquidRoot: [
|
214
|
-
[/\d+(\.\d+)?/, "number.liquid"],
|
215
|
-
[/"[^"]*"/, "string.liquid"],
|
216
|
-
[/'[^']*'/, "string.liquid"],
|
217
|
-
[/\s+/],
|
218
|
-
[
|
219
|
-
/@symbol/,
|
220
|
-
{
|
221
|
-
cases: {
|
222
|
-
"@operators": "operator.liquid",
|
223
|
-
"@default": ""
|
224
|
-
}
|
225
|
-
}
|
226
|
-
],
|
227
|
-
[/\./],
|
228
|
-
[
|
229
|
-
/@identifier/,
|
230
|
-
{
|
231
|
-
cases: {
|
232
|
-
"@constants": "keyword.liquid",
|
233
|
-
"@builtinFilters": "predefined.liquid",
|
234
|
-
"@builtinTags": "predefined.liquid",
|
235
|
-
"@default": "variable.liquid"
|
236
|
-
}
|
237
|
-
}
|
238
|
-
],
|
239
|
-
[/[^}|%]/, "variable.liquid"]
|
240
|
-
]
|
241
|
-
}
|
242
|
-
};
|
243
|
-
export {
|
244
|
-
g as conf,
|
245
|
-
_ as language
|
246
|
-
};
|
package/lua-CZeocWyu.js
DELETED
@@ -1,168 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
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
|
-
}, o = {
|
32
|
-
defaultToken: "",
|
33
|
-
tokenPostfix: ".lua",
|
34
|
-
keywords: [
|
35
|
-
"and",
|
36
|
-
"break",
|
37
|
-
"do",
|
38
|
-
"else",
|
39
|
-
"elseif",
|
40
|
-
"end",
|
41
|
-
"false",
|
42
|
-
"for",
|
43
|
-
"function",
|
44
|
-
"goto",
|
45
|
-
"if",
|
46
|
-
"in",
|
47
|
-
"local",
|
48
|
-
"nil",
|
49
|
-
"not",
|
50
|
-
"or",
|
51
|
-
"repeat",
|
52
|
-
"return",
|
53
|
-
"then",
|
54
|
-
"true",
|
55
|
-
"until",
|
56
|
-
"while"
|
57
|
-
],
|
58
|
-
brackets: [
|
59
|
-
{ token: "delimiter.bracket", open: "{", close: "}" },
|
60
|
-
{ token: "delimiter.array", open: "[", close: "]" },
|
61
|
-
{ token: "delimiter.parenthesis", open: "(", close: ")" }
|
62
|
-
],
|
63
|
-
operators: [
|
64
|
-
"+",
|
65
|
-
"-",
|
66
|
-
"*",
|
67
|
-
"/",
|
68
|
-
"%",
|
69
|
-
"^",
|
70
|
-
"#",
|
71
|
-
"==",
|
72
|
-
"~=",
|
73
|
-
"<=",
|
74
|
-
">=",
|
75
|
-
"<",
|
76
|
-
">",
|
77
|
-
"=",
|
78
|
-
";",
|
79
|
-
":",
|
80
|
-
",",
|
81
|
-
".",
|
82
|
-
"..",
|
83
|
-
"..."
|
84
|
-
],
|
85
|
-
// we include these common regular expressions
|
86
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
87
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
88
|
-
// The main tokenizer for our languages
|
89
|
-
tokenizer: {
|
90
|
-
root: [
|
91
|
-
// identifiers and keywords
|
92
|
-
[
|
93
|
-
/[a-zA-Z_]\w*/,
|
94
|
-
{
|
95
|
-
cases: {
|
96
|
-
"@keywords": { token: "keyword.$0" },
|
97
|
-
"@default": "identifier"
|
98
|
-
}
|
99
|
-
}
|
100
|
-
],
|
101
|
-
// whitespace
|
102
|
-
{ include: "@whitespace" },
|
103
|
-
// keys
|
104
|
-
[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
|
105
|
-
[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
|
106
|
-
// delimiters and operators
|
107
|
-
[/[{}()\[\]]/, "@brackets"],
|
108
|
-
[
|
109
|
-
/@symbols/,
|
110
|
-
{
|
111
|
-
cases: {
|
112
|
-
"@operators": "delimiter",
|
113
|
-
"@default": ""
|
114
|
-
}
|
115
|
-
}
|
116
|
-
],
|
117
|
-
// numbers
|
118
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
119
|
-
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
120
|
-
[/\d+?/, "number"],
|
121
|
-
// delimiter: after number because of .\d floats
|
122
|
-
[/[;,.]/, "delimiter"],
|
123
|
-
// strings: recover on non-terminated strings
|
124
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
125
|
-
// non-teminated string
|
126
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
127
|
-
// non-teminated string
|
128
|
-
[/"/, "string", '@string."'],
|
129
|
-
[/'/, "string", "@string.'"]
|
130
|
-
],
|
131
|
-
whitespace: [
|
132
|
-
[/[ \t\r\n]+/, ""],
|
133
|
-
[/--\[([=]*)\[/, "comment", "@comment.$1"],
|
134
|
-
[/--.*$/, "comment"]
|
135
|
-
],
|
136
|
-
comment: [
|
137
|
-
[/[^\]]+/, "comment"],
|
138
|
-
[
|
139
|
-
/\]([=]*)\]/,
|
140
|
-
{
|
141
|
-
cases: {
|
142
|
-
"$1==$S2": { token: "comment", next: "@pop" },
|
143
|
-
"@default": "comment"
|
144
|
-
}
|
145
|
-
}
|
146
|
-
],
|
147
|
-
[/./, "comment"]
|
148
|
-
],
|
149
|
-
string: [
|
150
|
-
[/[^\\"']+/, "string"],
|
151
|
-
[/@escapes/, "string.escape"],
|
152
|
-
[/\\./, "string.escape.invalid"],
|
153
|
-
[
|
154
|
-
/["']/,
|
155
|
-
{
|
156
|
-
cases: {
|
157
|
-
"$#==$S2": { token: "string", next: "@pop" },
|
158
|
-
"@default": "string"
|
159
|
-
}
|
160
|
-
}
|
161
|
-
]
|
162
|
-
]
|
163
|
-
}
|
164
|
-
};
|
165
|
-
export {
|
166
|
-
e as conf,
|
167
|
-
o as language
|
168
|
-
};
|
package/m3-DrAa334y.js
DELETED
@@ -1,216 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/
|
7
|
-
var e = {
|
8
|
-
comments: {
|
9
|
-
blockComment: ["(*", "*)"]
|
10
|
-
},
|
11
|
-
brackets: [
|
12
|
-
["{", "}"],
|
13
|
-
["[", "]"],
|
14
|
-
["(", ")"]
|
15
|
-
],
|
16
|
-
autoClosingPairs: [
|
17
|
-
{ open: "[", close: "]" },
|
18
|
-
{ open: "{", close: "}" },
|
19
|
-
{ open: "(", close: ")" },
|
20
|
-
{ open: "(*", close: "*)" },
|
21
|
-
{ open: "<*", close: "*>" },
|
22
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
23
|
-
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
24
|
-
]
|
25
|
-
}, o = {
|
26
|
-
defaultToken: "",
|
27
|
-
tokenPostfix: ".m3",
|
28
|
-
brackets: [
|
29
|
-
{ token: "delimiter.curly", open: "{", close: "}" },
|
30
|
-
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
31
|
-
{ token: "delimiter.square", open: "[", close: "]" }
|
32
|
-
],
|
33
|
-
keywords: [
|
34
|
-
"AND",
|
35
|
-
"ANY",
|
36
|
-
"ARRAY",
|
37
|
-
"AS",
|
38
|
-
"BEGIN",
|
39
|
-
"BITS",
|
40
|
-
"BRANDED",
|
41
|
-
"BY",
|
42
|
-
"CASE",
|
43
|
-
"CONST",
|
44
|
-
"DIV",
|
45
|
-
"DO",
|
46
|
-
"ELSE",
|
47
|
-
"ELSIF",
|
48
|
-
"END",
|
49
|
-
"EVAL",
|
50
|
-
"EXCEPT",
|
51
|
-
"EXCEPTION",
|
52
|
-
"EXIT",
|
53
|
-
"EXPORTS",
|
54
|
-
"FINALLY",
|
55
|
-
"FOR",
|
56
|
-
"FROM",
|
57
|
-
"GENERIC",
|
58
|
-
"IF",
|
59
|
-
"IMPORT",
|
60
|
-
"IN",
|
61
|
-
"INTERFACE",
|
62
|
-
"LOCK",
|
63
|
-
"LOOP",
|
64
|
-
"METHODS",
|
65
|
-
"MOD",
|
66
|
-
"MODULE",
|
67
|
-
"NOT",
|
68
|
-
"OBJECT",
|
69
|
-
"OF",
|
70
|
-
"OR",
|
71
|
-
"OVERRIDES",
|
72
|
-
"PROCEDURE",
|
73
|
-
"RAISE",
|
74
|
-
"RAISES",
|
75
|
-
"READONLY",
|
76
|
-
"RECORD",
|
77
|
-
"REF",
|
78
|
-
"REPEAT",
|
79
|
-
"RETURN",
|
80
|
-
"REVEAL",
|
81
|
-
"SET",
|
82
|
-
"THEN",
|
83
|
-
"TO",
|
84
|
-
"TRY",
|
85
|
-
"TYPE",
|
86
|
-
"TYPECASE",
|
87
|
-
"UNSAFE",
|
88
|
-
"UNTIL",
|
89
|
-
"UNTRACED",
|
90
|
-
"VALUE",
|
91
|
-
"VAR",
|
92
|
-
"WHILE",
|
93
|
-
"WITH"
|
94
|
-
],
|
95
|
-
reservedConstNames: [
|
96
|
-
"ABS",
|
97
|
-
"ADR",
|
98
|
-
"ADRSIZE",
|
99
|
-
"BITSIZE",
|
100
|
-
"BYTESIZE",
|
101
|
-
"CEILING",
|
102
|
-
"DEC",
|
103
|
-
"DISPOSE",
|
104
|
-
"FALSE",
|
105
|
-
"FIRST",
|
106
|
-
"FLOAT",
|
107
|
-
"FLOOR",
|
108
|
-
"INC",
|
109
|
-
"ISTYPE",
|
110
|
-
"LAST",
|
111
|
-
"LOOPHOLE",
|
112
|
-
"MAX",
|
113
|
-
"MIN",
|
114
|
-
"NARROW",
|
115
|
-
"NEW",
|
116
|
-
"NIL",
|
117
|
-
"NUMBER",
|
118
|
-
"ORD",
|
119
|
-
"ROUND",
|
120
|
-
"SUBARRAY",
|
121
|
-
"TRUE",
|
122
|
-
"TRUNC",
|
123
|
-
"TYPECODE",
|
124
|
-
"VAL"
|
125
|
-
],
|
126
|
-
reservedTypeNames: [
|
127
|
-
"ADDRESS",
|
128
|
-
"ANY",
|
129
|
-
"BOOLEAN",
|
130
|
-
"CARDINAL",
|
131
|
-
"CHAR",
|
132
|
-
"EXTENDED",
|
133
|
-
"INTEGER",
|
134
|
-
"LONGCARD",
|
135
|
-
"LONGINT",
|
136
|
-
"LONGREAL",
|
137
|
-
"MUTEX",
|
138
|
-
"NULL",
|
139
|
-
"REAL",
|
140
|
-
"REFANY",
|
141
|
-
"ROOT",
|
142
|
-
"TEXT"
|
143
|
-
],
|
144
|
-
operators: ["+", "-", "*", "/", "&", "^", "."],
|
145
|
-
relations: ["=", "#", "<", "<=", ">", ">=", "<:", ":"],
|
146
|
-
delimiters: ["|", "..", "=>", ",", ";", ":="],
|
147
|
-
symbols: /[>=<#.,:;+\-*/&^]+/,
|
148
|
-
escapes: /\\(?:[\\fnrt"']|[0-7]{3})/,
|
149
|
-
tokenizer: {
|
150
|
-
root: [
|
151
|
-
// Identifiers and keywords
|
152
|
-
[/_\w*/, "invalid"],
|
153
|
-
[
|
154
|
-
/[a-zA-Z][a-zA-Z0-9_]*/,
|
155
|
-
{
|
156
|
-
cases: {
|
157
|
-
"@keywords": { token: "keyword.$0" },
|
158
|
-
"@reservedConstNames": { token: "constant.reserved.$0" },
|
159
|
-
"@reservedTypeNames": { token: "type.reserved.$0" },
|
160
|
-
"@default": "identifier"
|
161
|
-
}
|
162
|
-
}
|
163
|
-
],
|
164
|
-
// Whitespace
|
165
|
-
{ include: "@whitespace" },
|
166
|
-
[/[{}()\[\]]/, "@brackets"],
|
167
|
-
// Integer- and real literals
|
168
|
-
[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
|
169
|
-
[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
|
170
|
-
// Operators, relations, and delimiters
|
171
|
-
[
|
172
|
-
/@symbols/,
|
173
|
-
{
|
174
|
-
cases: {
|
175
|
-
"@operators": "operators",
|
176
|
-
"@relations": "operators",
|
177
|
-
"@delimiters": "delimiter",
|
178
|
-
"@default": "invalid"
|
179
|
-
}
|
180
|
-
}
|
181
|
-
],
|
182
|
-
// Character literals
|
183
|
-
[/'[^\\']'/, "string.char"],
|
184
|
-
[/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
|
185
|
-
[/'/, "invalid"],
|
186
|
-
// Text literals
|
187
|
-
[/"([^"\\]|\\.)*$/, "invalid"],
|
188
|
-
[/"/, "string.text", "@text"]
|
189
|
-
],
|
190
|
-
text: [
|
191
|
-
[/[^\\"]+/, "string.text"],
|
192
|
-
[/@escapes/, "string.escape"],
|
193
|
-
[/\\./, "invalid"],
|
194
|
-
[/"/, "string.text", "@pop"]
|
195
|
-
],
|
196
|
-
comment: [
|
197
|
-
[/\(\*/, "comment", "@push"],
|
198
|
-
[/\*\)/, "comment", "@pop"],
|
199
|
-
[/./, "comment"]
|
200
|
-
],
|
201
|
-
pragma: [
|
202
|
-
[/<\*/, "keyword.pragma", "@push"],
|
203
|
-
[/\*>/, "keyword.pragma", "@pop"],
|
204
|
-
[/./, "keyword.pragma"]
|
205
|
-
],
|
206
|
-
whitespace: [
|
207
|
-
[/[ \t\r\n]+/, "white"],
|
208
|
-
[/\(\*/, "comment", "@comment"],
|
209
|
-
[/<\*/, "keyword.pragma", "@pragma"]
|
210
|
-
]
|
211
|
-
}
|
212
|
-
};
|
213
|
-
export {
|
214
|
-
e as conf,
|
215
|
-
o as language
|
216
|
-
};
|