monacozen 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
- package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
- package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
- package/assets/antimono-400-b0f584bd.woff2 +0 -0
- package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
- package/assets/antimono-700-2072e038.woff2 +0 -0
- package/assets/antimono-700-italic-78952312.woff2 +0 -0
- package/assets/antimono-XFdMCgZb.js +2 -0
- package/assets/antimono-zBXMptjq.css +1 -1
- package/assets/bat-DkMb6tS9.js +1 -0
- package/assets/bicep-gz7oXw8V.js +2 -0
- package/assets/clojure-BeArCv4U.js +1 -0
- package/assets/codicon-77f90255.ttf +0 -0
- package/assets/coffee-hLOn_V5A.js +1 -0
- package/assets/cpp-DxRo2s7O.js +1 -0
- package/assets/csharp-C1LINnKt.js +1 -0
- package/assets/css-1Eg8GPA8.js +3 -0
- package/assets/cypher-Ca1JvSwk.js +1 -0
- package/assets/dart-Bje7CIuI.js +1 -0
- package/assets/dist-DiJdi6br.js +11 -0
- package/assets/dockerfile-DZFCIeNp.js +1 -0
- package/assets/editor.api-ClTSSybg.js +912 -0
- package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
- package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
- package/assets/elixir-6RTg0lbw.js +1 -0
- package/assets/fsharp-p7RecL-a.js +1 -0
- package/assets/go-B21Jr2Lc.js +1 -0
- package/assets/graphql-fmXr3nnJ.js +1 -0
- package/assets/handlebars-CyuWwLhs.js +1 -0
- package/assets/hcl-CpzslTdj.js +1 -0
- package/assets/html-D-6ViuBT.js +1 -0
- package/assets/ini-sBoK_t0W.js +1 -0
- package/assets/java-ByyLeZXC.js +1 -0
- package/assets/javascript-Cs-KDyqn.js +1 -0
- package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
- package/assets/json.worker-D4KZT3k0.js +1 -0
- package/assets/jsonMode-CgXNHhiW.js +12 -0
- package/assets/julia-BNQOXozl.js +1 -0
- package/assets/kotlin-fjNqnENY.js +1 -0
- package/assets/less-B9-X_OHM.js +2 -0
- package/assets/liquid-Co_Rw9yK.js +1 -0
- package/assets/lua-CsQS60Ue.js +1 -0
- package/assets/main-DhJSBJDT.js +1 -0
- package/assets/main-HAVFq1WZ.js +1 -0
- package/assets/main-e2I2uRcQ.js +1 -0
- package/assets/markdown-D9M8UCDQ.js +1 -0
- package/assets/mdx-QikHivq4.js +1 -0
- package/assets/mips-DwkTBQD5.js +1 -0
- package/assets/monaco-9bd99409.css +3 -0
- package/assets/monaco-BPDUy015.js +59 -0
- package/assets/mysql-B9tHR_c9.js +1 -0
- package/assets/objective-c-Csug38Zp.js +1 -0
- package/assets/pascal-BruRBdsr.js +1 -0
- package/assets/perl-Dql_Egn0.js +1 -0
- package/assets/pgsql-DI4tfWYt.js +1 -0
- package/assets/php-DjHJy6xV.js +1 -0
- package/assets/powershell-DOR_yACD.js +1 -0
- package/assets/protobuf-B6qBET1H.js +2 -0
- package/assets/pug-BC7GTg9W.js +1 -0
- package/assets/python-ywrvpsv-.js +1 -0
- package/assets/r-B-J1yMT1.js +1 -0
- package/assets/redis-DZRGuxk2.js +1 -0
- package/assets/ruby-aklVn8qB.js +1 -0
- package/assets/rust-nh76nEti.js +1 -0
- package/assets/scala-BvnaqAb1.js +1 -0
- package/assets/scss-9xZSuRET.js +3 -0
- package/assets/shell-BOwo4WfX.js +1 -0
- package/assets/solidity-hGP85dDs.js +1 -0
- package/assets/sql-CIrXk7iQ.js +1 -0
- package/assets/swift-B0ETVgO9.js +1 -0
- package/assets/systemverilog-C0rJIDsQ.js +1 -0
- package/assets/twig-B_taSrVf.js +1 -0
- package/assets/typescript-pjjiBLxk.js +1 -0
- package/assets/typespec-uhVOI7Qs.js +1 -0
- package/assets/vb-4iFT4G4y.js +1 -0
- package/assets/wgsl-DpFanUEy.js +298 -0
- package/assets/xml-CuyY6WsM.js +1 -0
- package/assets/yaml-BDf1vVDq.js +1 -0
- package/assets/yaml.worker-D0QDX0Zj.js +1 -0
- package/assets/yaml.worker-DD5NU0Ed.js +431 -0
- package/package.json +1 -1
- package/src/main.js +19 -19
- package/assets/antimono-ClsI0fxy.js +0 -5
- package/assets/bat-CAz1OfAu.js +0 -125
- package/assets/bicep-B6UDBWZN.js +0 -220
- package/assets/clojure-BmcSQAck.js +0 -148
- package/assets/coffee-BjQKeqpj.js +0 -262
- package/assets/cpp-SbfDT5PL.js +0 -232
- package/assets/csharp-DIgVBsD4.js +0 -262
- package/assets/css-CyL9hcFb.js +0 -286
- package/assets/css.worker-BIsSvM_Q.js +0 -96
- package/assets/css.worker-ZGAWMrD5.js +0 -6
- package/assets/cssMode-CJXOwqou.js +0 -65
- package/assets/cypher-CFQunzEa.js +0 -214
- package/assets/dart-DeIsDVRt.js +0 -238
- package/assets/dist-Bx9hOuoB.js +0 -624
- package/assets/dockerfile-Yk3LuDQk.js +0 -193
- package/assets/editor.api-BzOtwRIu.js +0 -85776
- package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
- package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
- package/assets/elixir-y_NY5k67.js +0 -525
- package/assets/fsharp-DdRbc-sH.js +0 -149
- package/assets/go-D7w79i6g.js +0 -167
- package/assets/graphql-BsDuKp-c.js +0 -176
- package/assets/handlebars-CBxzRnT2.js +0 -412
- package/assets/hcl-CXnaLDBx.js +0 -221
- package/assets/html-2O_gNlhN.js +0 -333
- package/assets/html.worker-CEvqvEpu.js +0 -509
- package/assets/html.worker-CjDeE2MB.js +0 -6
- package/assets/htmlMode-DXEYjoJO.js +0 -74
- package/assets/ini-DAoNsTkV.js +0 -96
- package/assets/java-Cp0vrvO9.js +0 -175
- package/assets/javascript-b4MphFng.js +0 -20
- package/assets/json.worker-C4u3dDHp.js +0 -6
- package/assets/jsonMode-CJ6m-6ix.js +0 -450
- package/assets/julia-CVutXSdh.js +0 -416
- package/assets/kotlin-DYeWZuUb.js +0 -184
- package/assets/less-INmgXeDn.js +0 -244
- package/assets/liquid-vTiq1Xyj.js +0 -199
- package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
- package/assets/lua-COF3XwLj.js +0 -202
- package/assets/main-16cPxgwS.js +0 -107
- package/assets/main-CB71Lf5W.js +0 -129
- package/assets/main-HEYSEiwe.js +0 -66
- package/assets/markdown-CCGC2kAW.js +0 -264
- package/assets/mdx-CDmJWd6e.js +0 -329
- package/assets/mips-ll8pdQLQ.js +0 -130
- package/assets/monaco-d37b1a8f.css +0 -3
- package/assets/monaco-eCLjoH9K.js +0 -40922
- package/assets/mysql-CnCmYLcK.js +0 -170
- package/assets/objective-c-D-xZGaTr.js +0 -146
- package/assets/pascal-CKVRL3bp.js +0 -178
- package/assets/perl-DqL2sfnN.js +0 -318
- package/assets/pgsql-BpvbArh-.js +0 -160
- package/assets/php-BbqlrNqC.js +0 -473
- package/assets/powershell-0oEoSDwW.js +0 -213
- package/assets/protobuf-DlOMtU4U.js +0 -661
- package/assets/pug-CTxaaQKP.js +0 -302
- package/assets/python-H0euVUAi.js +0 -254
- package/assets/r-DF_g8_2l.js +0 -191
- package/assets/redis-B09Z6nB5.js +0 -125
- package/assets/ruby-CWBObvDC.js +0 -529
- package/assets/rust-DdLDSWVK.js +0 -180
- package/assets/scala-Bg3GaqPc.js +0 -553
- package/assets/scss-D-qk8UVY.js +0 -419
- package/assets/shell-CpVOERQd.js +0 -225
- package/assets/solidity-CVmhJ22u.js +0 -149
- package/assets/sql-DHvzW7ba.js +0 -173
- package/assets/swift-DIkzszb_.js +0 -215
- package/assets/systemverilog-T3rz_k7V.js +0 -300
- package/assets/ts.worker-BydNuElr.js +0 -6
- package/assets/ts.worker-DZhhT1EO.js +0 -67741
- package/assets/tsMode-x1GCvxZU.js +0 -566
- package/assets/twig-CWOr6DII.js +0 -390
- package/assets/typescript-DGfbroT9.js +0 -257
- package/assets/typespec-4ubJw-FV.js +0 -236
- package/assets/vb-SSAHHOVh.js +0 -262
- package/assets/wgsl-hf5cqFtC.js +0 -147
- package/assets/xml-Bz6VGB5E.js +0 -130
- package/assets/yaml-D00PSO5v.js +0 -223
- package/assets/yaml.worker-DzOKX3TP.js +0 -474
- package/assets/yaml.worker-Y0uWi-gi.js +0 -6
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
//#region node_modules/monaco-editor/esm/vs/languages/definitions/elixir/elixir.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: { lineComment: "#" },
|
|
4
|
-
brackets: [
|
|
5
|
-
["{", "}"],
|
|
6
|
-
["[", "]"],
|
|
7
|
-
["(", ")"]
|
|
8
|
-
],
|
|
9
|
-
surroundingPairs: [
|
|
10
|
-
{
|
|
11
|
-
open: "{",
|
|
12
|
-
close: "}"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
open: "[",
|
|
16
|
-
close: "]"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
open: "(",
|
|
20
|
-
close: ")"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
open: "'",
|
|
24
|
-
close: "'"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
open: "\"",
|
|
28
|
-
close: "\""
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
autoClosingPairs: [
|
|
32
|
-
{
|
|
33
|
-
open: "'",
|
|
34
|
-
close: "'",
|
|
35
|
-
notIn: ["string", "comment"]
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
open: "\"",
|
|
39
|
-
close: "\"",
|
|
40
|
-
notIn: ["comment"]
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
open: "\"\"\"",
|
|
44
|
-
close: "\"\"\""
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
open: "`",
|
|
48
|
-
close: "`",
|
|
49
|
-
notIn: ["string", "comment"]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
open: "(",
|
|
53
|
-
close: ")"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
open: "{",
|
|
57
|
-
close: "}"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
open: "[",
|
|
61
|
-
close: "]"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
open: "<<",
|
|
65
|
-
close: ">>"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
indentationRules: {
|
|
69
|
-
increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
|
|
70
|
-
decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
|
|
71
|
-
}
|
|
72
|
-
}, t = {
|
|
73
|
-
defaultToken: "source",
|
|
74
|
-
tokenPostfix: ".elixir",
|
|
75
|
-
brackets: [
|
|
76
|
-
{
|
|
77
|
-
open: "[",
|
|
78
|
-
close: "]",
|
|
79
|
-
token: "delimiter.square"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
open: "(",
|
|
83
|
-
close: ")",
|
|
84
|
-
token: "delimiter.parenthesis"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
open: "{",
|
|
88
|
-
close: "}",
|
|
89
|
-
token: "delimiter.curly"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
open: "<<",
|
|
93
|
-
close: ">>",
|
|
94
|
-
token: "delimiter.angle.special"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
declarationKeywords: [
|
|
98
|
-
"def",
|
|
99
|
-
"defp",
|
|
100
|
-
"defn",
|
|
101
|
-
"defnp",
|
|
102
|
-
"defguard",
|
|
103
|
-
"defguardp",
|
|
104
|
-
"defmacro",
|
|
105
|
-
"defmacrop",
|
|
106
|
-
"defdelegate",
|
|
107
|
-
"defcallback",
|
|
108
|
-
"defmacrocallback",
|
|
109
|
-
"defmodule",
|
|
110
|
-
"defprotocol",
|
|
111
|
-
"defexception",
|
|
112
|
-
"defimpl",
|
|
113
|
-
"defstruct"
|
|
114
|
-
],
|
|
115
|
-
operatorKeywords: [
|
|
116
|
-
"and",
|
|
117
|
-
"in",
|
|
118
|
-
"not",
|
|
119
|
-
"or",
|
|
120
|
-
"when"
|
|
121
|
-
],
|
|
122
|
-
namespaceKeywords: [
|
|
123
|
-
"alias",
|
|
124
|
-
"import",
|
|
125
|
-
"require",
|
|
126
|
-
"use"
|
|
127
|
-
],
|
|
128
|
-
otherKeywords: [
|
|
129
|
-
"after",
|
|
130
|
-
"case",
|
|
131
|
-
"catch",
|
|
132
|
-
"cond",
|
|
133
|
-
"do",
|
|
134
|
-
"else",
|
|
135
|
-
"end",
|
|
136
|
-
"fn",
|
|
137
|
-
"for",
|
|
138
|
-
"if",
|
|
139
|
-
"quote",
|
|
140
|
-
"raise",
|
|
141
|
-
"receive",
|
|
142
|
-
"rescue",
|
|
143
|
-
"super",
|
|
144
|
-
"throw",
|
|
145
|
-
"try",
|
|
146
|
-
"unless",
|
|
147
|
-
"unquote_splicing",
|
|
148
|
-
"unquote",
|
|
149
|
-
"with"
|
|
150
|
-
],
|
|
151
|
-
constants: [
|
|
152
|
-
"true",
|
|
153
|
-
"false",
|
|
154
|
-
"nil"
|
|
155
|
-
],
|
|
156
|
-
nameBuiltin: [
|
|
157
|
-
"__MODULE__",
|
|
158
|
-
"__DIR__",
|
|
159
|
-
"__ENV__",
|
|
160
|
-
"__CALLER__",
|
|
161
|
-
"__STACKTRACE__"
|
|
162
|
-
],
|
|
163
|
-
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
|
164
|
-
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
|
165
|
-
atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
|
|
166
|
-
specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
|
|
167
|
-
aliasPart: /[A-Z][a-zA-Z0-9_]*/,
|
|
168
|
-
moduleName: /@aliasPart(?:\.@aliasPart)*/,
|
|
169
|
-
sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
|
|
170
|
-
sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
|
|
171
|
-
sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
|
|
172
|
-
sigilModifiers: /[a-zA-Z0-9]*/,
|
|
173
|
-
decimal: /\d(?:_?\d)*/,
|
|
174
|
-
hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
|
|
175
|
-
octal: /[0-7](_?[0-7])*/,
|
|
176
|
-
binary: /[01](_?[01])*/,
|
|
177
|
-
escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
|
|
178
|
-
tokenizer: {
|
|
179
|
-
root: [
|
|
180
|
-
{ include: "@whitespace" },
|
|
181
|
-
{ include: "@comments" },
|
|
182
|
-
{ include: "@keywordsShorthand" },
|
|
183
|
-
{ include: "@numbers" },
|
|
184
|
-
{ include: "@identifiers" },
|
|
185
|
-
{ include: "@strings" },
|
|
186
|
-
{ include: "@atoms" },
|
|
187
|
-
{ include: "@sigils" },
|
|
188
|
-
{ include: "@attributes" },
|
|
189
|
-
{ include: "@symbols" }
|
|
190
|
-
],
|
|
191
|
-
whitespace: [[/\s+/, "white"]],
|
|
192
|
-
comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
|
|
193
|
-
keywordsShorthand: [
|
|
194
|
-
[/(@atomName)(:)(\s+)/, [
|
|
195
|
-
"constant",
|
|
196
|
-
"constant.punctuation",
|
|
197
|
-
"white"
|
|
198
|
-
]],
|
|
199
|
-
[/"(?=([^"]|#\{.*?\}|\\")*":)/, {
|
|
200
|
-
token: "constant.delimiter",
|
|
201
|
-
next: "@doubleQuotedStringKeyword"
|
|
202
|
-
}],
|
|
203
|
-
[/'(?=([^']|#\{.*?\}|\\')*':)/, {
|
|
204
|
-
token: "constant.delimiter",
|
|
205
|
-
next: "@singleQuotedStringKeyword"
|
|
206
|
-
}]
|
|
207
|
-
],
|
|
208
|
-
doubleQuotedStringKeyword: [[/":/, {
|
|
209
|
-
token: "constant.delimiter",
|
|
210
|
-
next: "@pop"
|
|
211
|
-
}], { include: "@stringConstantContentInterpol" }],
|
|
212
|
-
singleQuotedStringKeyword: [[/':/, {
|
|
213
|
-
token: "constant.delimiter",
|
|
214
|
-
next: "@pop"
|
|
215
|
-
}], { include: "@stringConstantContentInterpol" }],
|
|
216
|
-
numbers: [
|
|
217
|
-
[/0b@binary/, "number.binary"],
|
|
218
|
-
[/0o@octal/, "number.octal"],
|
|
219
|
-
[/0x@hex/, "number.hex"],
|
|
220
|
-
[/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
|
|
221
|
-
[/@decimal/, "number"]
|
|
222
|
-
],
|
|
223
|
-
identifiers: [
|
|
224
|
-
[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/, [
|
|
225
|
-
"keyword.declaration",
|
|
226
|
-
"white",
|
|
227
|
-
{ cases: {
|
|
228
|
-
unquote: "keyword",
|
|
229
|
-
"@default": "function"
|
|
230
|
-
} }
|
|
231
|
-
]],
|
|
232
|
-
[/(@variableName)(?=\s*\.?\s*\()/, { cases: {
|
|
233
|
-
"@declarationKeywords": "keyword.declaration",
|
|
234
|
-
"@namespaceKeywords": "keyword",
|
|
235
|
-
"@otherKeywords": "keyword",
|
|
236
|
-
"@default": "function.call"
|
|
237
|
-
} }],
|
|
238
|
-
[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/, [
|
|
239
|
-
"type.identifier",
|
|
240
|
-
"white",
|
|
241
|
-
"operator",
|
|
242
|
-
"white",
|
|
243
|
-
"function.call"
|
|
244
|
-
]],
|
|
245
|
-
[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/, [
|
|
246
|
-
"constant.punctuation",
|
|
247
|
-
"constant",
|
|
248
|
-
"white",
|
|
249
|
-
"operator",
|
|
250
|
-
"white",
|
|
251
|
-
"function.call"
|
|
252
|
-
]],
|
|
253
|
-
[/(\|>)(\s*)(@variableName)/, [
|
|
254
|
-
"operator",
|
|
255
|
-
"white",
|
|
256
|
-
{ cases: {
|
|
257
|
-
"@otherKeywords": "keyword",
|
|
258
|
-
"@default": "function.call"
|
|
259
|
-
} }
|
|
260
|
-
]],
|
|
261
|
-
[/(&)(\s*)(@variableName)/, [
|
|
262
|
-
"operator",
|
|
263
|
-
"white",
|
|
264
|
-
"function.call"
|
|
265
|
-
]],
|
|
266
|
-
[/@variableName/, { cases: {
|
|
267
|
-
"@declarationKeywords": "keyword.declaration",
|
|
268
|
-
"@operatorKeywords": "keyword.operator",
|
|
269
|
-
"@namespaceKeywords": "keyword",
|
|
270
|
-
"@otherKeywords": "keyword",
|
|
271
|
-
"@constants": "constant.language",
|
|
272
|
-
"@nameBuiltin": "variable.language",
|
|
273
|
-
"_.*": "comment.unused",
|
|
274
|
-
"@default": "identifier"
|
|
275
|
-
} }],
|
|
276
|
-
[/@moduleName/, "type.identifier"]
|
|
277
|
-
],
|
|
278
|
-
strings: [
|
|
279
|
-
[/"""/, {
|
|
280
|
-
token: "string.delimiter",
|
|
281
|
-
next: "@doubleQuotedHeredoc"
|
|
282
|
-
}],
|
|
283
|
-
[/'''/, {
|
|
284
|
-
token: "string.delimiter",
|
|
285
|
-
next: "@singleQuotedHeredoc"
|
|
286
|
-
}],
|
|
287
|
-
[/"/, {
|
|
288
|
-
token: "string.delimiter",
|
|
289
|
-
next: "@doubleQuotedString"
|
|
290
|
-
}],
|
|
291
|
-
[/'/, {
|
|
292
|
-
token: "string.delimiter",
|
|
293
|
-
next: "@singleQuotedString"
|
|
294
|
-
}]
|
|
295
|
-
],
|
|
296
|
-
doubleQuotedHeredoc: [[/"""/, {
|
|
297
|
-
token: "string.delimiter",
|
|
298
|
-
next: "@pop"
|
|
299
|
-
}], { include: "@stringContentInterpol" }],
|
|
300
|
-
singleQuotedHeredoc: [[/'''/, {
|
|
301
|
-
token: "string.delimiter",
|
|
302
|
-
next: "@pop"
|
|
303
|
-
}], { include: "@stringContentInterpol" }],
|
|
304
|
-
doubleQuotedString: [[/"/, {
|
|
305
|
-
token: "string.delimiter",
|
|
306
|
-
next: "@pop"
|
|
307
|
-
}], { include: "@stringContentInterpol" }],
|
|
308
|
-
singleQuotedString: [[/'/, {
|
|
309
|
-
token: "string.delimiter",
|
|
310
|
-
next: "@pop"
|
|
311
|
-
}], { include: "@stringContentInterpol" }],
|
|
312
|
-
atoms: [
|
|
313
|
-
[/(:)(@atomName)/, ["constant.punctuation", "constant"]],
|
|
314
|
-
[/:"/, {
|
|
315
|
-
token: "constant.delimiter",
|
|
316
|
-
next: "@doubleQuotedStringAtom"
|
|
317
|
-
}],
|
|
318
|
-
[/:'/, {
|
|
319
|
-
token: "constant.delimiter",
|
|
320
|
-
next: "@singleQuotedStringAtom"
|
|
321
|
-
}]
|
|
322
|
-
],
|
|
323
|
-
doubleQuotedStringAtom: [[/"/, {
|
|
324
|
-
token: "constant.delimiter",
|
|
325
|
-
next: "@pop"
|
|
326
|
-
}], { include: "@stringConstantContentInterpol" }],
|
|
327
|
-
singleQuotedStringAtom: [[/'/, {
|
|
328
|
-
token: "constant.delimiter",
|
|
329
|
-
next: "@pop"
|
|
330
|
-
}], { include: "@stringConstantContentInterpol" }],
|
|
331
|
-
sigils: [[/~[a-z]@sigilStartDelimiter/, {
|
|
332
|
-
token: "@rematch",
|
|
333
|
-
next: "@sigil.interpol"
|
|
334
|
-
}], [/~([A-Z]+)@sigilStartDelimiter/, {
|
|
335
|
-
token: "@rematch",
|
|
336
|
-
next: "@sigil.noInterpol"
|
|
337
|
-
}]],
|
|
338
|
-
sigil: [
|
|
339
|
-
[/~([a-z]|[A-Z]+)\{/, {
|
|
340
|
-
token: "@rematch",
|
|
341
|
-
switchTo: "@sigilStart.$S2.$1.{.}"
|
|
342
|
-
}],
|
|
343
|
-
[/~([a-z]|[A-Z]+)\[/, {
|
|
344
|
-
token: "@rematch",
|
|
345
|
-
switchTo: "@sigilStart.$S2.$1.[.]"
|
|
346
|
-
}],
|
|
347
|
-
[/~([a-z]|[A-Z]+)\(/, {
|
|
348
|
-
token: "@rematch",
|
|
349
|
-
switchTo: "@sigilStart.$S2.$1.(.)"
|
|
350
|
-
}],
|
|
351
|
-
[/~([a-z]|[A-Z]+)\</, {
|
|
352
|
-
token: "@rematch",
|
|
353
|
-
switchTo: "@sigilStart.$S2.$1.<.>"
|
|
354
|
-
}],
|
|
355
|
-
[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/, {
|
|
356
|
-
token: "@rematch",
|
|
357
|
-
switchTo: "@sigilStart.$S2.$1.$2.$2"
|
|
358
|
-
}]
|
|
359
|
-
],
|
|
360
|
-
"sigilStart.interpol.s": [[/~s@sigilStartDelimiter/, {
|
|
361
|
-
token: "string.delimiter",
|
|
362
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
363
|
-
}]],
|
|
364
|
-
"sigilContinue.interpol.s": [[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
365
|
-
"$1==$S5": {
|
|
366
|
-
token: "string.delimiter",
|
|
367
|
-
next: "@pop"
|
|
368
|
-
},
|
|
369
|
-
"@default": "string"
|
|
370
|
-
} }], { include: "@stringContentInterpol" }],
|
|
371
|
-
"sigilStart.noInterpol.S": [[/~S@sigilStartDelimiter/, {
|
|
372
|
-
token: "string.delimiter",
|
|
373
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
374
|
-
}]],
|
|
375
|
-
"sigilContinue.noInterpol.S": [
|
|
376
|
-
[/(^|[^\\])\\@sigilEndDelimiter/, "string"],
|
|
377
|
-
[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
378
|
-
"$1==$S5": {
|
|
379
|
-
token: "string.delimiter",
|
|
380
|
-
next: "@pop"
|
|
381
|
-
},
|
|
382
|
-
"@default": "string"
|
|
383
|
-
} }],
|
|
384
|
-
{ include: "@stringContent" }
|
|
385
|
-
],
|
|
386
|
-
"sigilStart.interpol.r": [[/~r@sigilStartDelimiter/, {
|
|
387
|
-
token: "regexp.delimiter",
|
|
388
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
389
|
-
}]],
|
|
390
|
-
"sigilContinue.interpol.r": [[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
391
|
-
"$1==$S5": {
|
|
392
|
-
token: "regexp.delimiter",
|
|
393
|
-
next: "@pop"
|
|
394
|
-
},
|
|
395
|
-
"@default": "regexp"
|
|
396
|
-
} }], { include: "@regexpContentInterpol" }],
|
|
397
|
-
"sigilStart.noInterpol.R": [[/~R@sigilStartDelimiter/, {
|
|
398
|
-
token: "regexp.delimiter",
|
|
399
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
400
|
-
}]],
|
|
401
|
-
"sigilContinue.noInterpol.R": [
|
|
402
|
-
[/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
|
|
403
|
-
[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
404
|
-
"$1==$S5": {
|
|
405
|
-
token: "regexp.delimiter",
|
|
406
|
-
next: "@pop"
|
|
407
|
-
},
|
|
408
|
-
"@default": "regexp"
|
|
409
|
-
} }],
|
|
410
|
-
{ include: "@regexpContent" }
|
|
411
|
-
],
|
|
412
|
-
"sigilStart.interpol": [[/~([a-z]|[A-Z]+)@sigilStartDelimiter/, {
|
|
413
|
-
token: "sigil.delimiter",
|
|
414
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
415
|
-
}]],
|
|
416
|
-
"sigilContinue.interpol": [[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
417
|
-
"$1==$S5": {
|
|
418
|
-
token: "sigil.delimiter",
|
|
419
|
-
next: "@pop"
|
|
420
|
-
},
|
|
421
|
-
"@default": "sigil"
|
|
422
|
-
} }], { include: "@sigilContentInterpol" }],
|
|
423
|
-
"sigilStart.noInterpol": [[/~([a-z]|[A-Z]+)@sigilStartDelimiter/, {
|
|
424
|
-
token: "sigil.delimiter",
|
|
425
|
-
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
426
|
-
}]],
|
|
427
|
-
"sigilContinue.noInterpol": [
|
|
428
|
-
[/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
|
|
429
|
-
[/(@sigilEndDelimiter)@sigilModifiers/, { cases: {
|
|
430
|
-
"$1==$S5": {
|
|
431
|
-
token: "sigil.delimiter",
|
|
432
|
-
next: "@pop"
|
|
433
|
-
},
|
|
434
|
-
"@default": "sigil"
|
|
435
|
-
} }],
|
|
436
|
-
{ include: "@sigilContent" }
|
|
437
|
-
],
|
|
438
|
-
attributes: [
|
|
439
|
-
[/\@(module|type)?doc (~[sS])?"""/, {
|
|
440
|
-
token: "comment.block.documentation",
|
|
441
|
-
next: "@doubleQuotedHeredocDocstring"
|
|
442
|
-
}],
|
|
443
|
-
[/\@(module|type)?doc (~[sS])?'''/, {
|
|
444
|
-
token: "comment.block.documentation",
|
|
445
|
-
next: "@singleQuotedHeredocDocstring"
|
|
446
|
-
}],
|
|
447
|
-
[/\@(module|type)?doc (~[sS])?"/, {
|
|
448
|
-
token: "comment.block.documentation",
|
|
449
|
-
next: "@doubleQuotedStringDocstring"
|
|
450
|
-
}],
|
|
451
|
-
[/\@(module|type)?doc (~[sS])?'/, {
|
|
452
|
-
token: "comment.block.documentation",
|
|
453
|
-
next: "@singleQuotedStringDocstring"
|
|
454
|
-
}],
|
|
455
|
-
[/\@(module|type)?doc false/, "comment.block.documentation"],
|
|
456
|
-
[/\@(@variableName)/, "variable"]
|
|
457
|
-
],
|
|
458
|
-
doubleQuotedHeredocDocstring: [[/"""/, {
|
|
459
|
-
token: "comment.block.documentation",
|
|
460
|
-
next: "@pop"
|
|
461
|
-
}], { include: "@docstringContent" }],
|
|
462
|
-
singleQuotedHeredocDocstring: [[/'''/, {
|
|
463
|
-
token: "comment.block.documentation",
|
|
464
|
-
next: "@pop"
|
|
465
|
-
}], { include: "@docstringContent" }],
|
|
466
|
-
doubleQuotedStringDocstring: [[/"/, {
|
|
467
|
-
token: "comment.block.documentation",
|
|
468
|
-
next: "@pop"
|
|
469
|
-
}], { include: "@docstringContent" }],
|
|
470
|
-
singleQuotedStringDocstring: [[/'/, {
|
|
471
|
-
token: "comment.block.documentation",
|
|
472
|
-
next: "@pop"
|
|
473
|
-
}], { include: "@docstringContent" }],
|
|
474
|
-
symbols: [
|
|
475
|
-
[/\?(\\.|[^\\\s])/, "number.constant"],
|
|
476
|
-
[/&\d+/, "operator"],
|
|
477
|
-
[/<<<|>>>/, "operator"],
|
|
478
|
-
[/[()\[\]\{\}]|<<|>>/, "@brackets"],
|
|
479
|
-
[/\.\.\./, "identifier"],
|
|
480
|
-
[/=>/, "punctuation"],
|
|
481
|
-
[/@operator/, "operator"],
|
|
482
|
-
[/[:;,.%]/, "punctuation"]
|
|
483
|
-
],
|
|
484
|
-
stringContentInterpol: [
|
|
485
|
-
{ include: "@interpolation" },
|
|
486
|
-
{ include: "@escapeChar" },
|
|
487
|
-
{ include: "@stringContent" }
|
|
488
|
-
],
|
|
489
|
-
stringContent: [[/./, "string"]],
|
|
490
|
-
stringConstantContentInterpol: [
|
|
491
|
-
{ include: "@interpolation" },
|
|
492
|
-
{ include: "@escapeChar" },
|
|
493
|
-
{ include: "@stringConstantContent" }
|
|
494
|
-
],
|
|
495
|
-
stringConstantContent: [[/./, "constant"]],
|
|
496
|
-
regexpContentInterpol: [
|
|
497
|
-
{ include: "@interpolation" },
|
|
498
|
-
{ include: "@escapeChar" },
|
|
499
|
-
{ include: "@regexpContent" }
|
|
500
|
-
],
|
|
501
|
-
regexpContent: [[/(\s)(#)(\s.*)$/, [
|
|
502
|
-
"white",
|
|
503
|
-
"comment.punctuation",
|
|
504
|
-
"comment"
|
|
505
|
-
]], [/./, "regexp"]],
|
|
506
|
-
sigilContentInterpol: [
|
|
507
|
-
{ include: "@interpolation" },
|
|
508
|
-
{ include: "@escapeChar" },
|
|
509
|
-
{ include: "@sigilContent" }
|
|
510
|
-
],
|
|
511
|
-
sigilContent: [[/./, "sigil"]],
|
|
512
|
-
docstringContent: [[/./, "comment.block.documentation"]],
|
|
513
|
-
escapeChar: [[/@escape/, "constant.character.escape"]],
|
|
514
|
-
interpolation: [[/#{/, {
|
|
515
|
-
token: "delimiter.bracket.embed",
|
|
516
|
-
next: "@interpolationContinue"
|
|
517
|
-
}]],
|
|
518
|
-
interpolationContinue: [[/}/, {
|
|
519
|
-
token: "delimiter.bracket.embed",
|
|
520
|
-
next: "@pop"
|
|
521
|
-
}], { include: "@root" }]
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
//#endregion
|
|
525
|
-
export { e as conf, t as language };
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
//#region node_modules/monaco-editor/esm/vs/languages/definitions/fsharp/fsharp.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: {
|
|
4
|
-
lineComment: "//",
|
|
5
|
-
blockComment: ["(*", "*)"]
|
|
6
|
-
},
|
|
7
|
-
brackets: [
|
|
8
|
-
["{", "}"],
|
|
9
|
-
["[", "]"],
|
|
10
|
-
["(", ")"]
|
|
11
|
-
],
|
|
12
|
-
autoClosingPairs: [
|
|
13
|
-
{
|
|
14
|
-
open: "{",
|
|
15
|
-
close: "}"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
open: "[",
|
|
19
|
-
close: "]"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
open: "(",
|
|
23
|
-
close: ")"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
open: "\"",
|
|
27
|
-
close: "\""
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
surroundingPairs: [
|
|
31
|
-
{
|
|
32
|
-
open: "{",
|
|
33
|
-
close: "}"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
open: "[",
|
|
37
|
-
close: "]"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
open: "(",
|
|
41
|
-
close: ")"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
open: "\"",
|
|
45
|
-
close: "\""
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
open: "'",
|
|
49
|
-
close: "'"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
folding: { markers: {
|
|
53
|
-
start: /* @__PURE__ */ RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),
|
|
54
|
-
end: /* @__PURE__ */ RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")
|
|
55
|
-
} }
|
|
56
|
-
}, t = {
|
|
57
|
-
defaultToken: "",
|
|
58
|
-
tokenPostfix: ".fs",
|
|
59
|
-
keywords: /* @__PURE__ */ "abstract.and.atomic.as.assert.asr.base.begin.break.checked.component.const.constraint.constructor.continue.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.eager.event.external.extern.false.finally.for.fun.function.fixed.functor.global.if.in.include.inherit.inline.interface.internal.land.lor.lsl.lsr.lxor.lazy.let.match.member.mod.module.mutable.namespace.method.mixin.new.not.null.of.open.or.object.override.private.parallel.process.protected.pure.public.rec.return.static.sealed.struct.sig.then.to.true.tailcall.trait.try.type.upcast.use.val.void.virtual.volatile.when.while.with.yield".split("."),
|
|
60
|
-
symbols: /[=><!~?:&|+\-*\^%;\.,\/]+/,
|
|
61
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
62
|
-
integersuffix: /[uU]?[yslnLI]?/,
|
|
63
|
-
floatsuffix: /[fFmM]?/,
|
|
64
|
-
tokenizer: {
|
|
65
|
-
root: [
|
|
66
|
-
[/[a-zA-Z_]\w*/, { cases: {
|
|
67
|
-
"@keywords": { token: "keyword.$0" },
|
|
68
|
-
"@default": "identifier"
|
|
69
|
-
} }],
|
|
70
|
-
{ include: "@whitespace" },
|
|
71
|
-
[/\[<.*>\]/, "annotation"],
|
|
72
|
-
[/^#(if|else|endif)/, "keyword"],
|
|
73
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
74
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
75
|
-
[/@symbols/, "delimiter"],
|
|
76
|
-
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
77
|
-
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
78
|
-
[/0x[0-9a-fA-F]+LF/, "number.float"],
|
|
79
|
-
[/0x[0-9a-fA-F]+(@integersuffix)/, "number.hex"],
|
|
80
|
-
[/0b[0-1]+(@integersuffix)/, "number.bin"],
|
|
81
|
-
[/\d+(@integersuffix)/, "number"],
|
|
82
|
-
[/[;,.]/, "delimiter"],
|
|
83
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
84
|
-
[
|
|
85
|
-
/"""/,
|
|
86
|
-
"string",
|
|
87
|
-
"@string.\"\"\""
|
|
88
|
-
],
|
|
89
|
-
[
|
|
90
|
-
/"/,
|
|
91
|
-
"string",
|
|
92
|
-
"@string.\""
|
|
93
|
-
],
|
|
94
|
-
[/\@"/, {
|
|
95
|
-
token: "string.quote",
|
|
96
|
-
next: "@litstring"
|
|
97
|
-
}],
|
|
98
|
-
[/'[^\\']'B?/, "string"],
|
|
99
|
-
[/(')(@escapes)(')/, [
|
|
100
|
-
"string",
|
|
101
|
-
"string.escape",
|
|
102
|
-
"string"
|
|
103
|
-
]],
|
|
104
|
-
[/'/, "string.invalid"]
|
|
105
|
-
],
|
|
106
|
-
whitespace: [
|
|
107
|
-
[/[ \t\r\n]+/, ""],
|
|
108
|
-
[
|
|
109
|
-
/\(\*(?!\))/,
|
|
110
|
-
"comment",
|
|
111
|
-
"@comment"
|
|
112
|
-
],
|
|
113
|
-
[/\/\/.*$/, "comment"]
|
|
114
|
-
],
|
|
115
|
-
comment: [
|
|
116
|
-
[/[^*(]+/, "comment"],
|
|
117
|
-
[
|
|
118
|
-
/\*\)/,
|
|
119
|
-
"comment",
|
|
120
|
-
"@pop"
|
|
121
|
-
],
|
|
122
|
-
[/\*/, "comment"],
|
|
123
|
-
[/\(\*\)/, "comment"],
|
|
124
|
-
[/\(/, "comment"]
|
|
125
|
-
],
|
|
126
|
-
string: [
|
|
127
|
-
[/[^\\"]+/, "string"],
|
|
128
|
-
[/@escapes/, "string.escape"],
|
|
129
|
-
[/\\./, "string.escape.invalid"],
|
|
130
|
-
[/("""|"B?)/, { cases: {
|
|
131
|
-
"$#==$S2": {
|
|
132
|
-
token: "string",
|
|
133
|
-
next: "@pop"
|
|
134
|
-
},
|
|
135
|
-
"@default": "string"
|
|
136
|
-
} }]
|
|
137
|
-
],
|
|
138
|
-
litstring: [
|
|
139
|
-
[/[^"]+/, "string"],
|
|
140
|
-
[/""/, "string.escape"],
|
|
141
|
-
[/"/, {
|
|
142
|
-
token: "string.quote",
|
|
143
|
-
next: "@pop"
|
|
144
|
-
}]
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
//#endregion
|
|
149
|
-
export { e as conf, t as language };
|