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
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"bugs":{"url":"https://github.com/Jaid/monacozen/issues"},"description":"text editor component with batteries included and UI clutter removed","homepage":"https://github.com/Jaid/monacozen#readme","keywords":["editor","monaco","react","text-editor"],"license":"MIT","name":"monacozen","peerDependencies":{"react":"^19.3.0","react-dom":"^19.3.0"},"repository":"github:Jaid/monacozen","version":"0.
|
|
1
|
+
{"bugs":{"url":"https://github.com/Jaid/monacozen/issues"},"description":"text editor component with batteries included and UI clutter removed","homepage":"https://github.com/Jaid/monacozen#readme","keywords":["editor","monaco","react","text-editor"],"license":"MIT","name":"monacozen","peerDependencies":{"react":"^19.3.0","react-dom":"^19.3.0"},"repository":"github:Jaid/monacozen","version":"0.6.0","type":"module","exports":{".":{"types":"./lib.d.ts","import":"./lib.js","default":"./lib.js"}},"types":"./lib.d.ts"}
|
package/src/main.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import{c as e}from"react/compiler-runtime"
|
|
2
2
|
import{Suspense as a,lazy as o,useEffect as t,useImperativeHandle as n,useLayoutEffect as r,useRef as i,useState as l}from"react"
|
|
3
|
-
import{jsx as
|
|
4
|
-
var
|
|
3
|
+
import{jsx as s}from"react/jsx-runtime"
|
|
4
|
+
var d,u,c={antimono:{disableMonospaceOptimizations:!0,fontFamily:"Antimono, monospace"},dense:{disableMonospaceOptimizations:!0,fontFamily:"sans-serif"},mono:{disableMonospaceOptimizations:!1,fontFamily:"monospace"}},g={accessibilitySupport:"off",contextmenu:!0,dragAndDrop:!1,folding:!1,fontSize:14,guides:{indentation:!1,bracketPairs:"active"},largeFileOptimizations:!1,lineHeight:16,lineNumbers:"off",minimap:{enabled:!1},overviewRulerBorder:!1,renderControlCharacters:!0,renderLineHighlight:"none",renderWhitespace:"trailing",scrollbar:{horizontal:"auto",vertical:"auto"},stickyScroll:{enabled:!1},tabSize:2,wordWrap:"on",autoSurround:"never",acceptSuggestionOnEnter:"off",suggest:{showWords:!1},autoClosingBrackets:"never",autoClosingComments:"never",autoClosingDelete:"never",autoClosingQuotes:"never",autoClosingOvertype:"never",cursorSmoothCaretAnimation:"explicit",mouseWheelZoom:!0,copyWithSyntaxHighlighting:!1,scrollOnMiddleClick:!0,find:{seedSearchStringFromSelection:"never"},wrappingIndent:"deepIndent",wrappingStrategy:"advanced",lightbulb:{enabled:"off"},hover:{delay:100},maxTokenizationLineLength:1e5,unicodeHighlight:{allowedCharacters:{"’":!0,"•":!0,"→":!0,"✔":!0,"“":!0,"”":!0,"¬":!0,"≤":!0,"≥":!0,"≠":!0,"°":!0,"©":!0}}},m=(e="antimono",a)=>({...g,...!0===a?{}:a,...c[e]}),h=a=>{let o,n,r=e(3),[i,s]=l(!1),[u,c]=l()
|
|
5
5
|
if(r[0]===a?(o=r[1],n=r[2]):(o=()=>{if("antimono"!==a)return
|
|
6
6
|
let e=!0
|
|
7
|
-
return(
|
|
8
|
-
await document.fonts.load("14px "+e)})(),
|
|
9
|
-
return"antimono"!==a||i},
|
|
10
|
-
let
|
|
11
|
-
n(
|
|
12
|
-
let S=
|
|
13
|
-
return
|
|
14
|
-
return u=o.registerModelSchema,a.config({monaco:o.default}),{default:e}}),v=({dark:e=!0,font:o="antimono",height:n="100%",width:r="100%",schema:l,monaco:
|
|
15
|
-
t(()=>{R
|
|
16
|
-
let
|
|
17
|
-
return
|
|
7
|
+
return(d??=(async()=>{let{default:e}=await(import(`../assets/antimono-XFdMCgZb.js`))
|
|
8
|
+
await document.fonts.load("14px "+e)})(),d).then(()=>{e&&s(!0)},a=>{e&&c(Error.isError(a)?a:Error("Could not load Antimono.",{cause:a}))}),()=>{e=!1}},n=[a],r[0]=a,r[1]=o,r[2]=n),t(o,n),u&&"antimono"===a)throw u
|
|
9
|
+
return"antimono"!==a||i},f=({dark:e=!0,font:a="antimono",height:o="100%",width:t="100%",schema:l,onChange:d,onMount:u,ref:g,style:m,wrapperProps:f,value:p,defaultValue:v,...b})=>{h(a)
|
|
10
|
+
let C=i(null),y=i(u)
|
|
11
|
+
n(g,()=>C.current,[]),r(()=>{C.current&&y.current?.(C.current)},[])
|
|
12
|
+
let S=s("textarea",{...b,...void 0===p?{defaultValue:v}:{value:p},spellCheck:b.spellCheck??!1,style:{boxSizing:"border-box",display:"block",resize:"none",border:0,borderRadius:0,margin:0,padding:0,fontSize:14,lineHeight:"16px",tabSize:2,height:o,width:t,...m,backgroundColor:e?"#000":"#fff",color:e?"#fff":"#000",fontFamily:c[a].fontFamily},ref:C,onChange:e=>d?.(e.currentTarget.value,e)})
|
|
13
|
+
return f?s("div",{...f,children:S}):S},p=o(async()=>{let[{Editor:e,loader:a},o]=await Promise.all([import(`../assets/dist-DiJdi6br.js`),import(`../assets/monaco-BPDUy015.js`).then(e=>e.t)])
|
|
14
|
+
return u=o.registerModelSchema,a.config({monaco:o.default}),{default:e}}),v=({dark:e=!0,font:o="antimono",height:n="100%",width:r="100%",schema:l,monaco:d,autoFocus:c,disabled:g,readOnly:f,placeholder:v,beforeMount:b,defaultLanguage:C,defaultPath:y,defaultValue:S,keepCurrentModel:w,language:M,line:k,loading:z="Loading…",onChange:V,onMount:x,onValidate:F,overrideServices:O,path:L,saveViewState:D,value:E,wrapperProps:P,style:H,...j})=>{let W=h(o),A=i(l),R=i(null)
|
|
15
|
+
t(()=>{W&&R.current?.monaco.editor.remeasureFonts()},[W,o]),t(()=>{A.current=l,R.current?.refreshSchema()},[l])
|
|
16
|
+
let B=m(o,{...!0===d?{}:d,...void 0===f?{}:{readOnly:f},...g?{readOnly:!0,domReadOnly:!0}:{},...void 0===v?{}:{placeholder:v},...void 0===j["aria-label"]?{}:{ariaLabel:j["aria-label"]}})
|
|
17
|
+
return s("div",{...P,...j,style:{...P?.style,width:r,height:n,...H},children:s(a,{fallback:z,children:s(p,{beforeMount:b,defaultLanguage:C,defaultPath:y,defaultValue:S,height:"100%",keepCurrentModel:w,language:M,line:k,loading:z,options:B,overrideServices:O,path:L,saveViewState:D,theme:e?"vs-dark":"vs",value:E,width:"100%",onChange:V,onMount(e,a){let o,t=()=>{e.trigger("monacozen","editor.action.inlineSuggest.hide",{}),o?.dispose()
|
|
18
18
|
let a=e.getModel()
|
|
19
19
|
o=a?u?.(a,A.current):void 0}
|
|
20
|
-
|
|
20
|
+
R.current={editor:e,monaco:a,refreshSchema:t},t()
|
|
21
21
|
let n=e.onDidChangeModel(t),r=a.editor.onDidChangeModelLanguage(({model:a})=>{a===e.getModel()&&t()})
|
|
22
|
-
|
|
23
|
-
let i=e.onDidDispose(()=>{o?.dispose(),n.dispose(),r.dispose(),
|
|
22
|
+
W&&a.editor.remeasureFonts(),c&&e.focus()
|
|
23
|
+
let i=e.onDidDispose(()=>{o?.dispose(),n.dispose(),r.dispose(),R.current?.editor===e&&(R.current=null),i.dispose()})
|
|
24
24
|
x?.(e,a)},onValidate:F})})})}
|
|
25
25
|
function b(a){let o,t,n=e(14),[r,i]=l(a.defaultValue??"")
|
|
26
26
|
if(!1===a.monaco){let e,o,t,l=a
|
|
27
|
-
if(n[0]!==l){let{monaco:a,beforeMount:o,defaultLanguage:t,defaultPath:r,keepCurrentModel:i,language:
|
|
28
|
-
e=
|
|
29
|
-
return n[2]===a?o=n[3]:(o=(e,o)=>{i(e),a.onChange?.(e,o)},n[2]=a,n[3]=o),n[4]!==r||n[5]!==e||n[6]!==o?(t=
|
|
27
|
+
if(n[0]!==l){let{monaco:a,beforeMount:o,defaultLanguage:t,defaultPath:r,keepCurrentModel:i,language:s,line:d,loading:u,onValidate:c,overrideServices:g,path:m,saveViewState:h,...f}=l
|
|
28
|
+
e=f,n[0]=l,n[1]=e}else e=n[1]
|
|
29
|
+
return n[2]===a?o=n[3]:(o=(e,o)=>{i(e),a.onChange?.(e,o)},n[2]=a,n[3]=o),n[4]!==r||n[5]!==e||n[6]!==o?(t=s(f,{...e,defaultValue:r,onChange:o}),n[4]=r,n[5]=e,n[6]=o,n[7]=t):t=n[7],t}return n[8]===a?o=n[9]:(o=(e,o)=>{i(e??""),a.onChange?.(e,o)},n[8]=a,n[9]=o),n[10]!==r||n[11]!==a||n[12]!==o?(t=s(v,{...a,defaultValue:r,monaco:a.monaco,onChange:o}),n[10]=r,n[11]=a,n[12]=o,n[13]=t):t=n[13],t}export{f as DummyEditor,b as default}
|
package/assets/bat-CAz1OfAu.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
//#region node_modules/monaco-editor/esm/vs/languages/definitions/bat/bat.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: { lineComment: "REM" },
|
|
4
|
-
brackets: [
|
|
5
|
-
["{", "}"],
|
|
6
|
-
["[", "]"],
|
|
7
|
-
["(", ")"]
|
|
8
|
-
],
|
|
9
|
-
autoClosingPairs: [
|
|
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
|
-
surroundingPairs: [
|
|
28
|
-
{
|
|
29
|
-
open: "[",
|
|
30
|
-
close: "]"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
open: "(",
|
|
34
|
-
close: ")"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
open: "\"",
|
|
38
|
-
close: "\""
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
folding: { markers: {
|
|
42
|
-
start: /* @__PURE__ */ RegExp("^\\s*(::\\s*|REM\\s+)#region"),
|
|
43
|
-
end: /* @__PURE__ */ RegExp("^\\s*(::\\s*|REM\\s+)#endregion")
|
|
44
|
-
} }
|
|
45
|
-
}, t = {
|
|
46
|
-
defaultToken: "",
|
|
47
|
-
ignoreCase: !0,
|
|
48
|
-
tokenPostfix: ".bat",
|
|
49
|
-
brackets: [
|
|
50
|
-
{
|
|
51
|
-
token: "delimiter.bracket",
|
|
52
|
-
open: "{",
|
|
53
|
-
close: "}"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
token: "delimiter.parenthesis",
|
|
57
|
-
open: "(",
|
|
58
|
-
close: ")"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
token: "delimiter.square",
|
|
62
|
-
open: "[",
|
|
63
|
-
close: "]"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,
|
|
67
|
-
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
|
68
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
69
|
-
tokenizer: {
|
|
70
|
-
root: [
|
|
71
|
-
[/^(\s*)(rem(?:\s.*|))$/, ["", "comment"]],
|
|
72
|
-
[/(\@?)(@keywords)(?!\w)/, [{ token: "keyword" }, { token: "keyword.$2" }]],
|
|
73
|
-
[/[ \t\r\n]+/, ""],
|
|
74
|
-
[/setlocal(?!\w)/, "keyword.tag-setlocal"],
|
|
75
|
-
[/endlocal(?!\w)/, "keyword.tag-setlocal"],
|
|
76
|
-
[/[a-zA-Z_]\w*/, ""],
|
|
77
|
-
[/:\w*/, "metatag"],
|
|
78
|
-
[/%[^%]+%/, "variable"],
|
|
79
|
-
[/%%[\w]+(?!\w)/, "variable"],
|
|
80
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
81
|
-
[/@symbols/, "delimiter"],
|
|
82
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
83
|
-
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
84
|
-
[/\d+/, "number"],
|
|
85
|
-
[/[;,.]/, "delimiter"],
|
|
86
|
-
[
|
|
87
|
-
/"/,
|
|
88
|
-
"string",
|
|
89
|
-
"@string.\""
|
|
90
|
-
],
|
|
91
|
-
[
|
|
92
|
-
/'/,
|
|
93
|
-
"string",
|
|
94
|
-
"@string.'"
|
|
95
|
-
]
|
|
96
|
-
],
|
|
97
|
-
string: [
|
|
98
|
-
[/[^\\"'%]+/, { cases: {
|
|
99
|
-
"@eos": {
|
|
100
|
-
token: "string",
|
|
101
|
-
next: "@popall"
|
|
102
|
-
},
|
|
103
|
-
"@default": "string"
|
|
104
|
-
} }],
|
|
105
|
-
[/@escapes/, "string.escape"],
|
|
106
|
-
[/\\./, "string.escape.invalid"],
|
|
107
|
-
[/%[\w ]+%/, "variable"],
|
|
108
|
-
[/%%[\w]+(?!\w)/, "variable"],
|
|
109
|
-
[/["']/, { cases: {
|
|
110
|
-
"$#==$S2": {
|
|
111
|
-
token: "string",
|
|
112
|
-
next: "@pop"
|
|
113
|
-
},
|
|
114
|
-
"@default": "string"
|
|
115
|
-
} }],
|
|
116
|
-
[
|
|
117
|
-
/$/,
|
|
118
|
-
"string",
|
|
119
|
-
"@popall"
|
|
120
|
-
]
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
//#endregion
|
|
125
|
-
export { e as conf, t as language };
|
package/assets/bicep-B6UDBWZN.js
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
var e = ((e) => `\\b${e}\\b`)("[_a-zA-Z][_a-zA-Z0-9]*"), t = [
|
|
2
|
-
"targetScope",
|
|
3
|
-
"resource",
|
|
4
|
-
"module",
|
|
5
|
-
"param",
|
|
6
|
-
"var",
|
|
7
|
-
"output",
|
|
8
|
-
"for",
|
|
9
|
-
"in",
|
|
10
|
-
"if",
|
|
11
|
-
"existing"
|
|
12
|
-
], n = [
|
|
13
|
-
"true",
|
|
14
|
-
"false",
|
|
15
|
-
"null"
|
|
16
|
-
], r = "[ \\t\\r\\n]", i = "[0-9]+", a = {
|
|
17
|
-
comments: {
|
|
18
|
-
lineComment: "//",
|
|
19
|
-
blockComment: ["/*", "*/"]
|
|
20
|
-
},
|
|
21
|
-
brackets: [
|
|
22
|
-
["{", "}"],
|
|
23
|
-
["[", "]"],
|
|
24
|
-
["(", ")"]
|
|
25
|
-
],
|
|
26
|
-
surroundingPairs: [
|
|
27
|
-
{
|
|
28
|
-
open: "{",
|
|
29
|
-
close: "}"
|
|
30
|
-
},
|
|
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
|
-
autoClosingPairs: [
|
|
49
|
-
{
|
|
50
|
-
open: "{",
|
|
51
|
-
close: "}"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
open: "[",
|
|
55
|
-
close: "]"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
open: "(",
|
|
59
|
-
close: ")"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
open: "'",
|
|
63
|
-
close: "'",
|
|
64
|
-
notIn: ["string", "comment"]
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
open: "'''",
|
|
68
|
-
close: "'''",
|
|
69
|
-
notIn: ["string", "comment"]
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
autoCloseBefore: ":.,=}])' \n ",
|
|
73
|
-
indentationRules: {
|
|
74
|
-
increaseIndentPattern: /* @__PURE__ */ RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),
|
|
75
|
-
decreaseIndentPattern: /* @__PURE__ */ RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")
|
|
76
|
-
}
|
|
77
|
-
}, o = {
|
|
78
|
-
defaultToken: "",
|
|
79
|
-
tokenPostfix: ".bicep",
|
|
80
|
-
brackets: [
|
|
81
|
-
{
|
|
82
|
-
open: "{",
|
|
83
|
-
close: "}",
|
|
84
|
-
token: "delimiter.curly"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
open: "[",
|
|
88
|
-
close: "]",
|
|
89
|
-
token: "delimiter.square"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
open: "(",
|
|
93
|
-
close: ")",
|
|
94
|
-
token: "delimiter.parenthesis"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
symbols: /[=><!~?:&|+\-*/^%]+/,
|
|
98
|
-
keywords: t,
|
|
99
|
-
namedLiterals: n,
|
|
100
|
-
escapes: "\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",
|
|
101
|
-
tokenizer: {
|
|
102
|
-
root: [{ include: "@expression" }, { include: "@whitespace" }],
|
|
103
|
-
stringVerbatim: [{
|
|
104
|
-
regex: "(|'|'')[^']",
|
|
105
|
-
action: { token: "string" }
|
|
106
|
-
}, {
|
|
107
|
-
regex: "'''",
|
|
108
|
-
action: {
|
|
109
|
-
token: "string.quote",
|
|
110
|
-
next: "@pop"
|
|
111
|
-
}
|
|
112
|
-
}],
|
|
113
|
-
stringLiteral: [
|
|
114
|
-
{
|
|
115
|
-
regex: "\\${",
|
|
116
|
-
action: {
|
|
117
|
-
token: "delimiter.bracket",
|
|
118
|
-
next: "@bracketCounting"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
regex: "[^\\\\'$]+",
|
|
123
|
-
action: { token: "string" }
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
regex: "@escapes",
|
|
127
|
-
action: { token: "string.escape" }
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
regex: "\\\\.",
|
|
131
|
-
action: { token: "string.escape.invalid" }
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
regex: "'",
|
|
135
|
-
action: {
|
|
136
|
-
token: "string",
|
|
137
|
-
next: "@pop"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
bracketCounting: [
|
|
142
|
-
{
|
|
143
|
-
regex: "{",
|
|
144
|
-
action: {
|
|
145
|
-
token: "delimiter.bracket",
|
|
146
|
-
next: "@bracketCounting"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
regex: "}",
|
|
151
|
-
action: {
|
|
152
|
-
token: "delimiter.bracket",
|
|
153
|
-
next: "@pop"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{ include: "expression" }
|
|
157
|
-
],
|
|
158
|
-
comment: [
|
|
159
|
-
{
|
|
160
|
-
regex: "[^\\*]+",
|
|
161
|
-
action: { token: "comment" }
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
regex: "\\*\\/",
|
|
165
|
-
action: {
|
|
166
|
-
token: "comment",
|
|
167
|
-
next: "@pop"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
regex: "[\\/*]",
|
|
172
|
-
action: { token: "comment" }
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
whitespace: [
|
|
176
|
-
{ regex: r },
|
|
177
|
-
{
|
|
178
|
-
regex: "\\/\\*",
|
|
179
|
-
action: {
|
|
180
|
-
token: "comment",
|
|
181
|
-
next: "@comment"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
regex: "\\/\\/.*$",
|
|
186
|
-
action: { token: "comment" }
|
|
187
|
-
}
|
|
188
|
-
],
|
|
189
|
-
expression: [
|
|
190
|
-
{
|
|
191
|
-
regex: "'''",
|
|
192
|
-
action: {
|
|
193
|
-
token: "string.quote",
|
|
194
|
-
next: "@stringVerbatim"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
regex: "'",
|
|
199
|
-
action: {
|
|
200
|
-
token: "string.quote",
|
|
201
|
-
next: "@stringLiteral"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
regex: i,
|
|
206
|
-
action: { token: "number" }
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
regex: e,
|
|
210
|
-
action: { cases: {
|
|
211
|
-
"@keywords": { token: "keyword" },
|
|
212
|
-
"@namedLiterals": { token: "keyword" },
|
|
213
|
-
"@default": { token: "identifier" }
|
|
214
|
-
} }
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
//#endregion
|
|
220
|
-
export { a as conf, o as language };
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
//#region node_modules/monaco-editor/esm/vs/languages/definitions/clojure/clojure.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: { lineComment: ";;" },
|
|
4
|
-
brackets: [
|
|
5
|
-
["[", "]"],
|
|
6
|
-
["(", ")"],
|
|
7
|
-
["{", "}"]
|
|
8
|
-
],
|
|
9
|
-
autoClosingPairs: [
|
|
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
|
-
surroundingPairs: [
|
|
28
|
-
{
|
|
29
|
-
open: "[",
|
|
30
|
-
close: "]"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
open: "\"",
|
|
34
|
-
close: "\""
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
open: "(",
|
|
38
|
-
close: ")"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
open: "{",
|
|
42
|
-
close: "}"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
}, t = {
|
|
46
|
-
defaultToken: "",
|
|
47
|
-
ignoreCase: !0,
|
|
48
|
-
tokenPostfix: ".clj",
|
|
49
|
-
brackets: [
|
|
50
|
-
{
|
|
51
|
-
open: "[",
|
|
52
|
-
close: "]",
|
|
53
|
-
token: "delimiter.square"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
open: "(",
|
|
57
|
-
close: ")",
|
|
58
|
-
token: "delimiter.parenthesis"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
open: "{",
|
|
62
|
-
close: "}",
|
|
63
|
-
token: "delimiter.curly"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
constants: [
|
|
67
|
-
"true",
|
|
68
|
-
"false",
|
|
69
|
-
"nil"
|
|
70
|
-
],
|
|
71
|
-
numbers: /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
|
72
|
-
characters: /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
73
|
-
escapes: /^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
74
|
-
qualifiedSymbols: /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
75
|
-
specialForms: [
|
|
76
|
-
".",
|
|
77
|
-
"catch",
|
|
78
|
-
"def",
|
|
79
|
-
"do",
|
|
80
|
-
"if",
|
|
81
|
-
"monitor-enter",
|
|
82
|
-
"monitor-exit",
|
|
83
|
-
"new",
|
|
84
|
-
"quote",
|
|
85
|
-
"recur",
|
|
86
|
-
"set!",
|
|
87
|
-
"throw",
|
|
88
|
-
"try",
|
|
89
|
-
"var"
|
|
90
|
-
],
|
|
91
|
-
coreSymbols: /* @__PURE__ */ "*,*',*1,*2,*3,*agent*,*allow-unresolved-vars*,*assert*,*clojure-version*,*command-line-args*,*compile-files*,*compile-path*,*compiler-options*,*data-readers*,*default-data-reader-fn*,*e,*err*,*file*,*flush-on-newline*,*fn-loader*,*in*,*math-context*,*ns*,*out*,*print-dup*,*print-length*,*print-level*,*print-meta*,*print-namespace-maps*,*print-readably*,*read-eval*,*reader-resolver*,*source-path*,*suppress-read*,*unchecked-math*,*use-context-classloader*,*verbose-defrecords*,*warn-on-reflection*,+,+',-,-',->,->>,->ArrayChunk,->Eduction,->Vec,->VecNode,->VecSeq,-cache-protocol-fn,-reset-methods,..,/,<,<=,=,==,>,>=,EMPTY-NODE,Inst,StackTraceElement->vec,Throwable->map,accessor,aclone,add-classpath,add-watch,agent,agent-error,agent-errors,aget,alength,alias,all-ns,alter,alter-meta!,alter-var-root,amap,ancestors,and,any?,apply,areduce,array-map,as->,aset,aset-boolean,aset-byte,aset-char,aset-double,aset-float,aset-int,aset-long,aset-short,assert,assoc,assoc!,assoc-in,associative?,atom,await,await-for,await1,bases,bean,bigdec,bigint,biginteger,binding,bit-and,bit-and-not,bit-clear,bit-flip,bit-not,bit-or,bit-set,bit-shift-left,bit-shift-right,bit-test,bit-xor,boolean,boolean-array,boolean?,booleans,bound-fn,bound-fn*,bound?,bounded-count,butlast,byte,byte-array,bytes,bytes?,case,cast,cat,char,char-array,char-escape-string,char-name-string,char?,chars,chunk,chunk-append,chunk-buffer,chunk-cons,chunk-first,chunk-next,chunk-rest,chunked-seq?,class,class?,clear-agent-errors,clojure-version,coll?,comment,commute,comp,comparator,compare,compare-and-set!,compile,complement,completing,concat,cond,cond->,cond->>,condp,conj,conj!,cons,constantly,construct-proxy,contains?,count,counted?,create-ns,create-struct,cycle,dec,dec',decimal?,declare,dedupe,default-data-readers,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftype,delay,delay?,deliver,denominator,deref,derive,descendants,destructure,disj,disj!,dissoc,dissoc!,distinct,distinct?,doall,dorun,doseq,dosync,dotimes,doto,double,double-array,double?,doubles,drop,drop-last,drop-while,eduction,empty,empty?,ensure,ensure-reduced,enumeration-seq,error-handler,error-mode,eval,even?,every-pred,every?,ex-data,ex-info,extend,extend-protocol,extend-type,extenders,extends?,false?,ffirst,file-seq,filter,filterv,find,find-keyword,find-ns,find-protocol-impl,find-protocol-method,find-var,first,flatten,float,float-array,float?,floats,flush,fn,fn?,fnext,fnil,for,force,format,frequencies,future,future-call,future-cancel,future-cancelled?,future-done?,future?,gen-class,gen-interface,gensym,get,get-in,get-method,get-proxy-class,get-thread-bindings,get-validator,group-by,halt-when,hash,hash-combine,hash-map,hash-ordered-coll,hash-set,hash-unordered-coll,ident?,identical?,identity,if-let,if-not,if-some,ifn?,import,in-ns,inc,inc',indexed?,init-proxy,inst-ms,inst-ms*,inst?,instance?,int,int-array,int?,integer?,interleave,intern,interpose,into,into-array,ints,io!,isa?,iterate,iterator-seq,juxt,keep,keep-indexed,key,keys,keyword,keyword?,last,lazy-cat,lazy-seq,let,letfn,line-seq,list,list*,list?,load,load-file,load-reader,load-string,loaded-libs,locking,long,long-array,longs,loop,macroexpand,macroexpand-1,make-array,make-hierarchy,map,map-entry?,map-indexed,map?,mapcat,mapv,max,max-key,memfn,memoize,merge,merge-with,meta,method-sig,methods,min,min-key,mix-collection-hash,mod,munge,name,namespace,namespace-munge,nat-int?,neg-int?,neg?,newline,next,nfirst,nil?,nnext,not,not-any?,not-empty,not-every?,not=,ns,ns-aliases,ns-imports,ns-interns,ns-map,ns-name,ns-publics,ns-refers,ns-resolve,ns-unalias,ns-unmap,nth,nthnext,nthrest,num,number?,numerator,object-array,odd?,or,parents,partial,partition,partition-all,partition-by,pcalls,peek,persistent!,pmap,pop,pop!,pop-thread-bindings,pos-int?,pos?,pr,pr-str,prefer-method,prefers,primitives-classnames,print,print-ctor,print-dup,print-method,print-simple,print-str,printf,println,println-str,prn,prn-str,promise,proxy,proxy-call-with-super,proxy-mappings,proxy-name,proxy-super,push-thread-bindings,pvalues,qualified-ident?,qualified-keyword?,qualified-symbol?,quot,rand,rand-int,rand-nth,random-sample,range,ratio?,rational?,rationalize,re-find,re-groups,re-matcher,re-matches,re-pattern,re-seq,read,read-line,read-string,reader-conditional,reader-conditional?,realized?,record?,reduce,reduce-kv,reduced,reduced?,reductions,ref,ref-history-count,ref-max-history,ref-min-history,ref-set,refer,refer-clojure,reify,release-pending-sends,rem,remove,remove-all-methods,remove-method,remove-ns,remove-watch,repeat,repeatedly,replace,replicate,require,reset!,reset-meta!,reset-vals!,resolve,rest,restart-agent,resultset-seq,reverse,reversible?,rseq,rsubseq,run!,satisfies?,second,select-keys,send,send-off,send-via,seq,seq?,seqable?,seque,sequence,sequential?,set,set-agent-send-executor!,set-agent-send-off-executor!,set-error-handler!,set-error-mode!,set-validator!,set?,short,short-array,shorts,shuffle,shutdown-agents,simple-ident?,simple-keyword?,simple-symbol?,slurp,some,some->,some->>,some-fn,some?,sort,sort-by,sorted-map,sorted-map-by,sorted-set,sorted-set-by,sorted?,special-symbol?,spit,split-at,split-with,str,string?,struct,struct-map,subs,subseq,subvec,supers,swap!,swap-vals!,symbol,symbol?,sync,tagged-literal,tagged-literal?,take,take-last,take-nth,take-while,test,the-ns,thread-bound?,time,to-array,to-array-2d,trampoline,transduce,transient,tree-seq,true?,type,unchecked-add,unchecked-add-int,unchecked-byte,unchecked-char,unchecked-dec,unchecked-dec-int,unchecked-divide-int,unchecked-double,unchecked-float,unchecked-inc,unchecked-inc-int,unchecked-int,unchecked-long,unchecked-multiply,unchecked-multiply-int,unchecked-negate,unchecked-negate-int,unchecked-remainder-int,unchecked-short,unchecked-subtract,unchecked-subtract-int,underive,unquote,unquote-splicing,unreduced,unsigned-bit-shift-right,update,update-in,update-proxy,uri?,use,uuid?,val,vals,var-get,var-set,var?,vary-meta,vec,vector,vector-of,vector?,volatile!,volatile?,vreset!,vswap!,when,when-first,when-let,when-not,when-some,while,with-bindings,with-bindings*,with-in-str,with-loading-context,with-local-vars,with-meta,with-open,with-out-str,with-precision,with-redefs,with-redefs-fn,xml-seq,zero?,zipmap".split(","),
|
|
92
|
-
tokenizer: {
|
|
93
|
-
root: [
|
|
94
|
-
{ include: "@whitespace" },
|
|
95
|
-
[/@numbers/, "number"],
|
|
96
|
-
[/@characters/, "string"],
|
|
97
|
-
{ include: "@string" },
|
|
98
|
-
[/[()\[\]{}]/, "@brackets"],
|
|
99
|
-
[/\/#"(?:\.|(?:")|[^"\n])*"\/g/, "regexp"],
|
|
100
|
-
[/[#'@^`~]/, "meta"],
|
|
101
|
-
[/@qualifiedSymbols/, { cases: {
|
|
102
|
-
"^:.+$": "constant",
|
|
103
|
-
"@specialForms": "keyword",
|
|
104
|
-
"@coreSymbols": "keyword",
|
|
105
|
-
"@constants": "constant",
|
|
106
|
-
"@default": "identifier"
|
|
107
|
-
} }]
|
|
108
|
-
],
|
|
109
|
-
whitespace: [
|
|
110
|
-
[/[\s,]+/, "white"],
|
|
111
|
-
[/;.*$/, "comment"],
|
|
112
|
-
[
|
|
113
|
-
/\(comment\b/,
|
|
114
|
-
"comment",
|
|
115
|
-
"@comment"
|
|
116
|
-
]
|
|
117
|
-
],
|
|
118
|
-
comment: [
|
|
119
|
-
[
|
|
120
|
-
/\(/,
|
|
121
|
-
"comment",
|
|
122
|
-
"@push"
|
|
123
|
-
],
|
|
124
|
-
[
|
|
125
|
-
/\)/,
|
|
126
|
-
"comment",
|
|
127
|
-
"@pop"
|
|
128
|
-
],
|
|
129
|
-
[/[^()]/, "comment"]
|
|
130
|
-
],
|
|
131
|
-
string: [[
|
|
132
|
-
/"/,
|
|
133
|
-
"string",
|
|
134
|
-
"@multiLineString"
|
|
135
|
-
]],
|
|
136
|
-
multiLineString: [
|
|
137
|
-
[
|
|
138
|
-
/"/,
|
|
139
|
-
"string",
|
|
140
|
-
"@popall"
|
|
141
|
-
],
|
|
142
|
-
[/@escapes/, "string.escape"],
|
|
143
|
-
[/./, "string"]
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
//#endregion
|
|
148
|
-
export { e as conf, t as language };
|