monaco-editor11 1.2.1 → 1.2.4
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/dist/assets/editor.worker-iXcRX1Tq.js +26 -0
- package/dist/index.d.ts +2 -3
- package/dist/monaco-editor11.es.js +55 -0
- package/dist/monaco-editor11.umd.js +1 -0
- package/dist/views/Home.vue.d.ts +1 -1
- package/dist/worker/json.worker.js +0 -0
- package/package.json +9 -13
- package/dist/abap-BmV14C8H.js +0 -1
- package/dist/abap-CrvW7_qN.mjs +0 -1398
- package/dist/apex-BAOI8p1v.mjs +0 -327
- package/dist/apex-vQDebnNk.js +0 -1
- package/dist/azcli-BlCk_UqW.mjs +0 -68
- package/dist/azcli-C4hxwus7.js +0 -1
- package/dist/bat-DPoEelVx.mjs +0 -100
- package/dist/bat-DYHIOgJW.js +0 -1
- package/dist/bicep-BJDZ3U7c.js +0 -2
- package/dist/bicep-Cp1F394l.mjs +0 -102
- package/dist/cameligo-CWqtSlQs.mjs +0 -174
- package/dist/cameligo-l0J6eaPU.js +0 -1
- package/dist/clojure-BUv_1vEn.js +0 -1
- package/dist/clojure-CKBp32Gf.mjs +0 -761
- package/dist/coffee-CDo6vc-J.mjs +0 -232
- package/dist/coffee-Cw3141X6.js +0 -1
- package/dist/cpp-CHPWmTTa.js +0 -1
- package/dist/cpp-DokufPgf.mjs +0 -389
- package/dist/csharp-0ISFInBU.js +0 -1
- package/dist/csharp-BQi3szM0.mjs +0 -326
- package/dist/csp-BSGtCCZ-.mjs +0 -53
- package/dist/csp-Dcy9EUAZ.js +0 -1
- package/dist/css-DEPFDJfb.mjs +0 -187
- package/dist/css-UDjyEDNM.js +0 -3
- package/dist/css.worker.js +0 -66
- package/dist/cssMode-CZvh5Cxi.js +0 -1
- package/dist/cssMode-D5wFpBcJ.mjs +0 -141
- package/dist/cypher-BoSKj8sy.js +0 -1
- package/dist/cypher-DAb1vOxS.mjs +0 -263
- package/dist/dart-75fOVMIC.js +0 -1
- package/dist/dart-C8p4jewR.mjs +0 -281
- package/dist/dockerfile-CeTDdZJB.js +0 -1
- package/dist/dockerfile-DP0iLFPN.mjs +0 -130
- package/dist/ecl-BDQHA6fi.mjs +0 -456
- package/dist/ecl-BZ8GfbIS.js +0 -1
- package/dist/editor.worker.js +0 -1
- package/dist/editorWorkerHost-CXSl__Sw.mjs +0 -11917
- package/dist/editorWorkerHost-J3OLr02l.js +0 -33
- package/dist/elixir-D4II6kDM.mjs +0 -569
- package/dist/elixir-HwUoMs-6.js +0 -1
- package/dist/flow9-Co-egZvn.js +0 -1
- package/dist/flow9-StcnL-VB.mjs +0 -142
- package/dist/freemarker2-0KWO0y3D.mjs +0 -982
- package/dist/freemarker2-CWgJ4a-p.js +0 -3
- package/dist/fsharp-By4FMj_K.js +0 -1
- package/dist/fsharp-DdUVp3EN.mjs +0 -217
- package/dist/go-D0-3Iavh.js +0 -1
- package/dist/go-D1-I258M.mjs +0 -218
- package/dist/graphql-DWkL3f8U.mjs +0 -151
- package/dist/graphql-arXy5b1U.js +0 -1
- package/dist/handlebars-B3DRUYqI.js +0 -1
- package/dist/handlebars-CtTh3MzK.mjs +0 -412
- package/dist/hcl-DQpT3BXv.js +0 -1
- package/dist/hcl-D_0MNifv.mjs +0 -183
- package/dist/html-Bfagd5f8.mjs +0 -301
- package/dist/html-Cq6ODg2A.js +0 -1
- package/dist/htmlMode-BCWHN8H1.js +0 -1
- package/dist/htmlMode-Ca4o_48E.mjs +0 -152
- package/dist/index-BnVmN2qp.js +0 -875
- package/dist/index-CcXLAo11.js +0 -1
- package/dist/index-D7fx9aNv.mjs +0 -498
- package/dist/index-DnKFAZ-F.mjs +0 -117301
- package/dist/index.js +0 -1
- package/dist/ini-C4I2-MT7.mjs +0 -71
- package/dist/ini-CHrdBSR6.js +0 -1
- package/dist/initialize-7Tsg9DJ6.mjs +0 -44
- package/dist/initialize-8Cpp42Fp.js +0 -1
- package/dist/java-DkNlCtA8.js +0 -1
- package/dist/java-OBvaP_SS.mjs +0 -232
- package/dist/javascript-C_YSapv9.js +0 -1
- package/dist/javascript-D2KmymLa.mjs +0 -70
- package/dist/json.worker.js +0 -17
- package/dist/jsonMode-DaXUMuRa.js +0 -1
- package/dist/jsonMode-Dnqj4FWW.mjs +0 -306
- package/dist/julia-BmDH8Kkf.mjs +0 -511
- package/dist/julia-D2YHJdZy.js +0 -1
- package/dist/kotlin-BSyr2f_w.js +0 -1
- package/dist/kotlin-Dhu5AGOD.mjs +0 -252
- package/dist/less-C8csD237.js +0 -2
- package/dist/less-CzmjXREq.mjs +0 -162
- package/dist/lexon-CV2c4pN9.mjs +0 -157
- package/dist/lexon-Dg5XMXM-.js +0 -1
- package/dist/liquid-CQtA4TA-.mjs +0 -233
- package/dist/liquid-Dc6vO2KK.js +0 -1
- package/dist/lspLanguageFeatures-CeustN1U.js +0 -2
- package/dist/lspLanguageFeatures-DUzyYYsS.mjs +0 -534
- package/dist/lua-BOoO7Ej7.js +0 -1
- package/dist/lua-CFY5U8qF.mjs +0 -162
- package/dist/m3-BL_AnZVh.mjs +0 -210
- package/dist/m3-Bny7JARg.js +0 -1
- package/dist/main-B2xgQ6G2.mjs +0 -687
- package/dist/main-C27EQSK2.mjs +0 -947
- package/dist/main-DXJICgQq.js +0 -3
- package/dist/main-Dt1Bdcpc.js +0 -15
- package/dist/markdown-CWKQPXCv.mjs +0 -229
- package/dist/markdown-cseWCS9n.js +0 -1
- package/dist/mdx-C2nK3qTe.js +0 -1
- package/dist/mdx-cjfOdSKt.mjs +0 -158
- package/dist/mips-7JuqcyJ4.js +0 -1
- package/dist/mips-ButYmJ5E.mjs +0 -198
- package/dist/monaco-editor11.css +0 -1
- package/dist/msdax-BmYA5eV5.js +0 -1
- package/dist/msdax-C3cnXqDh.mjs +0 -375
- package/dist/mysql-CHTrPhJ_.js +0 -1
- package/dist/mysql-YlSHaf6G.mjs +0 -878
- package/dist/objective-c-CUdbM2R7.js +0 -1
- package/dist/objective-c-Dwnlproe.mjs +0 -183
- package/dist/pascal-CNC6uGuD.js +0 -1
- package/dist/pascal-UzGbSWEN.mjs +0 -251
- package/dist/pascaligo-BEZzSZnI.js +0 -1
- package/dist/pascaligo-CslTgu68.mjs +0 -164
- package/dist/perl-JOl0jAD9.js +0 -1
- package/dist/perl-oj6r_mgw.mjs +0 -626
- package/dist/pgsql-BlC3cJBr.js +0 -1
- package/dist/pgsql-DSBO0Mev.mjs +0 -851
- package/dist/php-6ijfJ2jK.js +0 -1
- package/dist/php-YzCD--7j.mjs +0 -500
- package/dist/pla-CmylB8vQ.mjs +0 -137
- package/dist/pla-DB8tU9Tm.js +0 -1
- package/dist/postiats-BMJJQsUH.js +0 -1
- package/dist/postiats-CLFW5gNY.mjs +0 -907
- package/dist/powerquery-CmOWUvlh.mjs +0 -890
- package/dist/powerquery-CoLfQ6__.js +0 -1
- package/dist/powershell-BA5owzqH.js +0 -1
- package/dist/powershell-fHQcmBLK.mjs +0 -239
- package/dist/protobuf-DUMRTG9C.js +0 -2
- package/dist/protobuf-p5BArb-9.mjs +0 -420
- package/dist/pug-D3HDBCR9.js +0 -1
- package/dist/pug-gVdUDvqf.mjs +0 -402
- package/dist/python-BaSW5leI.js +0 -1
- package/dist/python-DA6ByLCZ.mjs +0 -294
- package/dist/qsharp-DN7Y6XhL.js +0 -1
- package/dist/qsharp-DnrWSUlt.mjs +0 -301
- package/dist/r-Bc6rlFXl.js +0 -1
- package/dist/r-Cv309K2z.mjs +0 -243
- package/dist/razor-3z9XYGZf.mjs +0 -543
- package/dist/razor-nQE2Djhf.js +0 -1
- package/dist/redis-BVBmvApp.js +0 -1
- package/dist/redis-DTcS4wMj.mjs +0 -302
- package/dist/redshift-BdEMv0YI.js +0 -1
- package/dist/redshift-hLxZVESM.mjs +0 -809
- package/dist/restructuredtext-C898lK4f.mjs +0 -174
- package/dist/restructuredtext-Cwgkbiv3.js +0 -1
- package/dist/ruby-BPqQ0TOE.js +0 -1
- package/dist/ruby-CgKtnJIQ.mjs +0 -511
- package/dist/rust-DGojqpAN.js +0 -1
- package/dist/rust-bj8oxVnh.mjs +0 -343
- package/dist/sb-B572kJZe.js +0 -1
- package/dist/sb-DWynz26l.mjs +0 -115
- package/dist/scala-BL5z1UEd.mjs +0 -370
- package/dist/scala-CDQ1h1Nd.js +0 -1
- package/dist/scheme-CgaAfqMQ.js +0 -1
- package/dist/scheme-DUJsH6VU.mjs +0 -108
- package/dist/scss-CxjmhvaL.mjs +0 -262
- package/dist/scss-DZHIl239.js +0 -3
- package/dist/shell-D14Zs1dF.mjs +0 -221
- package/dist/shell-D5kOdfAA.js +0 -1
- package/dist/solidity-D6vCwnFo.js +0 -1
- package/dist/solidity-WyRm-BGK.mjs +0 -1367
- package/dist/sophia-BJdevZpo.js +0 -1
- package/dist/sophia-CKk-_Oa5.mjs +0 -199
- package/dist/sparql-DHtmINMZ.mjs +0 -201
- package/dist/sparql-v4dsLpAQ.js +0 -1
- package/dist/sql-Dqaj5JHC.mjs +0 -853
- package/dist/sql-RAt0uxGh.js +0 -1
- package/dist/st-Bj2IIaop.mjs +0 -416
- package/dist/st-CjwpLApO.js +0 -1
- package/dist/swift-BcIVfYEa.js +0 -3
- package/dist/swift-DwxP72iM.mjs +0 -312
- package/dist/systemverilog-CX2A8v2w.js +0 -1
- package/dist/systemverilog-D7wJfuql.mjs +0 -576
- package/dist/tcl-0ApMt-eC.mjs +0 -232
- package/dist/tcl-CCvdS1Ng.js +0 -1
- package/dist/ts.worker.js +0 -67706
- package/dist/tsMode-CieVaThB.js +0 -11
- package/dist/tsMode-pbVGEqHg.mjs +0 -946
- package/dist/twig-DxwbdmvQ.mjs +0 -392
- package/dist/twig-KWJe-gee.js +0 -1
- package/dist/typescript-CL7lZGgL.mjs +0 -336
- package/dist/typescript-D-fgoGBJ.js +0 -1
- package/dist/typespec-Fd-JwSuS.mjs +0 -117
- package/dist/typespec-gb5rMy4D.js +0 -1
- package/dist/vb-CxuyYE1I.mjs +0 -372
- package/dist/vb-D2rfixXK.js +0 -1
- package/dist/wgsl-DoEGc31J.mjs +0 -439
- package/dist/wgsl-Dpy8Oyoq.js +0 -298
- package/dist/xml-Dm8zU0Zq.mjs +0 -88
- package/dist/xml-luJ1w-__.js +0 -1
- package/dist/yaml-DDKFPb37.mjs +0 -199
- package/dist/yaml-DZkx0RTO.js +0 -1
package/dist/qsharp-DN7Y6XhL.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={keywords:["namespace","open","import","export","as","operation","function","body","adjoint","newtype","struct","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::",".","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],importsFollows:["import"],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@importsFollows":{token:"keyword.$0",next:"@imports"},"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@builtin":"keyword","@invalidKeywords":"invalid","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],namespace:[{include:"@whitespace"},[/[A-Za-z]\w*/,"namespace"],[/[\.]/,"delimiter"],["","","@pop"]],imports:[{include:"@whitespace"},[/[A-Za-z]\w*(?=\.)/,"namespace"],[/[A-Za-z]\w*/,"identifier"],[/\*/,"wildcard"],[/[\.,]/,"delimiter"],["","","@pop"]],whitespace:[[/[ \t\r\n]+/,"white"],[/(\/\/).*/,"comment"]]}};exports.conf=e;exports.language=t;
|
package/dist/qsharp-DnrWSUlt.mjs
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
comments: {
|
|
3
|
-
lineComment: "//"
|
|
4
|
-
},
|
|
5
|
-
brackets: [
|
|
6
|
-
["{", "}"],
|
|
7
|
-
["[", "]"],
|
|
8
|
-
["(", ")"]
|
|
9
|
-
],
|
|
10
|
-
autoClosingPairs: [
|
|
11
|
-
{ open: "{", close: "}" },
|
|
12
|
-
{ open: "[", close: "]" },
|
|
13
|
-
{ open: "(", close: ")" },
|
|
14
|
-
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
|
15
|
-
],
|
|
16
|
-
surroundingPairs: [
|
|
17
|
-
{ open: "{", close: "}" },
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "(", close: ")" },
|
|
20
|
-
{ open: '"', close: '"' }
|
|
21
|
-
]
|
|
22
|
-
}, t = {
|
|
23
|
-
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
24
|
-
keywords: [
|
|
25
|
-
"namespace",
|
|
26
|
-
"open",
|
|
27
|
-
"import",
|
|
28
|
-
"export",
|
|
29
|
-
"as",
|
|
30
|
-
"operation",
|
|
31
|
-
"function",
|
|
32
|
-
"body",
|
|
33
|
-
"adjoint",
|
|
34
|
-
"newtype",
|
|
35
|
-
"struct",
|
|
36
|
-
"controlled",
|
|
37
|
-
"if",
|
|
38
|
-
"elif",
|
|
39
|
-
"else",
|
|
40
|
-
"repeat",
|
|
41
|
-
"until",
|
|
42
|
-
"fixup",
|
|
43
|
-
"for",
|
|
44
|
-
"in",
|
|
45
|
-
"while",
|
|
46
|
-
"return",
|
|
47
|
-
"fail",
|
|
48
|
-
"within",
|
|
49
|
-
"apply",
|
|
50
|
-
"Adjoint",
|
|
51
|
-
"Controlled",
|
|
52
|
-
"Adj",
|
|
53
|
-
"Ctl",
|
|
54
|
-
"is",
|
|
55
|
-
"self",
|
|
56
|
-
"auto",
|
|
57
|
-
"distribute",
|
|
58
|
-
"invert",
|
|
59
|
-
"intrinsic",
|
|
60
|
-
"let",
|
|
61
|
-
"set",
|
|
62
|
-
"w/",
|
|
63
|
-
"new",
|
|
64
|
-
"not",
|
|
65
|
-
"and",
|
|
66
|
-
"or",
|
|
67
|
-
"use",
|
|
68
|
-
"borrow",
|
|
69
|
-
"using",
|
|
70
|
-
"borrowing",
|
|
71
|
-
"mutable",
|
|
72
|
-
"internal"
|
|
73
|
-
],
|
|
74
|
-
typeKeywords: [
|
|
75
|
-
"Unit",
|
|
76
|
-
"Int",
|
|
77
|
-
"BigInt",
|
|
78
|
-
"Double",
|
|
79
|
-
"Bool",
|
|
80
|
-
"String",
|
|
81
|
-
"Qubit",
|
|
82
|
-
"Result",
|
|
83
|
-
"Pauli",
|
|
84
|
-
"Range"
|
|
85
|
-
],
|
|
86
|
-
invalidKeywords: [
|
|
87
|
-
"abstract",
|
|
88
|
-
"base",
|
|
89
|
-
"bool",
|
|
90
|
-
"break",
|
|
91
|
-
"byte",
|
|
92
|
-
"case",
|
|
93
|
-
"catch",
|
|
94
|
-
"char",
|
|
95
|
-
"checked",
|
|
96
|
-
"class",
|
|
97
|
-
"const",
|
|
98
|
-
"continue",
|
|
99
|
-
"decimal",
|
|
100
|
-
"default",
|
|
101
|
-
"delegate",
|
|
102
|
-
"do",
|
|
103
|
-
"double",
|
|
104
|
-
"enum",
|
|
105
|
-
"event",
|
|
106
|
-
"explicit",
|
|
107
|
-
"extern",
|
|
108
|
-
"finally",
|
|
109
|
-
"fixed",
|
|
110
|
-
"float",
|
|
111
|
-
"foreach",
|
|
112
|
-
"goto",
|
|
113
|
-
"implicit",
|
|
114
|
-
"int",
|
|
115
|
-
"interface",
|
|
116
|
-
"lock",
|
|
117
|
-
"long",
|
|
118
|
-
"null",
|
|
119
|
-
"object",
|
|
120
|
-
"operator",
|
|
121
|
-
"out",
|
|
122
|
-
"override",
|
|
123
|
-
"params",
|
|
124
|
-
"private",
|
|
125
|
-
"protected",
|
|
126
|
-
"public",
|
|
127
|
-
"readonly",
|
|
128
|
-
"ref",
|
|
129
|
-
"sbyte",
|
|
130
|
-
"sealed",
|
|
131
|
-
"short",
|
|
132
|
-
"sizeof",
|
|
133
|
-
"stackalloc",
|
|
134
|
-
"static",
|
|
135
|
-
"string",
|
|
136
|
-
"switch",
|
|
137
|
-
"this",
|
|
138
|
-
"throw",
|
|
139
|
-
"try",
|
|
140
|
-
"typeof",
|
|
141
|
-
"unit",
|
|
142
|
-
"ulong",
|
|
143
|
-
"unchecked",
|
|
144
|
-
"unsafe",
|
|
145
|
-
"ushort",
|
|
146
|
-
"virtual",
|
|
147
|
-
"void",
|
|
148
|
-
"volatile"
|
|
149
|
-
],
|
|
150
|
-
constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
|
|
151
|
-
builtin: [
|
|
152
|
-
"X",
|
|
153
|
-
"Y",
|
|
154
|
-
"Z",
|
|
155
|
-
"H",
|
|
156
|
-
"HY",
|
|
157
|
-
"S",
|
|
158
|
-
"T",
|
|
159
|
-
"SWAP",
|
|
160
|
-
"CNOT",
|
|
161
|
-
"CCNOT",
|
|
162
|
-
"MultiX",
|
|
163
|
-
"R",
|
|
164
|
-
"RFrac",
|
|
165
|
-
"Rx",
|
|
166
|
-
"Ry",
|
|
167
|
-
"Rz",
|
|
168
|
-
"R1",
|
|
169
|
-
"R1Frac",
|
|
170
|
-
"Exp",
|
|
171
|
-
"ExpFrac",
|
|
172
|
-
"Measure",
|
|
173
|
-
"M",
|
|
174
|
-
"MultiM",
|
|
175
|
-
"Message",
|
|
176
|
-
"Length",
|
|
177
|
-
"Assert",
|
|
178
|
-
"AssertProb",
|
|
179
|
-
"AssertEqual"
|
|
180
|
-
],
|
|
181
|
-
operators: [
|
|
182
|
-
"and=",
|
|
183
|
-
"<-",
|
|
184
|
-
"->",
|
|
185
|
-
"*",
|
|
186
|
-
"*=",
|
|
187
|
-
"@",
|
|
188
|
-
"!",
|
|
189
|
-
"^",
|
|
190
|
-
"^=",
|
|
191
|
-
":",
|
|
192
|
-
"::",
|
|
193
|
-
".",
|
|
194
|
-
"..",
|
|
195
|
-
"==",
|
|
196
|
-
"...",
|
|
197
|
-
"=",
|
|
198
|
-
"=>",
|
|
199
|
-
">",
|
|
200
|
-
">=",
|
|
201
|
-
"<",
|
|
202
|
-
"<=",
|
|
203
|
-
"-",
|
|
204
|
-
"-=",
|
|
205
|
-
"!=",
|
|
206
|
-
"or=",
|
|
207
|
-
"%",
|
|
208
|
-
"%=",
|
|
209
|
-
"|",
|
|
210
|
-
"+",
|
|
211
|
-
"+=",
|
|
212
|
-
"?",
|
|
213
|
-
"/",
|
|
214
|
-
"/=",
|
|
215
|
-
"&&&",
|
|
216
|
-
"&&&=",
|
|
217
|
-
"^^^",
|
|
218
|
-
"^^^=",
|
|
219
|
-
">>>",
|
|
220
|
-
">>>=",
|
|
221
|
-
"<<<",
|
|
222
|
-
"<<<=",
|
|
223
|
-
"|||",
|
|
224
|
-
"|||=",
|
|
225
|
-
"~~~",
|
|
226
|
-
"_",
|
|
227
|
-
"w/",
|
|
228
|
-
"w/="
|
|
229
|
-
],
|
|
230
|
-
namespaceFollows: ["namespace", "open"],
|
|
231
|
-
importsFollows: ["import"],
|
|
232
|
-
symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
|
|
233
|
-
escapes: /\\[\s\S]/,
|
|
234
|
-
// The main tokenizer for our languages
|
|
235
|
-
tokenizer: {
|
|
236
|
-
root: [
|
|
237
|
-
// identifiers and keywords
|
|
238
|
-
[
|
|
239
|
-
/[a-zA-Z_$][\w$]*/,
|
|
240
|
-
{
|
|
241
|
-
cases: {
|
|
242
|
-
"@namespaceFollows": {
|
|
243
|
-
token: "keyword.$0",
|
|
244
|
-
next: "@namespace"
|
|
245
|
-
},
|
|
246
|
-
"@importsFollows": {
|
|
247
|
-
token: "keyword.$0",
|
|
248
|
-
next: "@imports"
|
|
249
|
-
},
|
|
250
|
-
"@typeKeywords": "type",
|
|
251
|
-
"@keywords": "keyword",
|
|
252
|
-
"@constants": "constant",
|
|
253
|
-
"@builtin": "keyword",
|
|
254
|
-
"@invalidKeywords": "invalid",
|
|
255
|
-
"@default": "identifier"
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
// whitespace
|
|
260
|
-
{ include: "@whitespace" },
|
|
261
|
-
// delimiters and operators
|
|
262
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
263
|
-
[/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
|
|
264
|
-
// numbers
|
|
265
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
266
|
-
[/\d+/, "number"],
|
|
267
|
-
// delimiter: after number because of .\d floats
|
|
268
|
-
[/[;,.]/, "delimiter"],
|
|
269
|
-
// strings
|
|
270
|
-
//[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-terminated string
|
|
271
|
-
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
|
|
272
|
-
],
|
|
273
|
-
string: [
|
|
274
|
-
[/[^\\"]+/, "string"],
|
|
275
|
-
[/@escapes/, "string.escape"],
|
|
276
|
-
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
277
|
-
],
|
|
278
|
-
namespace: [
|
|
279
|
-
{ include: "@whitespace" },
|
|
280
|
-
[/[A-Za-z]\w*/, "namespace"],
|
|
281
|
-
[/[\.]/, "delimiter"],
|
|
282
|
-
["", "", "@pop"]
|
|
283
|
-
],
|
|
284
|
-
imports: [
|
|
285
|
-
{ include: "@whitespace" },
|
|
286
|
-
[/[A-Za-z]\w*(?=\.)/, "namespace"],
|
|
287
|
-
[/[A-Za-z]\w*/, "identifier"],
|
|
288
|
-
[/\*/, "wildcard"],
|
|
289
|
-
[/[\.,]/, "delimiter"],
|
|
290
|
-
["", "", "@pop"]
|
|
291
|
-
],
|
|
292
|
-
whitespace: [
|
|
293
|
-
[/[ \t\r\n]+/, "white"],
|
|
294
|
-
[/(\/\/).*/, "comment"]
|
|
295
|
-
]
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
export {
|
|
299
|
-
e as conf,
|
|
300
|
-
t as language
|
|
301
|
-
};
|
package/dist/r-Bc6rlFXl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}};exports.conf=e;exports.language=o;
|
package/dist/r-Cv309K2z.mjs
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
comments: {
|
|
3
|
-
lineComment: "#"
|
|
4
|
-
},
|
|
5
|
-
brackets: [
|
|
6
|
-
["{", "}"],
|
|
7
|
-
["[", "]"],
|
|
8
|
-
["(", ")"]
|
|
9
|
-
],
|
|
10
|
-
autoClosingPairs: [
|
|
11
|
-
{ open: "{", close: "}" },
|
|
12
|
-
{ open: "[", close: "]" },
|
|
13
|
-
{ open: "(", close: ")" },
|
|
14
|
-
{ open: '"', close: '"' }
|
|
15
|
-
],
|
|
16
|
-
surroundingPairs: [
|
|
17
|
-
{ open: "{", close: "}" },
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "(", close: ")" },
|
|
20
|
-
{ open: '"', close: '"' }
|
|
21
|
-
]
|
|
22
|
-
}, o = {
|
|
23
|
-
defaultToken: "",
|
|
24
|
-
tokenPostfix: ".r",
|
|
25
|
-
roxygen: [
|
|
26
|
-
"@alias",
|
|
27
|
-
"@aliases",
|
|
28
|
-
"@assignee",
|
|
29
|
-
"@author",
|
|
30
|
-
"@backref",
|
|
31
|
-
"@callGraph",
|
|
32
|
-
"@callGraphDepth",
|
|
33
|
-
"@callGraphPrimitives",
|
|
34
|
-
"@concept",
|
|
35
|
-
"@describeIn",
|
|
36
|
-
"@description",
|
|
37
|
-
"@details",
|
|
38
|
-
"@docType",
|
|
39
|
-
"@encoding",
|
|
40
|
-
"@evalNamespace",
|
|
41
|
-
"@evalRd",
|
|
42
|
-
"@example",
|
|
43
|
-
"@examples",
|
|
44
|
-
"@export",
|
|
45
|
-
"@exportClass",
|
|
46
|
-
"@exportMethod",
|
|
47
|
-
"@exportPattern",
|
|
48
|
-
"@family",
|
|
49
|
-
"@field",
|
|
50
|
-
"@formals",
|
|
51
|
-
"@format",
|
|
52
|
-
"@import",
|
|
53
|
-
"@importClassesFrom",
|
|
54
|
-
"@importFrom",
|
|
55
|
-
"@importMethodsFrom",
|
|
56
|
-
"@include",
|
|
57
|
-
"@inherit",
|
|
58
|
-
"@inheritDotParams",
|
|
59
|
-
"@inheritParams",
|
|
60
|
-
"@inheritSection",
|
|
61
|
-
"@keywords",
|
|
62
|
-
"@md",
|
|
63
|
-
"@method",
|
|
64
|
-
"@name",
|
|
65
|
-
"@noMd",
|
|
66
|
-
"@noRd",
|
|
67
|
-
"@note",
|
|
68
|
-
"@param",
|
|
69
|
-
"@rawNamespace",
|
|
70
|
-
"@rawRd",
|
|
71
|
-
"@rdname",
|
|
72
|
-
"@references",
|
|
73
|
-
"@return",
|
|
74
|
-
"@S3method",
|
|
75
|
-
"@section",
|
|
76
|
-
"@seealso",
|
|
77
|
-
"@setClass",
|
|
78
|
-
"@slot",
|
|
79
|
-
"@source",
|
|
80
|
-
"@template",
|
|
81
|
-
"@templateVar",
|
|
82
|
-
"@title",
|
|
83
|
-
"@TODO",
|
|
84
|
-
"@usage",
|
|
85
|
-
"@useDynLib"
|
|
86
|
-
],
|
|
87
|
-
constants: [
|
|
88
|
-
"NULL",
|
|
89
|
-
"FALSE",
|
|
90
|
-
"TRUE",
|
|
91
|
-
"NA",
|
|
92
|
-
"Inf",
|
|
93
|
-
"NaN",
|
|
94
|
-
"NA_integer_",
|
|
95
|
-
"NA_real_",
|
|
96
|
-
"NA_complex_",
|
|
97
|
-
"NA_character_",
|
|
98
|
-
"T",
|
|
99
|
-
"F",
|
|
100
|
-
"LETTERS",
|
|
101
|
-
"letters",
|
|
102
|
-
"month.abb",
|
|
103
|
-
"month.name",
|
|
104
|
-
"pi",
|
|
105
|
-
"R.version.string"
|
|
106
|
-
],
|
|
107
|
-
keywords: [
|
|
108
|
-
"break",
|
|
109
|
-
"next",
|
|
110
|
-
"return",
|
|
111
|
-
"if",
|
|
112
|
-
"else",
|
|
113
|
-
"for",
|
|
114
|
-
"in",
|
|
115
|
-
"repeat",
|
|
116
|
-
"while",
|
|
117
|
-
"array",
|
|
118
|
-
"category",
|
|
119
|
-
"character",
|
|
120
|
-
"complex",
|
|
121
|
-
"double",
|
|
122
|
-
"function",
|
|
123
|
-
"integer",
|
|
124
|
-
"list",
|
|
125
|
-
"logical",
|
|
126
|
-
"matrix",
|
|
127
|
-
"numeric",
|
|
128
|
-
"vector",
|
|
129
|
-
"data.frame",
|
|
130
|
-
"factor",
|
|
131
|
-
"library",
|
|
132
|
-
"require",
|
|
133
|
-
"attach",
|
|
134
|
-
"detach",
|
|
135
|
-
"source"
|
|
136
|
-
],
|
|
137
|
-
special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
|
|
138
|
-
brackets: [
|
|
139
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
140
|
-
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
141
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
142
|
-
],
|
|
143
|
-
tokenizer: {
|
|
144
|
-
root: [
|
|
145
|
-
{ include: "@numbers" },
|
|
146
|
-
{ include: "@strings" },
|
|
147
|
-
[/[{}\[\]()]/, "@brackets"],
|
|
148
|
-
{ include: "@operators" },
|
|
149
|
-
[/#'$/, "comment.doc"],
|
|
150
|
-
[/#'/, "comment.doc", "@roxygen"],
|
|
151
|
-
[/(^#.*$)/, "comment"],
|
|
152
|
-
[/\s+/, "white"],
|
|
153
|
-
[/[,:;]/, "delimiter"],
|
|
154
|
-
[/@[a-zA-Z]\w*/, "tag"],
|
|
155
|
-
[
|
|
156
|
-
/[a-zA-Z]\w*/,
|
|
157
|
-
{
|
|
158
|
-
cases: {
|
|
159
|
-
"@keywords": "keyword",
|
|
160
|
-
"@constants": "constant",
|
|
161
|
-
"@default": "identifier"
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
],
|
|
166
|
-
// Recognize Roxygen comments
|
|
167
|
-
roxygen: [
|
|
168
|
-
[
|
|
169
|
-
/@\w+/,
|
|
170
|
-
{
|
|
171
|
-
cases: {
|
|
172
|
-
"@roxygen": "tag",
|
|
173
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
174
|
-
"@default": "comment.doc"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
[
|
|
179
|
-
/\s+/,
|
|
180
|
-
{
|
|
181
|
-
cases: {
|
|
182
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
183
|
-
"@default": "comment.doc"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
[/.*/, { token: "comment.doc", next: "@pop" }]
|
|
188
|
-
],
|
|
189
|
-
// Recognize positives, negatives, decimals, imaginaries, and scientific notation
|
|
190
|
-
numbers: [
|
|
191
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
192
|
-
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
|
|
193
|
-
],
|
|
194
|
-
// Recognize operators
|
|
195
|
-
operators: [
|
|
196
|
-
[/<{1,2}-/, "operator"],
|
|
197
|
-
[/->{1,2}/, "operator"],
|
|
198
|
-
[/%[^%\s]+%/, "operator"],
|
|
199
|
-
[/\*\*/, "operator"],
|
|
200
|
-
[/%%/, "operator"],
|
|
201
|
-
[/&&/, "operator"],
|
|
202
|
-
[/\|\|/, "operator"],
|
|
203
|
-
[/<</, "operator"],
|
|
204
|
-
[/>>/, "operator"],
|
|
205
|
-
[/[-+=&|!<>^~*/:$]/, "operator"]
|
|
206
|
-
],
|
|
207
|
-
// Recognize strings, including those broken across lines
|
|
208
|
-
strings: [
|
|
209
|
-
[/'/, "string.escape", "@stringBody"],
|
|
210
|
-
[/"/, "string.escape", "@dblStringBody"]
|
|
211
|
-
],
|
|
212
|
-
stringBody: [
|
|
213
|
-
[
|
|
214
|
-
/\\./,
|
|
215
|
-
{
|
|
216
|
-
cases: {
|
|
217
|
-
"@special": "string",
|
|
218
|
-
"@default": "error-token"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
[/'/, "string.escape", "@popall"],
|
|
223
|
-
[/./, "string"]
|
|
224
|
-
],
|
|
225
|
-
dblStringBody: [
|
|
226
|
-
[
|
|
227
|
-
/\\./,
|
|
228
|
-
{
|
|
229
|
-
cases: {
|
|
230
|
-
"@special": "string",
|
|
231
|
-
"@default": "error-token"
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
[/"/, "string.escape", "@popall"],
|
|
236
|
-
[/./, "string"]
|
|
237
|
-
]
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
export {
|
|
241
|
-
e as conf,
|
|
242
|
-
o as language
|
|
243
|
-
};
|