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.
Files changed (197) hide show
  1. package/dist/assets/editor.worker-iXcRX1Tq.js +26 -0
  2. package/dist/index.d.ts +2 -3
  3. package/dist/monaco-editor11.es.js +55 -0
  4. package/dist/monaco-editor11.umd.js +1 -0
  5. package/dist/views/Home.vue.d.ts +1 -1
  6. package/dist/worker/json.worker.js +0 -0
  7. package/package.json +9 -13
  8. package/dist/abap-BmV14C8H.js +0 -1
  9. package/dist/abap-CrvW7_qN.mjs +0 -1398
  10. package/dist/apex-BAOI8p1v.mjs +0 -327
  11. package/dist/apex-vQDebnNk.js +0 -1
  12. package/dist/azcli-BlCk_UqW.mjs +0 -68
  13. package/dist/azcli-C4hxwus7.js +0 -1
  14. package/dist/bat-DPoEelVx.mjs +0 -100
  15. package/dist/bat-DYHIOgJW.js +0 -1
  16. package/dist/bicep-BJDZ3U7c.js +0 -2
  17. package/dist/bicep-Cp1F394l.mjs +0 -102
  18. package/dist/cameligo-CWqtSlQs.mjs +0 -174
  19. package/dist/cameligo-l0J6eaPU.js +0 -1
  20. package/dist/clojure-BUv_1vEn.js +0 -1
  21. package/dist/clojure-CKBp32Gf.mjs +0 -761
  22. package/dist/coffee-CDo6vc-J.mjs +0 -232
  23. package/dist/coffee-Cw3141X6.js +0 -1
  24. package/dist/cpp-CHPWmTTa.js +0 -1
  25. package/dist/cpp-DokufPgf.mjs +0 -389
  26. package/dist/csharp-0ISFInBU.js +0 -1
  27. package/dist/csharp-BQi3szM0.mjs +0 -326
  28. package/dist/csp-BSGtCCZ-.mjs +0 -53
  29. package/dist/csp-Dcy9EUAZ.js +0 -1
  30. package/dist/css-DEPFDJfb.mjs +0 -187
  31. package/dist/css-UDjyEDNM.js +0 -3
  32. package/dist/css.worker.js +0 -66
  33. package/dist/cssMode-CZvh5Cxi.js +0 -1
  34. package/dist/cssMode-D5wFpBcJ.mjs +0 -141
  35. package/dist/cypher-BoSKj8sy.js +0 -1
  36. package/dist/cypher-DAb1vOxS.mjs +0 -263
  37. package/dist/dart-75fOVMIC.js +0 -1
  38. package/dist/dart-C8p4jewR.mjs +0 -281
  39. package/dist/dockerfile-CeTDdZJB.js +0 -1
  40. package/dist/dockerfile-DP0iLFPN.mjs +0 -130
  41. package/dist/ecl-BDQHA6fi.mjs +0 -456
  42. package/dist/ecl-BZ8GfbIS.js +0 -1
  43. package/dist/editor.worker.js +0 -1
  44. package/dist/editorWorkerHost-CXSl__Sw.mjs +0 -11917
  45. package/dist/editorWorkerHost-J3OLr02l.js +0 -33
  46. package/dist/elixir-D4II6kDM.mjs +0 -569
  47. package/dist/elixir-HwUoMs-6.js +0 -1
  48. package/dist/flow9-Co-egZvn.js +0 -1
  49. package/dist/flow9-StcnL-VB.mjs +0 -142
  50. package/dist/freemarker2-0KWO0y3D.mjs +0 -982
  51. package/dist/freemarker2-CWgJ4a-p.js +0 -3
  52. package/dist/fsharp-By4FMj_K.js +0 -1
  53. package/dist/fsharp-DdUVp3EN.mjs +0 -217
  54. package/dist/go-D0-3Iavh.js +0 -1
  55. package/dist/go-D1-I258M.mjs +0 -218
  56. package/dist/graphql-DWkL3f8U.mjs +0 -151
  57. package/dist/graphql-arXy5b1U.js +0 -1
  58. package/dist/handlebars-B3DRUYqI.js +0 -1
  59. package/dist/handlebars-CtTh3MzK.mjs +0 -412
  60. package/dist/hcl-DQpT3BXv.js +0 -1
  61. package/dist/hcl-D_0MNifv.mjs +0 -183
  62. package/dist/html-Bfagd5f8.mjs +0 -301
  63. package/dist/html-Cq6ODg2A.js +0 -1
  64. package/dist/htmlMode-BCWHN8H1.js +0 -1
  65. package/dist/htmlMode-Ca4o_48E.mjs +0 -152
  66. package/dist/index-BnVmN2qp.js +0 -875
  67. package/dist/index-CcXLAo11.js +0 -1
  68. package/dist/index-D7fx9aNv.mjs +0 -498
  69. package/dist/index-DnKFAZ-F.mjs +0 -117301
  70. package/dist/index.js +0 -1
  71. package/dist/ini-C4I2-MT7.mjs +0 -71
  72. package/dist/ini-CHrdBSR6.js +0 -1
  73. package/dist/initialize-7Tsg9DJ6.mjs +0 -44
  74. package/dist/initialize-8Cpp42Fp.js +0 -1
  75. package/dist/java-DkNlCtA8.js +0 -1
  76. package/dist/java-OBvaP_SS.mjs +0 -232
  77. package/dist/javascript-C_YSapv9.js +0 -1
  78. package/dist/javascript-D2KmymLa.mjs +0 -70
  79. package/dist/json.worker.js +0 -17
  80. package/dist/jsonMode-DaXUMuRa.js +0 -1
  81. package/dist/jsonMode-Dnqj4FWW.mjs +0 -306
  82. package/dist/julia-BmDH8Kkf.mjs +0 -511
  83. package/dist/julia-D2YHJdZy.js +0 -1
  84. package/dist/kotlin-BSyr2f_w.js +0 -1
  85. package/dist/kotlin-Dhu5AGOD.mjs +0 -252
  86. package/dist/less-C8csD237.js +0 -2
  87. package/dist/less-CzmjXREq.mjs +0 -162
  88. package/dist/lexon-CV2c4pN9.mjs +0 -157
  89. package/dist/lexon-Dg5XMXM-.js +0 -1
  90. package/dist/liquid-CQtA4TA-.mjs +0 -233
  91. package/dist/liquid-Dc6vO2KK.js +0 -1
  92. package/dist/lspLanguageFeatures-CeustN1U.js +0 -2
  93. package/dist/lspLanguageFeatures-DUzyYYsS.mjs +0 -534
  94. package/dist/lua-BOoO7Ej7.js +0 -1
  95. package/dist/lua-CFY5U8qF.mjs +0 -162
  96. package/dist/m3-BL_AnZVh.mjs +0 -210
  97. package/dist/m3-Bny7JARg.js +0 -1
  98. package/dist/main-B2xgQ6G2.mjs +0 -687
  99. package/dist/main-C27EQSK2.mjs +0 -947
  100. package/dist/main-DXJICgQq.js +0 -3
  101. package/dist/main-Dt1Bdcpc.js +0 -15
  102. package/dist/markdown-CWKQPXCv.mjs +0 -229
  103. package/dist/markdown-cseWCS9n.js +0 -1
  104. package/dist/mdx-C2nK3qTe.js +0 -1
  105. package/dist/mdx-cjfOdSKt.mjs +0 -158
  106. package/dist/mips-7JuqcyJ4.js +0 -1
  107. package/dist/mips-ButYmJ5E.mjs +0 -198
  108. package/dist/monaco-editor11.css +0 -1
  109. package/dist/msdax-BmYA5eV5.js +0 -1
  110. package/dist/msdax-C3cnXqDh.mjs +0 -375
  111. package/dist/mysql-CHTrPhJ_.js +0 -1
  112. package/dist/mysql-YlSHaf6G.mjs +0 -878
  113. package/dist/objective-c-CUdbM2R7.js +0 -1
  114. package/dist/objective-c-Dwnlproe.mjs +0 -183
  115. package/dist/pascal-CNC6uGuD.js +0 -1
  116. package/dist/pascal-UzGbSWEN.mjs +0 -251
  117. package/dist/pascaligo-BEZzSZnI.js +0 -1
  118. package/dist/pascaligo-CslTgu68.mjs +0 -164
  119. package/dist/perl-JOl0jAD9.js +0 -1
  120. package/dist/perl-oj6r_mgw.mjs +0 -626
  121. package/dist/pgsql-BlC3cJBr.js +0 -1
  122. package/dist/pgsql-DSBO0Mev.mjs +0 -851
  123. package/dist/php-6ijfJ2jK.js +0 -1
  124. package/dist/php-YzCD--7j.mjs +0 -500
  125. package/dist/pla-CmylB8vQ.mjs +0 -137
  126. package/dist/pla-DB8tU9Tm.js +0 -1
  127. package/dist/postiats-BMJJQsUH.js +0 -1
  128. package/dist/postiats-CLFW5gNY.mjs +0 -907
  129. package/dist/powerquery-CmOWUvlh.mjs +0 -890
  130. package/dist/powerquery-CoLfQ6__.js +0 -1
  131. package/dist/powershell-BA5owzqH.js +0 -1
  132. package/dist/powershell-fHQcmBLK.mjs +0 -239
  133. package/dist/protobuf-DUMRTG9C.js +0 -2
  134. package/dist/protobuf-p5BArb-9.mjs +0 -420
  135. package/dist/pug-D3HDBCR9.js +0 -1
  136. package/dist/pug-gVdUDvqf.mjs +0 -402
  137. package/dist/python-BaSW5leI.js +0 -1
  138. package/dist/python-DA6ByLCZ.mjs +0 -294
  139. package/dist/qsharp-DN7Y6XhL.js +0 -1
  140. package/dist/qsharp-DnrWSUlt.mjs +0 -301
  141. package/dist/r-Bc6rlFXl.js +0 -1
  142. package/dist/r-Cv309K2z.mjs +0 -243
  143. package/dist/razor-3z9XYGZf.mjs +0 -543
  144. package/dist/razor-nQE2Djhf.js +0 -1
  145. package/dist/redis-BVBmvApp.js +0 -1
  146. package/dist/redis-DTcS4wMj.mjs +0 -302
  147. package/dist/redshift-BdEMv0YI.js +0 -1
  148. package/dist/redshift-hLxZVESM.mjs +0 -809
  149. package/dist/restructuredtext-C898lK4f.mjs +0 -174
  150. package/dist/restructuredtext-Cwgkbiv3.js +0 -1
  151. package/dist/ruby-BPqQ0TOE.js +0 -1
  152. package/dist/ruby-CgKtnJIQ.mjs +0 -511
  153. package/dist/rust-DGojqpAN.js +0 -1
  154. package/dist/rust-bj8oxVnh.mjs +0 -343
  155. package/dist/sb-B572kJZe.js +0 -1
  156. package/dist/sb-DWynz26l.mjs +0 -115
  157. package/dist/scala-BL5z1UEd.mjs +0 -370
  158. package/dist/scala-CDQ1h1Nd.js +0 -1
  159. package/dist/scheme-CgaAfqMQ.js +0 -1
  160. package/dist/scheme-DUJsH6VU.mjs +0 -108
  161. package/dist/scss-CxjmhvaL.mjs +0 -262
  162. package/dist/scss-DZHIl239.js +0 -3
  163. package/dist/shell-D14Zs1dF.mjs +0 -221
  164. package/dist/shell-D5kOdfAA.js +0 -1
  165. package/dist/solidity-D6vCwnFo.js +0 -1
  166. package/dist/solidity-WyRm-BGK.mjs +0 -1367
  167. package/dist/sophia-BJdevZpo.js +0 -1
  168. package/dist/sophia-CKk-_Oa5.mjs +0 -199
  169. package/dist/sparql-DHtmINMZ.mjs +0 -201
  170. package/dist/sparql-v4dsLpAQ.js +0 -1
  171. package/dist/sql-Dqaj5JHC.mjs +0 -853
  172. package/dist/sql-RAt0uxGh.js +0 -1
  173. package/dist/st-Bj2IIaop.mjs +0 -416
  174. package/dist/st-CjwpLApO.js +0 -1
  175. package/dist/swift-BcIVfYEa.js +0 -3
  176. package/dist/swift-DwxP72iM.mjs +0 -312
  177. package/dist/systemverilog-CX2A8v2w.js +0 -1
  178. package/dist/systemverilog-D7wJfuql.mjs +0 -576
  179. package/dist/tcl-0ApMt-eC.mjs +0 -232
  180. package/dist/tcl-CCvdS1Ng.js +0 -1
  181. package/dist/ts.worker.js +0 -67706
  182. package/dist/tsMode-CieVaThB.js +0 -11
  183. package/dist/tsMode-pbVGEqHg.mjs +0 -946
  184. package/dist/twig-DxwbdmvQ.mjs +0 -392
  185. package/dist/twig-KWJe-gee.js +0 -1
  186. package/dist/typescript-CL7lZGgL.mjs +0 -336
  187. package/dist/typescript-D-fgoGBJ.js +0 -1
  188. package/dist/typespec-Fd-JwSuS.mjs +0 -117
  189. package/dist/typespec-gb5rMy4D.js +0 -1
  190. package/dist/vb-CxuyYE1I.mjs +0 -372
  191. package/dist/vb-D2rfixXK.js +0 -1
  192. package/dist/wgsl-DoEGc31J.mjs +0 -439
  193. package/dist/wgsl-Dpy8Oyoq.js +0 -298
  194. package/dist/xml-Dm8zU0Zq.mjs +0 -88
  195. package/dist/xml-luJ1w-__.js +0 -1
  196. package/dist/yaml-DDKFPb37.mjs +0 -199
  197. package/dist/yaml-DZkx0RTO.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},t={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};exports.conf=e;exports.language=t;
@@ -1,199 +0,0 @@
1
- const e = {
2
- comments: {
3
- lineComment: "//",
4
- blockComment: ["/*", "*/"]
5
- },
6
- brackets: [
7
- ["{", "}"],
8
- ["[", "]"],
9
- ["(", ")"],
10
- ["<", ">"]
11
- ],
12
- autoClosingPairs: [
13
- { open: '"', close: '"', notIn: ["string", "comment"] },
14
- { open: "{", close: "}", notIn: ["string", "comment"] },
15
- { open: "[", close: "]", notIn: ["string", "comment"] },
16
- { open: "(", close: ")", notIn: ["string", "comment"] }
17
- ]
18
- }, t = {
19
- defaultToken: "",
20
- tokenPostfix: ".aes",
21
- brackets: [
22
- { token: "delimiter.curly", open: "{", close: "}" },
23
- { token: "delimiter.parenthesis", open: "(", close: ")" },
24
- { token: "delimiter.square", open: "[", close: "]" },
25
- { token: "delimiter.angle", open: "<", close: ">" }
26
- ],
27
- keywords: [
28
- // Main keywords
29
- "contract",
30
- "library",
31
- "entrypoint",
32
- "function",
33
- "stateful",
34
- "state",
35
- "hash",
36
- "signature",
37
- "tuple",
38
- "list",
39
- "address",
40
- "string",
41
- "bool",
42
- "int",
43
- "record",
44
- "datatype",
45
- "type",
46
- "option",
47
- "oracle",
48
- "oracle_query",
49
- "Call",
50
- "Bits",
51
- "Bytes",
52
- "Oracle",
53
- "String",
54
- "Crypto",
55
- "Address",
56
- "Auth",
57
- "Chain",
58
- "None",
59
- "Some",
60
- "bits",
61
- "bytes",
62
- "event",
63
- "let",
64
- "map",
65
- "private",
66
- "public",
67
- "true",
68
- "false",
69
- "var",
70
- "if",
71
- "else",
72
- "throw"
73
- ],
74
- operators: [
75
- "=",
76
- ">",
77
- "<",
78
- "!",
79
- "~",
80
- "?",
81
- "::",
82
- ":",
83
- "==",
84
- "<=",
85
- ">=",
86
- "!=",
87
- "&&",
88
- "||",
89
- "++",
90
- "--",
91
- "+",
92
- "-",
93
- "*",
94
- "/",
95
- "&",
96
- "|",
97
- "^",
98
- "%",
99
- "<<",
100
- ">>",
101
- ">>>",
102
- "+=",
103
- "-=",
104
- "*=",
105
- "/=",
106
- "&=",
107
- "|=",
108
- "^=",
109
- "%=",
110
- "<<=",
111
- ">>=",
112
- ">>>="
113
- ],
114
- // we include these common regular expressions
115
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
116
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
117
- integersuffix: /(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,
118
- floatsuffix: /[fFlL]?/,
119
- // The main tokenizer for our languages
120
- tokenizer: {
121
- root: [
122
- // identifiers and keywords
123
- [
124
- /[a-zA-Z_]\w*/,
125
- {
126
- cases: {
127
- "@keywords": { token: "keyword.$0" },
128
- "@default": "identifier"
129
- }
130
- }
131
- ],
132
- // whitespace
133
- { include: "@whitespace" },
134
- // [[ attributes ]].
135
- [/\[\[.*\]\]/, "annotation"],
136
- // Preprocessor directive
137
- [/^\s*#\w+/, "keyword"],
138
- //DataTypes
139
- [/int\d*/, "keyword"],
140
- // delimiters and operators
141
- [/[{}()\[\]]/, "@brackets"],
142
- [/[<>](?!@symbols)/, "@brackets"],
143
- [
144
- /@symbols/,
145
- {
146
- cases: {
147
- "@operators": "delimiter",
148
- "@default": ""
149
- }
150
- }
151
- ],
152
- // numbers
153
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
154
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
155
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
156
- [/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
157
- [/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
158
- [/\d[\d']*\d(@integersuffix)/, "number"],
159
- [/\d(@integersuffix)/, "number"],
160
- // delimiter: after number because of .\d floats
161
- [/[;,.]/, "delimiter"],
162
- // strings
163
- [/"([^"\\]|\\.)*$/, "string.invalid"],
164
- // non-teminated string
165
- [/"/, "string", "@string"],
166
- // characters
167
- [/'[^\\']'/, "string"],
168
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
169
- [/'/, "string.invalid"]
170
- ],
171
- whitespace: [
172
- [/[ \t\r\n]+/, ""],
173
- [/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
174
- [/\/\*/, "comment", "@comment"],
175
- [/\/\/.*$/, "comment"]
176
- ],
177
- comment: [
178
- [/[^\/*]+/, "comment"],
179
- [/\*\//, "comment", "@pop"],
180
- [/[\/*]/, "comment"]
181
- ],
182
- //Identical copy of comment above, except for the addition of .doc
183
- doccomment: [
184
- [/[^\/*]+/, "comment.doc"],
185
- [/\*\//, "comment.doc", "@pop"],
186
- [/[\/*]/, "comment.doc"]
187
- ],
188
- string: [
189
- [/[^\\"]+/, "string"],
190
- [/@escapes/, "string.escape"],
191
- [/\\./, "string.escape.invalid"],
192
- [/"/, "string", "@pop"]
193
- ]
194
- }
195
- };
196
- export {
197
- e as conf,
198
- t as language
199
- };
@@ -1,201 +0,0 @@
1
- const e = {
2
- comments: {
3
- lineComment: "#"
4
- },
5
- brackets: [
6
- ["{", "}"],
7
- ["[", "]"],
8
- ["(", ")"]
9
- ],
10
- autoClosingPairs: [
11
- { open: "'", close: "'", notIn: ["string"] },
12
- { open: '"', close: '"', notIn: ["string"] },
13
- { open: "{", close: "}" },
14
- { open: "[", close: "]" },
15
- { open: "(", close: ")" }
16
- ]
17
- }, s = {
18
- defaultToken: "",
19
- tokenPostfix: ".rq",
20
- brackets: [
21
- { token: "delimiter.curly", open: "{", close: "}" },
22
- { token: "delimiter.parenthesis", open: "(", close: ")" },
23
- { token: "delimiter.square", open: "[", close: "]" },
24
- { token: "delimiter.angle", open: "<", close: ">" }
25
- ],
26
- keywords: [
27
- "add",
28
- "as",
29
- "asc",
30
- "ask",
31
- "base",
32
- "by",
33
- "clear",
34
- "construct",
35
- "copy",
36
- "create",
37
- "data",
38
- "delete",
39
- "desc",
40
- "describe",
41
- "distinct",
42
- "drop",
43
- "false",
44
- "filter",
45
- "from",
46
- "graph",
47
- "group",
48
- "having",
49
- "in",
50
- "insert",
51
- "limit",
52
- "load",
53
- "minus",
54
- "move",
55
- "named",
56
- "not",
57
- "offset",
58
- "optional",
59
- "order",
60
- "prefix",
61
- "reduced",
62
- "select",
63
- "service",
64
- "silent",
65
- "to",
66
- "true",
67
- "undef",
68
- "union",
69
- "using",
70
- "values",
71
- "where",
72
- "with"
73
- ],
74
- builtinFunctions: [
75
- "a",
76
- "abs",
77
- "avg",
78
- "bind",
79
- "bnode",
80
- "bound",
81
- "ceil",
82
- "coalesce",
83
- "concat",
84
- "contains",
85
- "count",
86
- "datatype",
87
- "day",
88
- "encode_for_uri",
89
- "exists",
90
- "floor",
91
- "group_concat",
92
- "hours",
93
- "if",
94
- "iri",
95
- "isblank",
96
- "isiri",
97
- "isliteral",
98
- "isnumeric",
99
- "isuri",
100
- "lang",
101
- "langmatches",
102
- "lcase",
103
- "max",
104
- "md5",
105
- "min",
106
- "minutes",
107
- "month",
108
- "now",
109
- "rand",
110
- "regex",
111
- "replace",
112
- "round",
113
- "sameterm",
114
- "sample",
115
- "seconds",
116
- "sha1",
117
- "sha256",
118
- "sha384",
119
- "sha512",
120
- "str",
121
- "strafter",
122
- "strbefore",
123
- "strdt",
124
- "strends",
125
- "strlang",
126
- "strlen",
127
- "strstarts",
128
- "struuid",
129
- "substr",
130
- "sum",
131
- "timezone",
132
- "tz",
133
- "ucase",
134
- "uri",
135
- "uuid",
136
- "year"
137
- ],
138
- // describe tokens
139
- ignoreCase: !0,
140
- tokenizer: {
141
- root: [
142
- // resource indicators
143
- [/<[^\s\u00a0>]*>?/, "tag"],
144
- // strings
145
- { include: "@strings" },
146
- // line comment
147
- [/#.*/, "comment"],
148
- // special chars with special meaning
149
- [/[{}()\[\]]/, "@brackets"],
150
- [/[;,.]/, "delimiter"],
151
- // (prefixed) name
152
- [/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/, "tag"],
153
- [/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/, "tag"],
154
- // identifiers, builtinFunctions and keywords
155
- [
156
- /[$?]?[_\w\d]+/,
157
- {
158
- cases: {
159
- "@keywords": { token: "keyword" },
160
- "@builtinFunctions": { token: "predefined.sql" },
161
- "@default": "identifier"
162
- }
163
- }
164
- ],
165
- // operators
166
- [/\^\^/, "operator.sql"],
167
- [/\^[*+\-<>=&|^\/!?]*/, "operator.sql"],
168
- [/[*+\-<>=&|\/!?]/, "operator.sql"],
169
- // symbol
170
- [/@[a-z\d\-]*/, "metatag.html"],
171
- // whitespaces
172
- [/\s+/, "white"]
173
- ],
174
- strings: [
175
- [/'([^'\\]|\\.)*$/, "string.invalid"],
176
- // non-terminated single-quoted string
177
- [/'$/, "string.sql", "@pop"],
178
- [/'/, "string.sql", "@stringBody"],
179
- [/"([^"\\]|\\.)*$/, "string.invalid"],
180
- // non-terminated single-quoted string
181
- [/"$/, "string.sql", "@pop"],
182
- [/"/, "string.sql", "@dblStringBody"]
183
- ],
184
- // single-quoted strings
185
- stringBody: [
186
- [/[^\\']+/, "string.sql"],
187
- [/\\./, "string.escape"],
188
- [/'/, "string.sql", "@pop"]
189
- ],
190
- // double-quoted strings
191
- dblStringBody: [
192
- [/[^\\"]+/, "string.sql"],
193
- [/\\./, "string.escape"],
194
- [/"/, "string.sql", "@pop"]
195
- ]
196
- }
197
- };
198
- export {
199
- e as conf,
200
- s as language
201
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"'",close:"'",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]},s={defaultToken:"",tokenPostfix:".rq",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["add","as","asc","ask","base","by","clear","construct","copy","create","data","delete","desc","describe","distinct","drop","false","filter","from","graph","group","having","in","insert","limit","load","minus","move","named","not","offset","optional","order","prefix","reduced","select","service","silent","to","true","undef","union","using","values","where","with"],builtinFunctions:["a","abs","avg","bind","bnode","bound","ceil","coalesce","concat","contains","count","datatype","day","encode_for_uri","exists","floor","group_concat","hours","if","iri","isblank","isiri","isliteral","isnumeric","isuri","lang","langmatches","lcase","max","md5","min","minutes","month","now","rand","regex","replace","round","sameterm","sample","seconds","sha1","sha256","sha384","sha512","str","strafter","strbefore","strdt","strends","strlang","strlen","strstarts","struuid","substr","sum","timezone","tz","ucase","uri","uuid","year"],ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,"tag"],{include:"@strings"},[/#.*/,"comment"],[/[{}()\[\]]/,"@brackets"],[/[;,.]/,"delimiter"],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,"tag"],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,"tag"],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:"keyword"},"@builtinFunctions":{token:"predefined.sql"},"@default":"identifier"}}],[/\^\^/,"operator.sql"],[/\^[*+\-<>=&|^\/!?]*/,"operator.sql"],[/[*+\-<>=&|\/!?]/,"operator.sql"],[/@[a-z\d\-]*/,"metatag.html"],[/\s+/,"white"]],strings:[[/'([^'\\]|\\.)*$/,"string.invalid"],[/'$/,"string.sql","@pop"],[/'/,"string.sql","@stringBody"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"$/,"string.sql","@pop"],[/"/,"string.sql","@dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}};exports.conf=e;exports.language=s;