vue-api-request-builder 0.2.5 → 0.2.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 +216 -168
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.es.js +9048 -10
- package/dist/index.umd.js +159 -1922
- package/package.json +8 -2
- package/dist/abap-D0Neqhq6.js +0 -1404
- package/dist/apex-B5LhxkeG.js +0 -332
- package/dist/assets/css.worker-DNgQEC96.js +0 -84
- package/dist/assets/editor.worker-BKD3YLiN.js +0 -12
- package/dist/assets/html.worker-B7xpmB-M.js +0 -461
- package/dist/assets/json.worker-td2JV8fN.js +0 -49
- package/dist/assets/ts.worker-CqZGdM85.js +0 -51334
- package/dist/azcli-BrBH0QTU.js +0 -74
- package/dist/bat-BfzAov64.js +0 -106
- package/dist/bicep-C3bCSWel.js +0 -108
- package/dist/cameligo-sFL5plcd.js +0 -180
- package/dist/clojure-CfeExRz0.js +0 -767
- package/dist/coffee-Xws5K0WL.js +0 -238
- package/dist/cpp-CqOUEpxN.js +0 -395
- package/dist/csharp-DVLiBOZb.js +0 -332
- package/dist/csp-DVFp9bw5.js +0 -59
- package/dist/css-DwARn2R6.js +0 -193
- package/dist/cssMode-CLL8L5NS.js +0 -1577
- package/dist/cypher-uY0Mffat.js +0 -269
- package/dist/dart-D27H-mX_.js +0 -287
- package/dist/dockerfile-CmV85WZK.js +0 -136
- package/dist/ecl--fKn7yzB.js +0 -462
- package/dist/elixir-DUhH17ON.js +0 -575
- package/dist/flow9-B3Dx2LLe.js +0 -148
- package/dist/freemarker2-DTcNz0NY.js +0 -995
- package/dist/fsharp-SyqBfUAR.js +0 -223
- package/dist/go-BbMR2tdT.js +0 -224
- package/dist/graphql-DDJE6tIl.js +0 -157
- package/dist/handlebars-Cx0-w-7E.js +0 -425
- package/dist/hcl-YBvpaUqf.js +0 -189
- package/dist/html-C5tr3pzc.js +0 -314
- package/dist/htmlMode-CoxRCpNW.js +0 -1587
- package/dist/index-BQj88CBp.js +0 -113063
- package/dist/ini-Ct73dBtM.js +0 -77
- package/dist/java-C_jlkwoG.js +0 -238
- package/dist/javascript-DreDpYLL.js +0 -76
- package/dist/jsonMode-J_5EpjnI.js +0 -2002
- package/dist/julia-D8WE5U1e.js +0 -517
- package/dist/kotlin-Zy9aq5yB.js +0 -259
- package/dist/less-sZ0iHtE8.js +0 -168
- package/dist/lexon-CsdNL29A.js +0 -163
- package/dist/liquid-D4BjZHpf.js +0 -246
- package/dist/lua-C2YJo0zw.js +0 -168
- package/dist/m3-CPLP40SG.js +0 -216
- package/dist/markdown-B1mf5e0R.js +0 -235
- package/dist/mdx-XOAIeZ0T.js +0 -171
- package/dist/mips-DA33BZX1.js +0 -204
- package/dist/msdax-CCYFIQsP.js +0 -381
- package/dist/mysql-hjmIjL-D.js +0 -884
- package/dist/objective-c-RRCpEmqC.js +0 -189
- package/dist/pascal-CeV8XfxB.js +0 -257
- package/dist/pascaligo-IEEGVJAJ.js +0 -170
- package/dist/perl-B5-QbHq_.js +0 -632
- package/dist/pgsql-s6kqEJmi.js +0 -857
- package/dist/php-CWWqzOo8.js +0 -506
- package/dist/pla-FSvb_YP_.js +0 -143
- package/dist/postiats-DQdscQXO.js +0 -913
- package/dist/powerquery-CtA5JA1I.js +0 -896
- package/dist/powershell-DglEq96N.js +0 -245
- package/dist/protobuf-BSepub3e.js +0 -426
- package/dist/pug-B1847F4G.js +0 -408
- package/dist/python-HUeBjc1V.js +0 -307
- package/dist/qsharp-D4i0Nqg9.js +0 -307
- package/dist/r-cdRigKxa.js +0 -249
- package/dist/razor-DIq2UlHM.js +0 -556
- package/dist/redis-D9MFxvE8.js +0 -308
- package/dist/redshift-CmCnsvL-.js +0 -815
- package/dist/restructuredtext-CWy8J51t.js +0 -180
- package/dist/ruby-WP-c36m5.js +0 -517
- package/dist/rust-Q9FLdYpu.js +0 -349
- package/dist/sb-C54-JBGT.js +0 -121
- package/dist/scala-CzbFImc5.js +0 -376
- package/dist/scheme-BhfDmYN3.js +0 -114
- package/dist/scss-CEmiBXpS.js +0 -268
- package/dist/shell-Bmc1VhG0.js +0 -227
- package/dist/solidity-C9Q2I8Hh.js +0 -1373
- package/dist/sophia-jWa1UyKz.js +0 -205
- package/dist/sparql-CM7jctbc.js +0 -207
- package/dist/sql-WzihTkbg.js +0 -859
- package/dist/st-6y7_3aup.js +0 -422
- package/dist/swift-k-0zxG_D.js +0 -318
- package/dist/systemverilog-Pnr5_rIP.js +0 -582
- package/dist/tcl-fNPXval8.js +0 -238
- package/dist/tsMode-CYG-_Z0W.js +0 -895
- package/dist/twig-L2MkztkV.js +0 -398
- package/dist/typescript-_CZvF4eO.js +0 -349
- package/dist/typespec-Cqqo-3Pt.js +0 -123
- package/dist/vb-B5YC2xN9.js +0 -378
- package/dist/wgsl-B-_uRex7.js +0 -445
- package/dist/xml-Bh4P_Mbb.js +0 -101
- package/dist/yaml-CMs-twPQ.js +0 -212
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
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
|
-
}, n = {
|
|
32
|
-
defaultToken: "",
|
|
33
|
-
tokenPostfix: ".objective-c",
|
|
34
|
-
keywords: [
|
|
35
|
-
"#import",
|
|
36
|
-
"#include",
|
|
37
|
-
"#define",
|
|
38
|
-
"#else",
|
|
39
|
-
"#endif",
|
|
40
|
-
"#if",
|
|
41
|
-
"#ifdef",
|
|
42
|
-
"#ifndef",
|
|
43
|
-
"#ident",
|
|
44
|
-
"#undef",
|
|
45
|
-
"@class",
|
|
46
|
-
"@defs",
|
|
47
|
-
"@dynamic",
|
|
48
|
-
"@encode",
|
|
49
|
-
"@end",
|
|
50
|
-
"@implementation",
|
|
51
|
-
"@interface",
|
|
52
|
-
"@package",
|
|
53
|
-
"@private",
|
|
54
|
-
"@protected",
|
|
55
|
-
"@property",
|
|
56
|
-
"@protocol",
|
|
57
|
-
"@public",
|
|
58
|
-
"@selector",
|
|
59
|
-
"@synthesize",
|
|
60
|
-
"__declspec",
|
|
61
|
-
"assign",
|
|
62
|
-
"auto",
|
|
63
|
-
"BOOL",
|
|
64
|
-
"break",
|
|
65
|
-
"bycopy",
|
|
66
|
-
"byref",
|
|
67
|
-
"case",
|
|
68
|
-
"char",
|
|
69
|
-
"Class",
|
|
70
|
-
"const",
|
|
71
|
-
"copy",
|
|
72
|
-
"continue",
|
|
73
|
-
"default",
|
|
74
|
-
"do",
|
|
75
|
-
"double",
|
|
76
|
-
"else",
|
|
77
|
-
"enum",
|
|
78
|
-
"extern",
|
|
79
|
-
"FALSE",
|
|
80
|
-
"false",
|
|
81
|
-
"float",
|
|
82
|
-
"for",
|
|
83
|
-
"goto",
|
|
84
|
-
"if",
|
|
85
|
-
"in",
|
|
86
|
-
"int",
|
|
87
|
-
"id",
|
|
88
|
-
"inout",
|
|
89
|
-
"IMP",
|
|
90
|
-
"long",
|
|
91
|
-
"nil",
|
|
92
|
-
"nonatomic",
|
|
93
|
-
"NULL",
|
|
94
|
-
"oneway",
|
|
95
|
-
"out",
|
|
96
|
-
"private",
|
|
97
|
-
"public",
|
|
98
|
-
"protected",
|
|
99
|
-
"readwrite",
|
|
100
|
-
"readonly",
|
|
101
|
-
"register",
|
|
102
|
-
"return",
|
|
103
|
-
"SEL",
|
|
104
|
-
"self",
|
|
105
|
-
"short",
|
|
106
|
-
"signed",
|
|
107
|
-
"sizeof",
|
|
108
|
-
"static",
|
|
109
|
-
"struct",
|
|
110
|
-
"super",
|
|
111
|
-
"switch",
|
|
112
|
-
"typedef",
|
|
113
|
-
"TRUE",
|
|
114
|
-
"true",
|
|
115
|
-
"union",
|
|
116
|
-
"unsigned",
|
|
117
|
-
"volatile",
|
|
118
|
-
"void",
|
|
119
|
-
"while"
|
|
120
|
-
],
|
|
121
|
-
decpart: /\d(_?\d)*/,
|
|
122
|
-
decimal: /0|@decpart/,
|
|
123
|
-
tokenizer: {
|
|
124
|
-
root: [
|
|
125
|
-
{ include: "@comments" },
|
|
126
|
-
{ include: "@whitespace" },
|
|
127
|
-
{ include: "@numbers" },
|
|
128
|
-
{ include: "@strings" },
|
|
129
|
-
[/[,:;]/, "delimiter"],
|
|
130
|
-
[/[{}\[\]()<>]/, "@brackets"],
|
|
131
|
-
[
|
|
132
|
-
/[a-zA-Z@#]\w*/,
|
|
133
|
-
{
|
|
134
|
-
cases: {
|
|
135
|
-
"@keywords": "keyword",
|
|
136
|
-
"@default": "identifier"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/, "operator"]
|
|
141
|
-
],
|
|
142
|
-
whitespace: [[/\s+/, "white"]],
|
|
143
|
-
comments: [
|
|
144
|
-
["\\/\\*", "comment", "@comment"],
|
|
145
|
-
["\\/\\/+.*", "comment"]
|
|
146
|
-
],
|
|
147
|
-
comment: [
|
|
148
|
-
["\\*\\/", "comment", "@pop"],
|
|
149
|
-
[".", "comment"]
|
|
150
|
-
],
|
|
151
|
-
numbers: [
|
|
152
|
-
[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/, "number.hex"],
|
|
153
|
-
[
|
|
154
|
-
/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,
|
|
155
|
-
{
|
|
156
|
-
cases: {
|
|
157
|
-
"(\\d)*": "number",
|
|
158
|
-
$0: "number.float"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
]
|
|
162
|
-
],
|
|
163
|
-
// Recognize strings, including those broken across lines with \ (but not without)
|
|
164
|
-
strings: [
|
|
165
|
-
[/'$/, "string.escape", "@popall"],
|
|
166
|
-
[/'/, "string.escape", "@stringBody"],
|
|
167
|
-
[/"$/, "string.escape", "@popall"],
|
|
168
|
-
[/"/, "string.escape", "@dblStringBody"]
|
|
169
|
-
],
|
|
170
|
-
stringBody: [
|
|
171
|
-
[/[^\\']+$/, "string", "@popall"],
|
|
172
|
-
[/[^\\']+/, "string"],
|
|
173
|
-
[/\\./, "string"],
|
|
174
|
-
[/'/, "string.escape", "@popall"],
|
|
175
|
-
[/\\$/, "string"]
|
|
176
|
-
],
|
|
177
|
-
dblStringBody: [
|
|
178
|
-
[/[^\\"]+$/, "string", "@popall"],
|
|
179
|
-
[/[^\\"]+/, "string"],
|
|
180
|
-
[/\\./, "string"],
|
|
181
|
-
[/"/, "string.escape", "@popall"],
|
|
182
|
-
[/\\$/, "string"]
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
export {
|
|
187
|
-
e as conf,
|
|
188
|
-
n as language
|
|
189
|
-
};
|
package/dist/pascal-CeV8XfxB.js
DELETED
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
7
|
-
var e = {
|
|
8
|
-
// the default separators except `@$`
|
|
9
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
10
|
-
comments: {
|
|
11
|
-
lineComment: "//",
|
|
12
|
-
blockComment: ["{", "}"]
|
|
13
|
-
},
|
|
14
|
-
brackets: [
|
|
15
|
-
["{", "}"],
|
|
16
|
-
["[", "]"],
|
|
17
|
-
["(", ")"],
|
|
18
|
-
["<", ">"]
|
|
19
|
-
],
|
|
20
|
-
autoClosingPairs: [
|
|
21
|
-
{ open: "{", close: "}" },
|
|
22
|
-
{ open: "[", close: "]" },
|
|
23
|
-
{ open: "(", close: ")" },
|
|
24
|
-
{ open: "<", close: ">" },
|
|
25
|
-
{ open: "'", close: "'" }
|
|
26
|
-
],
|
|
27
|
-
surroundingPairs: [
|
|
28
|
-
{ open: "{", close: "}" },
|
|
29
|
-
{ open: "[", close: "]" },
|
|
30
|
-
{ open: "(", close: ")" },
|
|
31
|
-
{ open: "<", close: ">" },
|
|
32
|
-
{ open: "'", close: "'" }
|
|
33
|
-
],
|
|
34
|
-
folding: {
|
|
35
|
-
markers: {
|
|
36
|
-
start: new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),
|
|
37
|
-
end: new RegExp("^\\s*\\{\\$ENDREGION\\}")
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}, t = {
|
|
41
|
-
defaultToken: "",
|
|
42
|
-
tokenPostfix: ".pascal",
|
|
43
|
-
ignoreCase: !0,
|
|
44
|
-
brackets: [
|
|
45
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
46
|
-
{ open: "[", close: "]", token: "delimiter.square" },
|
|
47
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
48
|
-
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
49
|
-
],
|
|
50
|
-
keywords: [
|
|
51
|
-
"absolute",
|
|
52
|
-
"abstract",
|
|
53
|
-
"all",
|
|
54
|
-
"and_then",
|
|
55
|
-
"array",
|
|
56
|
-
"as",
|
|
57
|
-
"asm",
|
|
58
|
-
"attribute",
|
|
59
|
-
"begin",
|
|
60
|
-
"bindable",
|
|
61
|
-
"case",
|
|
62
|
-
"class",
|
|
63
|
-
"const",
|
|
64
|
-
"contains",
|
|
65
|
-
"default",
|
|
66
|
-
"div",
|
|
67
|
-
"else",
|
|
68
|
-
"end",
|
|
69
|
-
"except",
|
|
70
|
-
"exports",
|
|
71
|
-
"external",
|
|
72
|
-
"far",
|
|
73
|
-
"file",
|
|
74
|
-
"finalization",
|
|
75
|
-
"finally",
|
|
76
|
-
"forward",
|
|
77
|
-
"generic",
|
|
78
|
-
"goto",
|
|
79
|
-
"if",
|
|
80
|
-
"implements",
|
|
81
|
-
"import",
|
|
82
|
-
"in",
|
|
83
|
-
"index",
|
|
84
|
-
"inherited",
|
|
85
|
-
"initialization",
|
|
86
|
-
"interrupt",
|
|
87
|
-
"is",
|
|
88
|
-
"label",
|
|
89
|
-
"library",
|
|
90
|
-
"mod",
|
|
91
|
-
"module",
|
|
92
|
-
"name",
|
|
93
|
-
"near",
|
|
94
|
-
"not",
|
|
95
|
-
"object",
|
|
96
|
-
"of",
|
|
97
|
-
"on",
|
|
98
|
-
"only",
|
|
99
|
-
"operator",
|
|
100
|
-
"or_else",
|
|
101
|
-
"otherwise",
|
|
102
|
-
"override",
|
|
103
|
-
"package",
|
|
104
|
-
"packed",
|
|
105
|
-
"pow",
|
|
106
|
-
"private",
|
|
107
|
-
"program",
|
|
108
|
-
"protected",
|
|
109
|
-
"public",
|
|
110
|
-
"published",
|
|
111
|
-
"interface",
|
|
112
|
-
"implementation",
|
|
113
|
-
"qualified",
|
|
114
|
-
"read",
|
|
115
|
-
"record",
|
|
116
|
-
"resident",
|
|
117
|
-
"requires",
|
|
118
|
-
"resourcestring",
|
|
119
|
-
"restricted",
|
|
120
|
-
"segment",
|
|
121
|
-
"set",
|
|
122
|
-
"shl",
|
|
123
|
-
"shr",
|
|
124
|
-
"specialize",
|
|
125
|
-
"stored",
|
|
126
|
-
"strict",
|
|
127
|
-
"then",
|
|
128
|
-
"threadvar",
|
|
129
|
-
"to",
|
|
130
|
-
"try",
|
|
131
|
-
"type",
|
|
132
|
-
"unit",
|
|
133
|
-
"uses",
|
|
134
|
-
"var",
|
|
135
|
-
"view",
|
|
136
|
-
"virtual",
|
|
137
|
-
"dynamic",
|
|
138
|
-
"overload",
|
|
139
|
-
"reintroduce",
|
|
140
|
-
"with",
|
|
141
|
-
"write",
|
|
142
|
-
"xor",
|
|
143
|
-
"true",
|
|
144
|
-
"false",
|
|
145
|
-
"procedure",
|
|
146
|
-
"function",
|
|
147
|
-
"constructor",
|
|
148
|
-
"destructor",
|
|
149
|
-
"property",
|
|
150
|
-
"break",
|
|
151
|
-
"continue",
|
|
152
|
-
"exit",
|
|
153
|
-
"abort",
|
|
154
|
-
"while",
|
|
155
|
-
"do",
|
|
156
|
-
"for",
|
|
157
|
-
"raise",
|
|
158
|
-
"repeat",
|
|
159
|
-
"until"
|
|
160
|
-
],
|
|
161
|
-
typeKeywords: [
|
|
162
|
-
"boolean",
|
|
163
|
-
"double",
|
|
164
|
-
"byte",
|
|
165
|
-
"integer",
|
|
166
|
-
"shortint",
|
|
167
|
-
"char",
|
|
168
|
-
"longint",
|
|
169
|
-
"float",
|
|
170
|
-
"string"
|
|
171
|
-
],
|
|
172
|
-
operators: [
|
|
173
|
-
"=",
|
|
174
|
-
">",
|
|
175
|
-
"<",
|
|
176
|
-
"<=",
|
|
177
|
-
">=",
|
|
178
|
-
"<>",
|
|
179
|
-
":",
|
|
180
|
-
":=",
|
|
181
|
-
"and",
|
|
182
|
-
"or",
|
|
183
|
-
"+",
|
|
184
|
-
"-",
|
|
185
|
-
"*",
|
|
186
|
-
"/",
|
|
187
|
-
"@",
|
|
188
|
-
"&",
|
|
189
|
-
"^",
|
|
190
|
-
"%"
|
|
191
|
-
],
|
|
192
|
-
// we include these common regular expressions
|
|
193
|
-
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
194
|
-
// The main tokenizer for our languages
|
|
195
|
-
tokenizer: {
|
|
196
|
-
root: [
|
|
197
|
-
// identifiers and keywords
|
|
198
|
-
[
|
|
199
|
-
/[a-zA-Z_][\w]*/,
|
|
200
|
-
{
|
|
201
|
-
cases: {
|
|
202
|
-
"@keywords": { token: "keyword.$0" },
|
|
203
|
-
"@default": "identifier"
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
|
-
// whitespace
|
|
208
|
-
{ include: "@whitespace" },
|
|
209
|
-
// delimiters and operators
|
|
210
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
211
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
212
|
-
[
|
|
213
|
-
/@symbols/,
|
|
214
|
-
{
|
|
215
|
-
cases: {
|
|
216
|
-
"@operators": "delimiter",
|
|
217
|
-
"@default": ""
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
// numbers
|
|
222
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
223
|
-
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
224
|
-
[/\d+/, "number"],
|
|
225
|
-
// delimiter: after number because of .\d floats
|
|
226
|
-
[/[;,.]/, "delimiter"],
|
|
227
|
-
// strings
|
|
228
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
229
|
-
// non-teminated string
|
|
230
|
-
[/'/, "string", "@string"],
|
|
231
|
-
// characters
|
|
232
|
-
[/'[^\\']'/, "string"],
|
|
233
|
-
[/'/, "string.invalid"],
|
|
234
|
-
[/\#\d+/, "string"]
|
|
235
|
-
],
|
|
236
|
-
comment: [
|
|
237
|
-
[/[^\*\}]+/, "comment"],
|
|
238
|
-
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
239
|
-
[/\}/, "comment", "@pop"],
|
|
240
|
-
[/[\{]/, "comment"]
|
|
241
|
-
],
|
|
242
|
-
string: [
|
|
243
|
-
[/[^\\']+/, "string"],
|
|
244
|
-
[/\\./, "string.escape.invalid"],
|
|
245
|
-
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
246
|
-
],
|
|
247
|
-
whitespace: [
|
|
248
|
-
[/[ \t\r\n]+/, "white"],
|
|
249
|
-
[/\{/, "comment", "@comment"],
|
|
250
|
-
[/\/\/.*$/, "comment"]
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
export {
|
|
255
|
-
e as conf,
|
|
256
|
-
t as language
|
|
257
|
-
};
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
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
|
-
],
|
|
18
|
-
autoClosingPairs: [
|
|
19
|
-
{ open: "{", close: "}" },
|
|
20
|
-
{ open: "[", close: "]" },
|
|
21
|
-
{ open: "(", close: ")" },
|
|
22
|
-
{ open: "<", close: ">" },
|
|
23
|
-
{ open: "'", close: "'" }
|
|
24
|
-
],
|
|
25
|
-
surroundingPairs: [
|
|
26
|
-
{ open: "{", close: "}" },
|
|
27
|
-
{ open: "[", close: "]" },
|
|
28
|
-
{ open: "(", close: ")" },
|
|
29
|
-
{ open: "<", close: ">" },
|
|
30
|
-
{ open: "'", close: "'" }
|
|
31
|
-
]
|
|
32
|
-
}, o = {
|
|
33
|
-
defaultToken: "",
|
|
34
|
-
tokenPostfix: ".pascaligo",
|
|
35
|
-
ignoreCase: !0,
|
|
36
|
-
brackets: [
|
|
37
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
38
|
-
{ open: "[", close: "]", token: "delimiter.square" },
|
|
39
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
40
|
-
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
41
|
-
],
|
|
42
|
-
keywords: [
|
|
43
|
-
"begin",
|
|
44
|
-
"block",
|
|
45
|
-
"case",
|
|
46
|
-
"const",
|
|
47
|
-
"else",
|
|
48
|
-
"end",
|
|
49
|
-
"fail",
|
|
50
|
-
"for",
|
|
51
|
-
"from",
|
|
52
|
-
"function",
|
|
53
|
-
"if",
|
|
54
|
-
"is",
|
|
55
|
-
"nil",
|
|
56
|
-
"of",
|
|
57
|
-
"remove",
|
|
58
|
-
"return",
|
|
59
|
-
"skip",
|
|
60
|
-
"then",
|
|
61
|
-
"type",
|
|
62
|
-
"var",
|
|
63
|
-
"while",
|
|
64
|
-
"with",
|
|
65
|
-
"option",
|
|
66
|
-
"None",
|
|
67
|
-
"transaction"
|
|
68
|
-
],
|
|
69
|
-
typeKeywords: [
|
|
70
|
-
"bool",
|
|
71
|
-
"int",
|
|
72
|
-
"list",
|
|
73
|
-
"map",
|
|
74
|
-
"nat",
|
|
75
|
-
"record",
|
|
76
|
-
"string",
|
|
77
|
-
"unit",
|
|
78
|
-
"address",
|
|
79
|
-
"map",
|
|
80
|
-
"mtz",
|
|
81
|
-
"xtz"
|
|
82
|
-
],
|
|
83
|
-
operators: [
|
|
84
|
-
"=",
|
|
85
|
-
">",
|
|
86
|
-
"<",
|
|
87
|
-
"<=",
|
|
88
|
-
">=",
|
|
89
|
-
"<>",
|
|
90
|
-
":",
|
|
91
|
-
":=",
|
|
92
|
-
"and",
|
|
93
|
-
"mod",
|
|
94
|
-
"or",
|
|
95
|
-
"+",
|
|
96
|
-
"-",
|
|
97
|
-
"*",
|
|
98
|
-
"/",
|
|
99
|
-
"@",
|
|
100
|
-
"&",
|
|
101
|
-
"^",
|
|
102
|
-
"%"
|
|
103
|
-
],
|
|
104
|
-
// we include these common regular expressions
|
|
105
|
-
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
106
|
-
// The main tokenizer for our languages
|
|
107
|
-
tokenizer: {
|
|
108
|
-
root: [
|
|
109
|
-
// identifiers and keywords
|
|
110
|
-
[
|
|
111
|
-
/[a-zA-Z_][\w]*/,
|
|
112
|
-
{
|
|
113
|
-
cases: {
|
|
114
|
-
"@keywords": { token: "keyword.$0" },
|
|
115
|
-
"@default": "identifier"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
// whitespace
|
|
120
|
-
{ include: "@whitespace" },
|
|
121
|
-
// delimiters and operators
|
|
122
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
123
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
124
|
-
[
|
|
125
|
-
/@symbols/,
|
|
126
|
-
{
|
|
127
|
-
cases: {
|
|
128
|
-
"@operators": "delimiter",
|
|
129
|
-
"@default": ""
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
// numbers
|
|
134
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
135
|
-
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
136
|
-
[/\d+/, "number"],
|
|
137
|
-
// delimiter: after number because of .\d floats
|
|
138
|
-
[/[;,.]/, "delimiter"],
|
|
139
|
-
// strings
|
|
140
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
141
|
-
// non-teminated string
|
|
142
|
-
[/'/, "string", "@string"],
|
|
143
|
-
// characters
|
|
144
|
-
[/'[^\\']'/, "string"],
|
|
145
|
-
[/'/, "string.invalid"],
|
|
146
|
-
[/\#\d+/, "string"]
|
|
147
|
-
],
|
|
148
|
-
/* */
|
|
149
|
-
comment: [
|
|
150
|
-
[/[^\(\*]+/, "comment"],
|
|
151
|
-
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
152
|
-
[/\*\)/, "comment", "@pop"],
|
|
153
|
-
[/\(\*/, "comment"]
|
|
154
|
-
],
|
|
155
|
-
string: [
|
|
156
|
-
[/[^\\']+/, "string"],
|
|
157
|
-
[/\\./, "string.escape.invalid"],
|
|
158
|
-
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
159
|
-
],
|
|
160
|
-
whitespace: [
|
|
161
|
-
[/[ \t\r\n]+/, "white"],
|
|
162
|
-
[/\(\*/, "comment", "@comment"],
|
|
163
|
-
[/\/\/.*$/, "comment"]
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
export {
|
|
168
|
-
e as conf,
|
|
169
|
-
o as language
|
|
170
|
-
};
|