@codingame/monaco-editor-wrapper 3.9.2 → 4.0.0-next.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.
Files changed (535) hide show
  1. package/dist/C2Hs-configuration.json.js +3 -0
  2. package/dist/C2Hs.json.js +3 -0
  3. package/dist/COBOL.tmLanguage.json.js +3 -0
  4. package/dist/Erlang.plist.js +2 -1751
  5. package/dist/Hsc2Hs-configuration.json.js +3 -0
  6. package/dist/Hsc2Hs.json.js +3 -0
  7. package/dist/JavaProperties.tmLanguage.json.js +3 -0
  8. package/dist/Kotlin.tmLanguage.js +2 -723
  9. package/dist/META.json.js +3 -0
  10. package/dist/META.json2.js +3 -0
  11. package/dist/Markdown Redcarpet.json.js +3 -0
  12. package/dist/RMarkdown.json.js +3 -0
  13. package/dist/Rcpp.json.js +3 -0
  14. package/dist/Rd (R Documentation).json.js +3 -0
  15. package/dist/Scala.tmLanguage.json.js +3 -0
  16. package/dist/_commonjsHelpers.js +35 -0
  17. package/dist/_rollupPluginBabelHelpers.js +1 -1
  18. package/dist/add.svg.js +3 -0
  19. package/dist/add.svg2.js +3 -0
  20. package/dist/adddep-dark.svg.js +3 -0
  21. package/dist/adddep-light.svg.js +3 -0
  22. package/dist/alex.json.js +3 -0
  23. package/dist/angular-directives.json.js +3 -0
  24. package/dist/angular-interpolations.json.js +3 -0
  25. package/dist/angular-template-language-configuration.json.js +3 -0
  26. package/dist/arrow-circle-up-dark.svg.js +3 -0
  27. package/dist/arrow-circle-up-light.svg.js +3 -0
  28. package/dist/aspnetcorerazor.tmLanguage.json.js +3 -0
  29. package/dist/atd.json.js +3 -0
  30. package/dist/book-dark.svg.js +3 -0
  31. package/dist/book-light.svg.js +3 -0
  32. package/dist/book-open-dark.svg.js +3 -0
  33. package/dist/book-open-light.svg.js +3 -0
  34. package/dist/buildtarget.json.js +3 -0
  35. package/dist/cabal-configuration.json.js +3 -0
  36. package/dist/cabal.json.js +3 -0
  37. package/dist/codeblock-cabal.json.js +3 -0
  38. package/dist/codeblock-haskell.json.js +3 -0
  39. package/dist/codeblock-literate-haskell.json.js +3 -0
  40. package/dist/codeblock.json.js +3 -0
  41. package/dist/codeblock.json2.js +3 -0
  42. package/dist/configuration/index.d.ts +0 -1
  43. package/dist/cram.json.js +3 -0
  44. package/dist/csharp.json.js +3 -0
  45. package/dist/css.worker.js +1 -1
  46. package/dist/d.json.js +3 -0
  47. package/dist/d.json2.js +3 -0
  48. package/dist/dart-language-configuration.json.js +3 -0
  49. package/dist/dart.json.js +3 -0
  50. package/dist/dcf-configuration.json.js +3 -0
  51. package/dist/dcf.json.js +3 -0
  52. package/dist/diet.json.js +3 -0
  53. package/dist/diet.json2.js +3 -0
  54. package/dist/diet.json3.js +3 -0
  55. package/dist/django-html.tmLanguage.json.js +3 -0
  56. package/dist/django-txt.tmLanguage.json.js +3 -0
  57. package/dist/dml.json.js +3 -0
  58. package/dist/document-search-dark.svg.js +3 -0
  59. package/dist/document-search-light.svg.js +3 -0
  60. package/dist/documentation-inverse.svg.js +3 -0
  61. package/dist/documentation.svg.js +3 -0
  62. package/dist/dub-convert-inverse.svg.js +3 -0
  63. package/dist/dub-convert.svg.js +3 -0
  64. package/dist/dune-project.json.js +3 -0
  65. package/dist/dune-project.json2.js +3 -0
  66. package/dist/dune-workspace.json.js +3 -0
  67. package/dist/dune.json.js +3 -0
  68. package/dist/dune.json2.js +3 -0
  69. package/dist/dune.json3.js +3 -0
  70. package/dist/edit-dub-inverse.svg.js +3 -0
  71. package/dist/edit-dub.svg.js +3 -0
  72. package/dist/edit-source-inverse.svg.js +3 -0
  73. package/dist/edit-source.svg.js +3 -0
  74. package/dist/eex-language-configuration.json.js +3 -0
  75. package/dist/eex.json.js +3 -0
  76. package/dist/elixir-language-configuration.json.js +3 -0
  77. package/dist/elixir.json.js +3 -0
  78. package/dist/erlang.configuration.json.js +3 -0
  79. package/dist/erlang.json.js +3 -0
  80. package/dist/expression.json.js +3 -0
  81. package/dist/extension-web.js.js +3 -0
  82. package/dist/extension-web.js2.js +3 -0
  83. package/dist/extension.browser.js.js +3 -0
  84. package/dist/extensions.d.ts +35 -0
  85. package/dist/features/htmlContribution.js +0 -1
  86. package/dist/features/jsonContribution.d.ts +2 -4
  87. package/dist/features/jsonContribution.js +10 -29
  88. package/dist/features/typescriptContribution.js +2 -2
  89. package/dist/file_type_java.svg.js +3 -0
  90. package/dist/file_type_scala.svg.js +3 -0
  91. package/dist/filters.json.js +3 -0
  92. package/dist/focus-dark.svg.js +3 -0
  93. package/dist/focus-light.svg.js +3 -0
  94. package/dist/general.json.js +3 -0
  95. package/dist/get-inverse.svg.js +3 -0
  96. package/dist/get.svg.js +3 -0
  97. package/dist/go.json.js +3 -0
  98. package/dist/go.mod.language-configuration.json.js +3 -0
  99. package/dist/go.mod.tmGrammar.json.js +3 -0
  100. package/dist/go.sum.tmGrammar.json.js +3 -0
  101. package/dist/govulncheck.tmGrammar.json.js +3 -0
  102. package/dist/happy.json.js +3 -0
  103. package/dist/haskell-configuration.json.js +3 -0
  104. package/dist/haskell.json.js +3 -0
  105. package/dist/hot-reload-tb.png.js +3 -0
  106. package/dist/hot-reload.svg.js +3 -0
  107. package/dist/html-eex.json.js +3 -0
  108. package/dist/html.worker.js +1 -1
  109. package/dist/index.d.ts +2 -3
  110. package/dist/index.js +9 -6
  111. package/dist/index2.js +2 -1351
  112. package/dist/inline-styles.json.js +3 -0
  113. package/dist/inline-template.json.js +3 -0
  114. package/dist/inspector.svg.js +3 -0
  115. package/dist/java-properties-configuration.json.js +3 -0
  116. package/dist/java.json.js +3 -0
  117. package/dist/javascript.json.js +3 -0
  118. package/dist/json.worker.js +1 -1
  119. package/dist/jvm-bytecode-verbose.json.js +3 -0
  120. package/dist/jvm-bytecode.json.js +3 -0
  121. package/dist/kotlin.configuration.json.js +3 -0
  122. package/dist/kotlin.json.js +3 -0
  123. package/dist/lang-config.json.js +3 -0
  124. package/dist/language-configuration.json.js +3 -0
  125. package/dist/language-configuration.json2.js +3 -0
  126. package/dist/language-configuration.json3.js +3 -0
  127. package/dist/language-configuration.json4.js +3 -0
  128. package/dist/language-configuration.json5.js +3 -0
  129. package/dist/language-configuration.json6.js +3 -0
  130. package/dist/language-configuration.json7.js +3 -0
  131. package/dist/language-configuration.json8.js +3 -0
  132. package/dist/languages/index.d.ts +0 -2
  133. package/dist/literate-haskell-configuration.json.js +3 -0
  134. package/dist/literateHaskell.json.js +3 -0
  135. package/dist/main.js +839 -3070
  136. package/dist/markdown-svelte-css.json.js +3 -0
  137. package/dist/markdown-svelte-js.json.js +3 -0
  138. package/dist/markdown-svelte.json.js +3 -0
  139. package/dist/menhir-action.json.js +3 -0
  140. package/dist/menhir.json.js +3 -0
  141. package/dist/menhir.json2.js +3 -0
  142. package/dist/merlin.json.js +3 -0
  143. package/dist/monaco.d.ts +6 -9
  144. package/dist/oasis.json.js +3 -0
  145. package/dist/oasis.json2.js +3 -0
  146. package/dist/ocaml-markdown-codeblock.json.js +3 -0
  147. package/dist/ocaml.interface.json.js +3 -0
  148. package/dist/ocaml.json.js +3 -0
  149. package/dist/ocaml.json2.js +3 -0
  150. package/dist/ocaml.json3.js +3 -0
  151. package/dist/ocamlbuild.json.js +3 -0
  152. package/dist/ocamlbuild.json2.js +3 -0
  153. package/dist/ocamldoc.json.js +3 -0
  154. package/dist/ocamlformat.json.js +3 -0
  155. package/dist/ocamlformat.json2.js +3 -0
  156. package/dist/ocamllex.json.js +3 -0
  157. package/dist/ocamllex.json2.js +3 -0
  158. package/dist/ocamllex.json3.js +3 -0
  159. package/dist/opam-install.json.js +3 -0
  160. package/dist/opam-install.json2.js +3 -0
  161. package/dist/opam.json.js +3 -0
  162. package/dist/opam.json2.js +3 -0
  163. package/dist/outdated-inverse.svg.js +3 -0
  164. package/dist/outdated.svg.js +3 -0
  165. package/dist/pascal.configuration.json.js +3 -0
  166. package/dist/pascal.json.js +3 -0
  167. package/dist/pascal.tmLanguage.js +2 -168
  168. package/dist/performance.svg.js +3 -0
  169. package/dist/pgsql.tmLanguage.js +2 -283
  170. package/dist/pip-requirements.json.js +3 -0
  171. package/dist/pip-requirements.tmLanguage.json.js +3 -0
  172. package/dist/plus-dark.svg.js +3 -0
  173. package/dist/plus-light.svg.js +3 -0
  174. package/dist/postcss.json.js +3 -0
  175. package/dist/preview-right-dark.svg.js +3 -0
  176. package/dist/preview-right-light.svg.js +3 -0
  177. package/dist/pug-svelte-dotblock.json.js +3 -0
  178. package/dist/pug-svelte-tags.json.js +3 -0
  179. package/dist/pug-svelte.json.js +3 -0
  180. package/dist/r-configuration.json.js +3 -0
  181. package/dist/r-snippets.json.js +3 -0
  182. package/dist/r.json.js +3 -0
  183. package/dist/rbuildignore-configuration.json.js +3 -0
  184. package/dist/rbuildignore.json.js +3 -0
  185. package/dist/rd-configuration.json.js +3 -0
  186. package/dist/reason-markdown-codeblock.json.js +3 -0
  187. package/dist/reason.json.js +3 -0
  188. package/dist/reason.json2.js +3 -0
  189. package/dist/ref-group-by-type-dark.svg.js +3 -0
  190. package/dist/ref-group-by-type-light.svg.js +3 -0
  191. package/dist/ref-ungroup-by-type-dark.svg.js +3 -0
  192. package/dist/ref-ungroup-by-type-light.svg.js +3 -0
  193. package/dist/refresh-dark.svg.js +3 -0
  194. package/dist/refresh-dark.svg2.js +3 -0
  195. package/dist/refresh-light.svg.js +3 -0
  196. package/dist/refresh-light.svg2.js +3 -0
  197. package/dist/repl.svg.js +3 -0
  198. package/dist/repl.svg2.js +3 -0
  199. package/dist/rmarkdown.json2.js +3 -0
  200. package/dist/rmd-configuration.json.js +3 -0
  201. package/dist/rnamespace-configuration.json.js +3 -0
  202. package/dist/rnamespace.json.js +3 -0
  203. package/dist/save.svg.js +3 -0
  204. package/dist/save.svg2.js +3 -0
  205. package/dist/scalameta-logo.png.js +3 -0
  206. package/dist/sdl.json.js +3 -0
  207. package/dist/semanticdb.json.js +3 -0
  208. package/dist/services.d.ts +4 -0
  209. package/dist/solidity.configuration.json.js +3 -0
  210. package/dist/solidity.json.js +3 -0
  211. package/dist/solidity.json2.js +3 -0
  212. package/dist/svelte.json.js +3 -0
  213. package/dist/svelte.tmLanguage.json.js +3 -0
  214. package/dist/switch-impl-intf.dark.svg.js +3 -0
  215. package/dist/switch-impl-intf.light.svg.js +3 -0
  216. package/dist/systemverilog.json.js +3 -0
  217. package/dist/systemverilog.tmLanguage.json.js +3 -0
  218. package/dist/tags.json.js +3 -0
  219. package/dist/tasty.json.js +3 -0
  220. package/dist/tcl.json.js +3 -0
  221. package/dist/tcl.json2.js +3 -0
  222. package/dist/template.json.js +3 -0
  223. package/dist/theme/index.d.ts +1 -4
  224. package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
  225. package/dist/ts.worker.js +1 -1
  226. package/dist/typescript.json.js +3 -0
  227. package/dist/upgrade-inverse.svg.js +3 -0
  228. package/dist/upgrade.svg.js +3 -0
  229. package/dist/vim.js +37 -36
  230. package/dist/vs2019_dark.json.js +3 -0
  231. package/dist/vs2019_light.json.js +3 -0
  232. package/dist/worker.js +14 -2
  233. package/dist/x-dark.svg.js +3 -0
  234. package/dist/x-light.svg.js +3 -0
  235. package/package.json +40 -42
  236. package/stats.html +90 -1429
  237. package/dist/COBOL.tmLanguage.js +0 -172
  238. package/dist/HTML (Eex)2.js +0 -100
  239. package/dist/JSON.tmLanguage.js +0 -221
  240. package/dist/JSONC.tmLanguage.js +0 -221
  241. package/dist/JavaProperties.tmLanguage.js +0 -116
  242. package/dist/JavaScript.tmLanguage.js +0 -5922
  243. package/dist/JavaScriptReact.tmLanguage.js +0 -5922
  244. package/dist/META.js +0 -100
  245. package/dist/MagicPython.tmLanguage.js +0 -4221
  246. package/dist/MagicRegExp.tmLanguage.js +0 -505
  247. package/dist/Markdown Redcarpet.js +0 -221
  248. package/dist/RMarkdown.js +0 -25
  249. package/dist/Rcpp.js +0 -50
  250. package/dist/Rd (R Documentation).js +0 -131
  251. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  252. package/dist/Scala.tmLanguage.js +0 -1291
  253. package/dist/TypeScript.tmLanguage.js +0 -5673
  254. package/dist/TypeScriptReact.tmLanguage.js +0 -5922
  255. package/dist/angular.js +0 -74
  256. package/dist/asp-vb-net.tmlanguage.js +0 -247
  257. package/dist/aspnetcorerazor.js +0 -72
  258. package/dist/aspnetcorerazor.tmLanguage.js +0 -1522
  259. package/dist/atd.js +0 -110
  260. package/dist/atd2.js +0 -114
  261. package/dist/buildignore.r.js +0 -5
  262. package/dist/buildtarget.js +0 -53
  263. package/dist/c.js +0 -101
  264. package/dist/c.tmLanguage.js +0 -3565
  265. package/dist/cabal.js +0 -10
  266. package/dist/cabal.tmLanguage.js +0 -66
  267. package/dist/clojure.js +0 -68
  268. package/dist/clojure.tmLanguage.js +0 -439
  269. package/dist/cobol.js +0 -6
  270. package/dist/cobol2.js +0 -337
  271. package/dist/codeblock-cabal.js +0 -42
  272. package/dist/codeblock-haskell.js +0 -42
  273. package/dist/codeblock-literate-haskell.js +0 -42
  274. package/dist/codeblock.js +0 -59
  275. package/dist/codeblock2.js +0 -36
  276. package/dist/codeblock3.js +0 -95
  277. package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
  278. package/dist/coffeescript.js +0 -91
  279. package/dist/coffeescript.tmLanguage.js +0 -1324
  280. package/dist/configuration/files.d.ts +0 -6
  281. package/dist/cpp-c.code-snippets.js +0 -18
  282. package/dist/cpp-cpp.code-snippets.js +0 -18
  283. package/dist/cpp.js +0 -101
  284. package/dist/cpp.tmLanguage.js +0 -16485
  285. package/dist/cpptools.js +0 -2608
  286. package/dist/cram.js +0 -257
  287. package/dist/csharp.js +0 -92
  288. package/dist/csharp.tmLanguage.js +0 -4992
  289. package/dist/css.js +0 -106
  290. package/dist/css.tmLanguage.js +0 -1873
  291. package/dist/cuda-cpp.js +0 -101
  292. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  293. package/dist/d-diet.js +0 -92
  294. package/dist/d.js +0 -3173
  295. package/dist/d2.js +0 -97
  296. package/dist/d3.js +0 -609
  297. package/dist/dart.js +0 -543
  298. package/dist/dart2.js +0 -103
  299. package/dist/dart3.js +0 -1124
  300. package/dist/dcf.js +0 -93
  301. package/dist/debian-control.r.js +0 -69
  302. package/dist/diet.js +0 -758
  303. package/dist/diet2.js +0 -100
  304. package/dist/django-html.js +0 -155
  305. package/dist/django-html.tmLanguage.js +0 -715
  306. package/dist/django-txt.js +0 -155
  307. package/dist/django-txt.tmLanguage.js +0 -269
  308. package/dist/dml.js +0 -169
  309. package/dist/dml2.js +0 -90
  310. package/dist/dockercompose.js +0 -82
  311. package/dist/dpp.js +0 -97
  312. package/dist/dscript.js +0 -90
  313. package/dist/dune-project.js +0 -481
  314. package/dist/dune-project2.js +0 -65
  315. package/dist/dune-workspace.js +0 -298
  316. package/dist/dune-workspace2.js +0 -65
  317. package/dist/dune.js +0 -2962
  318. package/dist/dune2.js +0 -65
  319. package/dist/eex.js +0 -55
  320. package/dist/elixir-snippets.js +0 -184
  321. package/dist/elixir.js +0 -2341
  322. package/dist/elixir2.js +0 -69
  323. package/dist/elixir3.js +0 -40
  324. package/dist/erlang-erlang.js +0 -195
  325. package/dist/erlang.js +0 -81
  326. package/dist/erlang2.js +0 -92
  327. package/dist/expression.js +0 -846
  328. package/dist/features/extensionConfigurations.d.ts +0 -1
  329. package/dist/features/extensionConfigurations.js +0 -44
  330. package/dist/fsharp-fsharp.code-snippets.js +0 -18
  331. package/dist/fsharp.js +0 -80
  332. package/dist/fsharp.tmLanguage.js +0 -1844
  333. package/dist/go.js +0 -103
  334. package/dist/go.mod.js +0 -8
  335. package/dist/go.mod.tmGrammar.js +0 -182
  336. package/dist/go.sum.tmGrammar.js +0 -55
  337. package/dist/go.tmLanguage.js +0 -1025
  338. package/dist/go.work.js +0 -8
  339. package/dist/govulncheck.tmGrammar.js +0 -138
  340. package/dist/groovy-groovy.code-snippets.js +0 -229
  341. package/dist/groovy.js +0 -79
  342. package/dist/groovy.tmLanguage.js +0 -1391
  343. package/dist/haskell.js +0 -88
  344. package/dist/haskell.tmLanguage.js +0 -629
  345. package/dist/haskell2.js +0 -16
  346. package/dist/html (eex).js +0 -31
  347. package/dist/html-derivative.tmLanguage.js +0 -57
  348. package/dist/html-html.code-snippets.js +0 -20
  349. package/dist/html.js +0 -11
  350. package/dist/html.tmLanguage.js +0 -2652
  351. package/dist/html.tmLanguage2.js +0 -107
  352. package/dist/inline-styles.js +0 -104
  353. package/dist/inline-template.js +0 -88
  354. package/dist/jade.js +0 -11
  355. package/dist/java-java.js +0 -125
  356. package/dist/java-properties.js +0 -73
  357. package/dist/java.js +0 -95
  358. package/dist/java.tmLanguage.js +0 -1863
  359. package/dist/java2.js +0 -888
  360. package/dist/javascript-javascript.code-snippets.js +0 -205
  361. package/dist/javascript.js +0 -197
  362. package/dist/javascriptreact.js +0 -197
  363. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  364. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  365. package/dist/json.js +0 -75
  366. package/dist/jsonc.js +0 -75
  367. package/dist/jsx-tags.js +0 -158
  368. package/dist/jvm-bytecode-verbose.js +0 -1231
  369. package/dist/jvm-bytecode.js +0 -565
  370. package/dist/kotlin-kotlin.js +0 -117
  371. package/dist/kotlin.js +0 -103
  372. package/dist/kotlinscript.js +0 -103
  373. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
  374. package/dist/languages/extensions/grammarLoader.d.ts +0 -2
  375. package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
  376. package/dist/languages/extensions/snippetLoader.d.ts +0 -2
  377. package/dist/languages/extensions/themeLoader.d.ts +0 -2
  378. package/dist/languages/snippets/index.d.ts +0 -1
  379. package/dist/languages/textMate/index.d.ts +0 -1
  380. package/dist/languages/textMate/semanticTokens.d.ts +0 -1
  381. package/dist/literate haskell.js +0 -88
  382. package/dist/literateHaskell.tmLanguage.js +0 -70
  383. package/dist/lua.js +0 -84
  384. package/dist/lua.tmLanguage.js +0 -906
  385. package/dist/lua2.js +0 -2859
  386. package/dist/markdown-basics-markdown.code-snippets.js +0 -121
  387. package/dist/markdown-svelte-css.js +0 -37
  388. package/dist/markdown-svelte-js.js +0 -37
  389. package/dist/markdown-svelte.js +0 -59
  390. package/dist/markdown-vue.js +0 -54
  391. package/dist/markdown.js +0 -49
  392. package/dist/markdown.tmLanguage.js +0 -3006
  393. package/dist/menhir-action.js +0 -51
  394. package/dist/menhir.js +0 -597
  395. package/dist/merlin.js +0 -111
  396. package/dist/namespace.r.js +0 -88
  397. package/dist/oasis.js +0 -99
  398. package/dist/objective-c.js +0 -79
  399. package/dist/objective-c.tmLanguage.js +0 -3763
  400. package/dist/objective-cpp.js +0 -79
  401. package/dist/ocaml-dune-project.js +0 -38
  402. package/dist/ocaml-dune.js +0 -53
  403. package/dist/ocaml-markdown-codeblock.js +0 -42
  404. package/dist/ocaml-ocaml.js +0 -88
  405. package/dist/ocaml-ocamllex.js +0 -12
  406. package/dist/ocaml.META.js +0 -29
  407. package/dist/ocaml.interface.js +0 -292
  408. package/dist/ocaml.interface2.js +0 -114
  409. package/dist/ocaml.js +0 -903
  410. package/dist/ocaml.menhir.js +0 -81
  411. package/dist/ocaml.oasis.js +0 -18
  412. package/dist/ocaml.ocamlbuild.js +0 -45
  413. package/dist/ocaml.ocamlformat.js +0 -8
  414. package/dist/ocaml.ocamllex.js +0 -60
  415. package/dist/ocaml.opam-install.js +0 -49
  416. package/dist/ocaml.opam.js +0 -69
  417. package/dist/ocaml2.js +0 -114
  418. package/dist/ocaml3.js +0 -136
  419. package/dist/ocamlbuild.js +0 -189
  420. package/dist/ocamldoc.js +0 -54
  421. package/dist/ocamlformat.js +0 -206
  422. package/dist/ocamllex.js +0 -133
  423. package/dist/omnisharp-csharp.js +0 -508
  424. package/dist/omnisharp.js +0 -590
  425. package/dist/opam-install.js +0 -40
  426. package/dist/opam.js +0 -140
  427. package/dist/pascal-pascal.js +0 -382
  428. package/dist/pascal.js +0 -80
  429. package/dist/pascal2.js +0 -26
  430. package/dist/perl.js +0 -93
  431. package/dist/perl.tmLanguage.js +0 -2986
  432. package/dist/perl6.js +0 -86
  433. package/dist/perl6.tmLanguage.js +0 -323
  434. package/dist/php-php.code-snippets.js +0 -267
  435. package/dist/php.js +0 -154
  436. package/dist/php.tmLanguage.js +0 -4008
  437. package/dist/pip-requirements.js +0 -8
  438. package/dist/pip-requirements.tmLanguage.js +0 -89
  439. package/dist/plaintext.js +0 -11
  440. package/dist/platform.tmLanguage.js +0 -1135
  441. package/dist/postcss.src.yaml.js +0 -393
  442. package/dist/postgres.js +0 -80
  443. package/dist/postgresql.js +0 -75
  444. package/dist/powershell.js +0 -107
  445. package/dist/powershell.tmLanguage.js +0 -1037
  446. package/dist/pug-svelte-dotblock.js +0 -69
  447. package/dist/pug-svelte-tags.js +0 -215
  448. package/dist/pug-svelte.js +0 -307
  449. package/dist/python.js +0 -236
  450. package/dist/r.js +0 -664
  451. package/dist/r2.js +0 -88
  452. package/dist/rbuildignore.js +0 -39
  453. package/dist/rd.js +0 -81
  454. package/dist/reason-markdown-codeblock.js +0 -42
  455. package/dist/reason.js +0 -79
  456. package/dist/rmd.js +0 -84
  457. package/dist/rnamespace.js +0 -283
  458. package/dist/ruby.js +0 -95
  459. package/dist/ruby.tmLanguage.js +0 -2784
  460. package/dist/rust.js +0 -84
  461. package/dist/rust.tmLanguage.js +0 -1178
  462. package/dist/sassdoc.tmLanguage.js +0 -362
  463. package/dist/scala.js +0 -85
  464. package/dist/scalameta.js +0 -223
  465. package/dist/scss.js +0 -117
  466. package/dist/scss.tmLanguage.js +0 -1887
  467. package/dist/sdl.js +0 -162
  468. package/dist/sdl2.js +0 -90
  469. package/dist/semanticdb.js +0 -62
  470. package/dist/shell-unix-bash.tmLanguage.js +0 -2016
  471. package/dist/shellscript.js +0 -93
  472. package/dist/solargraph.js +0 -192
  473. package/dist/solidity-solidity.js +0 -213
  474. package/dist/solidity.js +0 -1187
  475. package/dist/solidity2.js +0 -71
  476. package/dist/solidity3.js +0 -137
  477. package/dist/sql.js +0 -99
  478. package/dist/sql.tmLanguage.js +0 -636
  479. package/dist/svelte.js +0 -120
  480. package/dist/svelte.svelte-vscode-javascript.js +0 -45
  481. package/dist/svelte.svelte-vscode-svelte.js +0 -46
  482. package/dist/svelte.svelte-vscode-typescript.js +0 -43
  483. package/dist/svelte.svelte-vscode.js +0 -383
  484. package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
  485. package/dist/svlangserver-systemverilog.js +0 -395
  486. package/dist/svlangserver.js +0 -85
  487. package/dist/swift-swift.code-snippets.js +0 -183
  488. package/dist/swift.js +0 -90
  489. package/dist/swift.tmLanguage.js +0 -3312
  490. package/dist/systemverilog.js +0 -187
  491. package/dist/systemverilog.tmLanguage.js +0 -1259
  492. package/dist/tasty.js +0 -72
  493. package/dist/tcl-tcl.js +0 -151
  494. package/dist/tcl.js +0 -78
  495. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  496. package/dist/template.js +0 -207
  497. package/dist/theme-defaults~dark_plus.js +0 -207
  498. package/dist/theme-defaults~dark_plus_experimental.js +0 -146
  499. package/dist/theme-defaults~dark_vs.js +0 -412
  500. package/dist/theme-defaults~hc_black.js +0 -471
  501. package/dist/theme-defaults~hc_light.js +0 -595
  502. package/dist/theme-defaults~light_plus.js +0 -209
  503. package/dist/theme-defaults~light_plus_experimental.js +0 -159
  504. package/dist/theme-defaults~light_vs.js +0 -441
  505. package/dist/typescript-basics-typescript.code-snippets.js +0 -313
  506. package/dist/typescript-language-features.js +0 -1090
  507. package/dist/typescript.js +0 -216
  508. package/dist/typescriptreact.js +0 -216
  509. package/dist/vb-vb.code-snippets.js +0 -88
  510. package/dist/vb.js +0 -79
  511. package/dist/verilog.js +0 -187
  512. package/dist/volar-vue.js +0 -343
  513. package/dist/vscode-R-r-snippets.js +0 -534
  514. package/dist/vscode-R-rmarkdown.js +0 -461
  515. package/dist/vscode-R.js +0 -648
  516. package/dist/vscode-django-filters.js +0 -340
  517. package/dist/vscode-django.js +0 -37
  518. package/dist/vscode-go-go.js +0 -276
  519. package/dist/vscode-go.js +0 -1604
  520. package/dist/vscode-groovy.js +0 -28
  521. package/dist/vscode-python.js +0 -686
  522. package/dist/vue-directives.js +0 -25
  523. package/dist/vue-interpolations.js +0 -25
  524. package/dist/vue-sfc-style-variable-injection.js +0 -63
  525. package/dist/vue.js +0 -151
  526. package/dist/vue.tmLanguage.js +0 -1218
  527. package/dist/xml.js +0 -116
  528. package/dist/xml.tmLanguage.js +0 -395
  529. package/dist/xsl.js +0 -39
  530. package/dist/xsl.tmLanguage.js +0 -102
  531. package/dist/yaml.js +0 -82
  532. package/dist/yaml.tmLanguage.js +0 -629
  533. /package/dist/{extensions → editor}/autofold.d.ts +0 -0
  534. /package/dist/{extensions → editor}/cobol.d.ts +0 -0
  535. /package/dist/{extensions → editor}/index.d.ts +0 -0
package/dist/ocaml.js DELETED
@@ -1,903 +0,0 @@
1
- var name = "OCaml";
2
- var scopeName = "source.ocaml";
3
- var fileTypes = [
4
- "ml",
5
- "eliom",
6
- ".ocamlinit"
7
- ];
8
- var patterns = [
9
- {
10
- include: "#directives"
11
- },
12
- {
13
- include: "#comments"
14
- },
15
- {
16
- include: "#strings"
17
- },
18
- {
19
- include: "#characters"
20
- },
21
- {
22
- include: "#attributes"
23
- },
24
- {
25
- include: "#extensions"
26
- },
27
- {
28
- include: "#modules"
29
- },
30
- {
31
- include: "#bindings"
32
- },
33
- {
34
- include: "#operators"
35
- },
36
- {
37
- include: "#keywords"
38
- },
39
- {
40
- include: "#literals"
41
- },
42
- {
43
- include: "#types"
44
- },
45
- {
46
- include: "#identifiers"
47
- }
48
- ];
49
- var repository = {
50
- directives: {
51
- patterns: [
52
- {
53
- comment: "line number directive",
54
- begin: "^[[:space:]]*(#)[[:space:]]*([[:digit:]]+)",
55
- end: "$",
56
- beginCaptures: {
57
- "1": {
58
- name: "keyword.other.ocaml"
59
- },
60
- "2": {
61
- name: "constant.numeric.decimal.integer.ocaml"
62
- }
63
- },
64
- contentName: "comment.line.directive.ocaml"
65
- },
66
- {
67
- comment: "toplevel directives",
68
- patterns: [
69
- {
70
- comment: "general, loading codes",
71
- begin: "^[[:space:]]*(#)[[:space:]]*(help|quit|cd|directory|remove_directory|load_rec|load|use|mod_use)",
72
- end: "$",
73
- beginCaptures: {
74
- "1": {
75
- name: "keyword.other.ocaml"
76
- },
77
- "2": {
78
- name: "keyword.other.ocaml"
79
- }
80
- },
81
- patterns: [
82
- {
83
- include: "#strings"
84
- }
85
- ]
86
- },
87
- {
88
- comment: "environment queries",
89
- begin: "^[[:space:]]*(#)[[:space:]]*(show_class_type|show_class|show_exception|show_module_type|show_module|show_type|show_val|show)",
90
- end: "$",
91
- beginCaptures: {
92
- "1": {
93
- name: "keyword.other.ocaml"
94
- },
95
- "2": {
96
- name: "keyword.other.ocaml"
97
- }
98
- },
99
- patterns: [
100
- {
101
- include: "#types"
102
- },
103
- {
104
- include: "#identifiers"
105
- }
106
- ]
107
- },
108
- {
109
- comment: "pretty-printing, tracing",
110
- begin: "^[[:space:]]*(#)[[:space:]]*(install_printer|print_depth|print_length|remove_printer|trace|untrace_all|untrace)",
111
- end: "$",
112
- beginCaptures: {
113
- "1": {
114
- name: "keyword.other.ocaml"
115
- },
116
- "2": {
117
- name: "keyword.other.ocaml"
118
- }
119
- },
120
- patterns: [
121
- {
122
- include: "#literals"
123
- },
124
- {
125
- include: "#identifiers"
126
- }
127
- ]
128
- },
129
- {
130
- comment: "compiler options",
131
- begin: "^[[:space:]]*(#)[[:space:]]*(labels|ppx|principal|rectypes|warn_error|warnings)",
132
- end: "$",
133
- beginCaptures: {
134
- "1": {
135
- name: "keyword.other.ocaml"
136
- },
137
- "2": {
138
- name: "keyword.other.ocaml"
139
- }
140
- },
141
- patterns: [
142
- {
143
- include: "#strings"
144
- },
145
- {
146
- include: "#literals"
147
- }
148
- ]
149
- }
150
- ]
151
- },
152
- {
153
- comment: "topfind directives",
154
- begin: "^[[:space:]]*(#)[[:space:]]*(require|list|camlp4o|camlp4r|predicates|thread)",
155
- end: "$",
156
- beginCaptures: {
157
- "1": {
158
- name: "keyword.other.ocaml"
159
- },
160
- "2": {
161
- name: "keyword.other.ocaml"
162
- }
163
- },
164
- patterns: [
165
- {
166
- include: "#strings"
167
- }
168
- ]
169
- },
170
- {
171
- comment: "cppo directives",
172
- begin: "^[[:space:]]*(#)[[:space:]]*(define|undef|ifdef|ifndef|if|else|elif|endif|include|warning|error|ext|endext)",
173
- end: "$",
174
- beginCaptures: {
175
- "1": {
176
- name: "keyword.other.ocaml"
177
- },
178
- "2": {
179
- name: "keyword.other.ocaml"
180
- }
181
- },
182
- patterns: [
183
- {
184
- name: "keyword.other.ocaml",
185
- match: "\\b(defined)\\b"
186
- },
187
- {
188
- name: "keyword.other.ocaml",
189
- match: "\\\\"
190
- },
191
- {
192
- include: "#comments"
193
- },
194
- {
195
- include: "#strings"
196
- },
197
- {
198
- include: "#characters"
199
- },
200
- {
201
- include: "#keywords"
202
- },
203
- {
204
- include: "#operators"
205
- },
206
- {
207
- include: "#literals"
208
- },
209
- {
210
- include: "#types"
211
- },
212
- {
213
- include: "#identifiers"
214
- }
215
- ]
216
- }
217
- ]
218
- },
219
- comments: {
220
- patterns: [
221
- {
222
- comment: "empty comment",
223
- name: "comment.block.ocaml",
224
- match: "\\(\\*\\*\\)"
225
- },
226
- {
227
- comment: "ocamldoc comment",
228
- name: "comment.doc.ocaml",
229
- begin: "\\(\\*\\*",
230
- end: "\\*\\)",
231
- patterns: [
232
- {
233
- include: "source.ocaml.ocamldoc#markup"
234
- },
235
- {
236
- include: "#strings-in-comments"
237
- },
238
- {
239
- include: "#comments"
240
- }
241
- ]
242
- },
243
- {
244
- comment: "Cinaps comment",
245
- begin: "\\(\\*\\$",
246
- end: "\\*\\)",
247
- beginCaptures: [
248
- {
249
- name: "comment.cinaps.ocaml"
250
- }
251
- ],
252
- endCaptures: [
253
- {
254
- name: "comment.cinaps.ocaml"
255
- }
256
- ],
257
- patterns: [
258
- {
259
- include: "$self"
260
- }
261
- ]
262
- },
263
- {
264
- comment: "block comment",
265
- name: "comment.block.ocaml",
266
- begin: "\\(\\*",
267
- end: "\\*\\)",
268
- patterns: [
269
- {
270
- include: "#strings-in-comments"
271
- },
272
- {
273
- include: "#comments"
274
- }
275
- ]
276
- }
277
- ]
278
- },
279
- "strings-in-comments": {
280
- patterns: [
281
- {
282
- comment: "char literal",
283
- match: "'(\\\\)?.'"
284
- },
285
- {
286
- comment: "string literal",
287
- begin: "\"",
288
- end: "\"",
289
- patterns: [
290
- {
291
- match: "\\\\\\\\"
292
- },
293
- {
294
- match: "\\\\\""
295
- }
296
- ]
297
- },
298
- {
299
- comment: "quoted string literal",
300
- begin: "\\{[[:lower:]_]*\\|",
301
- end: "\\|[[:lower:]_]*\\}"
302
- }
303
- ]
304
- },
305
- strings: {
306
- patterns: [
307
- {
308
- comment: "quoted string literal",
309
- name: "string.quoted.braced.ocaml",
310
- begin: "\\{(%%?[[:alpha:]_][[:word:]']*(\\.[[:alpha:]_][[:word:]']*)*[[:space:]]*)?[[:lower:]_]*\\|",
311
- end: "\\|[[:lower:]_]*\\}",
312
- beginCaptures: {
313
- "1": {
314
- name: "keyword.other.extension.ocaml"
315
- }
316
- }
317
- },
318
- {
319
- comment: "string literal",
320
- name: "string.quoted.double.ocaml",
321
- begin: "\"",
322
- end: "\"",
323
- patterns: [
324
- {
325
- comment: "escaped newline",
326
- name: "constant.character.escape.ocaml",
327
- match: "\\\\$"
328
- },
329
- {
330
- comment: "escaped backslash",
331
- name: "constant.character.escape.ocaml",
332
- match: "\\\\\\\\"
333
- },
334
- {
335
- comment: "escaped quote or whitespace",
336
- name: "constant.character.escape.ocaml",
337
- match: "\\\\[\"'ntbr ]"
338
- },
339
- {
340
- comment: "character from decimal ASCII code",
341
- name: "constant.character.escape.ocaml",
342
- match: "\\\\[[:digit:]]{3}"
343
- },
344
- {
345
- comment: "character from hexadecimal ASCII code",
346
- name: "constant.character.escape.ocaml",
347
- match: "\\\\x[[:xdigit:]]{2}"
348
- },
349
- {
350
- comment: "character from octal ASCII code",
351
- name: "constant.character.escape.ocaml",
352
- match: "\\\\o[0-3][0-7]{2}"
353
- },
354
- {
355
- comment: "unicode character escape sequence",
356
- name: "constant.character.escape.ocaml",
357
- match: "\\\\u\\{[[:xdigit:]]{1,6}\\}"
358
- },
359
- {
360
- comment: "printf format string",
361
- name: "constant.character.printf.ocaml",
362
- match: "%[-0+ #]*([[:digit:]]+|\\*)?(.([[:digit:]]+|\\*))?[lLn]?[diunlLNxXosScCfFeEgGhHBbat!%@,]"
363
- },
364
- {
365
- comment: "unknown escape sequence",
366
- name: "invalid.illegal.unknown-escape.ocaml",
367
- match: "\\\\."
368
- }
369
- ]
370
- }
371
- ]
372
- },
373
- characters: {
374
- patterns: [
375
- {
376
- comment: "character literal from escaped backslash",
377
- name: "string.quoted.single.ocaml",
378
- match: "'(\\\\\\\\)'",
379
- captures: {
380
- "1": {
381
- name: "constant.character.escape.ocaml"
382
- }
383
- }
384
- },
385
- {
386
- comment: "character literal from escaped quote or whitespace",
387
- name: "string.quoted.single.ocaml",
388
- match: "'(\\\\[\"'ntbr ])'",
389
- captures: {
390
- "1": {
391
- name: "constant.character.escape.ocaml"
392
- }
393
- }
394
- },
395
- {
396
- comment: "character literal from decimal ASCII code",
397
- name: "string.quoted.single.ocaml",
398
- match: "'(\\\\[[:digit:]]{3})'",
399
- captures: {
400
- "1": {
401
- name: "constant.character.escape.ocaml"
402
- }
403
- }
404
- },
405
- {
406
- comment: "character literal from hexadecimal ASCII code",
407
- name: "string.quoted.single.ocaml",
408
- match: "'(\\\\x[[:xdigit:]]{2})'",
409
- captures: {
410
- "1": {
411
- name: "constant.character.escape.ocaml"
412
- }
413
- }
414
- },
415
- {
416
- comment: "character literal from octal ASCII code",
417
- name: "string.quoted.single.ocaml",
418
- match: "'(\\\\o[0-3][0-7]{2})'",
419
- captures: {
420
- "1": {
421
- name: "constant.character.escape.ocaml"
422
- }
423
- }
424
- },
425
- {
426
- comment: "character literal from unknown escape sequence",
427
- name: "string.quoted.single.ocaml",
428
- match: "'(\\\\.)'",
429
- captures: {
430
- "1": {
431
- name: "invalid.illegal.unknown-escape.ocaml"
432
- }
433
- }
434
- },
435
- {
436
- comment: "character literal",
437
- name: "string.quoted.single.ocaml",
438
- match: "'.'"
439
- }
440
- ]
441
- },
442
- attributes: {
443
- begin: "\\[(@|@@|@@@)[[:space:]]*([[:alpha:]_]+(\\.[[:word:]']+)*)",
444
- end: "\\]",
445
- beginCaptures: {
446
- "1": {
447
- name: "keyword.operator.attribute.ocaml"
448
- },
449
- "2": {
450
- name: "keyword.other.attribute.ocaml",
451
- patterns: [
452
- {
453
- name: "keyword.other.ocaml punctuation.other.period punctuation.separator.period",
454
- match: "\\."
455
- }
456
- ]
457
- }
458
- },
459
- patterns: [
460
- {
461
- include: "$self"
462
- }
463
- ]
464
- },
465
- extensions: {
466
- begin: "\\[(%|%%)[[:space:]]*([[:alpha:]_]+(\\.[[:word:]']+)*)",
467
- end: "\\]",
468
- beginCaptures: {
469
- "1": {
470
- name: "keyword.operator.extension.ocaml"
471
- },
472
- "2": {
473
- name: "keyword.other.extension.ocaml",
474
- patterns: [
475
- {
476
- name: "keyword.other.ocaml punctuation.other.period punctuation.separator.period",
477
- match: "\\."
478
- }
479
- ]
480
- }
481
- },
482
- patterns: [
483
- {
484
- include: "$self"
485
- }
486
- ]
487
- },
488
- modules: {
489
- patterns: [
490
- {
491
- begin: "\\b(sig)\\b",
492
- end: "\\b(end)\\b",
493
- beginCaptures: [
494
- {
495
- name: "keyword.other.ocaml"
496
- }
497
- ],
498
- endCaptures: [
499
- {
500
- name: "keyword.other.ocaml"
501
- }
502
- ],
503
- patterns: [
504
- {
505
- include: "source.ocaml.interface"
506
- }
507
- ]
508
- },
509
- {
510
- begin: "\\b(struct)\\b",
511
- end: "\\b(end)\\b",
512
- beginCaptures: [
513
- {
514
- name: "keyword.other.ocaml"
515
- }
516
- ],
517
- endCaptures: [
518
- {
519
- name: "keyword.other.ocaml"
520
- }
521
- ],
522
- patterns: [
523
- {
524
- include: "$self"
525
- }
526
- ]
527
- }
528
- ]
529
- },
530
- bindings: {
531
- patterns: [
532
- {
533
- comment: "for loop",
534
- match: "\\b(for)[[:space:]]+([[:lower:]_][[:word:]']*)",
535
- captures: {
536
- "1": {
537
- name: "keyword.ocaml"
538
- },
539
- "2": {
540
- name: "entity.name.function.binding.ocaml"
541
- }
542
- }
543
- },
544
- {
545
- comment: "local open/exception/module",
546
- match: "\\b(let)[[:space:]]+(open|exception|module)\\b(?!')",
547
- captures: {
548
- "1": {
549
- name: "keyword.ocaml"
550
- },
551
- "2": {
552
- name: "keyword.ocaml"
553
- }
554
- }
555
- },
556
- {
557
- comment: "let expression",
558
- match: "\\b(let)[[:space:]]+(?!lazy\\b(?!'))(rec[[:space:]]+)?(?!rec\\b(?!'))([[:lower:]_][[:word:]']*)(?![[:word:]'])[[:space:]]*(?!,|::|[[:space:]])",
559
- captures: {
560
- "1": {
561
- name: "keyword.ocaml"
562
- },
563
- "2": {
564
- name: "keyword.ocaml"
565
- },
566
- "3": {
567
- name: "entity.name.function.binding.ocaml"
568
- }
569
- }
570
- },
571
- {
572
- comment: "using binding operators",
573
- match: "\\b(let|and)([$&*+\\-/=>@^|<][!?$&*+\\-/=>@^|%:]*)[[:space:]]*(?!lazy\\b(?!'))([[:lower:]_][[:word:]']*)(?![[:word:]'])[[:space:]]*(?!,|::|[[:space:]])",
574
- captures: {
575
- "1": {
576
- name: "keyword.ocaml"
577
- },
578
- "2": {
579
- name: "keyword.ocaml"
580
- },
581
- "3": {
582
- name: "entity.name.function.binding.ocaml"
583
- }
584
- }
585
- },
586
- {
587
- comment: "first class module packing",
588
- match: "\\([[:space:]]*(val)[[:space:]]+([[:lower:]_][[:word:]']*)",
589
- captures: {
590
- "1": {
591
- name: "keyword.ocaml"
592
- },
593
- "2": {
594
- patterns: [
595
- {
596
- include: "$self"
597
- }
598
- ]
599
- }
600
- }
601
- },
602
- {
603
- comment: "locally abstract types",
604
- match: "(?:\\(|(:))[[:space:]]*(type)((?:[[:space:]]+[[:lower:]_][[:word:]']*)+)",
605
- captures: {
606
- "1": {
607
- name: "keyword.other.ocaml punctuation.other.colon punctuation.colon"
608
- },
609
- "2": {
610
- name: "keyword.ocaml"
611
- },
612
- "3": {
613
- name: "entity.name.function.binding.ocaml"
614
- }
615
- }
616
- },
617
- {
618
- comment: "optional labeled argument with type",
619
- begin: "(\\?)\\([[:space:]]*([[:lower:]_][[:word:]']*)",
620
- beginCaptures: {
621
- "1": {
622
- name: "variable.parameter.optional.ocaml"
623
- },
624
- "2": {
625
- name: "variable.parameter.optional.ocaml"
626
- }
627
- },
628
- end: "\\)",
629
- patterns: [
630
- {
631
- include: "$self"
632
- }
633
- ]
634
- },
635
- {
636
- comment: "labeled argument with type",
637
- begin: "(~)\\([[:space:]]*([[:lower:]_][[:word:]']*)",
638
- beginCaptures: {
639
- "1": {
640
- name: "variable.parameter.labeled.ocaml"
641
- },
642
- "2": {
643
- name: "variable.parameter.labeled.ocaml"
644
- }
645
- },
646
- end: "\\)",
647
- patterns: [
648
- {
649
- include: "$self"
650
- }
651
- ]
652
- },
653
- {
654
- include: "source.ocaml.interface#bindings"
655
- }
656
- ]
657
- },
658
- operators: {
659
- patterns: [
660
- {
661
- comment: "binding operator",
662
- name: "keyword.ocaml",
663
- match: "\\b(let|and)[$&*+\\-/=>@^|<][!?$&*+\\-/=>@^|%:]*"
664
- },
665
- {
666
- comment: "infix symbol",
667
- name: "keyword.operator.ocaml",
668
- match: "[$&*+\\-/=>@^%<][~!?$&*+\\-/=>@^|%<:.]*"
669
- },
670
- {
671
- comment: "infix symbol that begins with vertical bar",
672
- name: "keyword.operator.ocaml",
673
- match: "\\|[~!?$&*+\\-/=>@^|%<:.]+"
674
- },
675
- {
676
- comment: "vertical bar",
677
- name: "keyword.other.ocaml",
678
- match: "(?<!\\[)(\\|)(?!\\])"
679
- },
680
- {
681
- comment: "infix symbol",
682
- name: "keyword.operator.ocaml",
683
- match: "#[~!?$&*+\\-/=>@^|%<:.]+"
684
- },
685
- {
686
- comment: "prefix symbol",
687
- name: "keyword.operator.ocaml",
688
- match: "![~!?$&*+\\-/=>@^|%<:.]*"
689
- },
690
- {
691
- comment: "prefix symbol",
692
- name: "keyword.operator.ocaml",
693
- match: "[?~][~!?$&*+\\-/=>@^|%<:.]+"
694
- },
695
- {
696
- comment: "named operator",
697
- name: "keyword.operator.ocaml",
698
- match: "\\b(or|mod|land|lor|lxor|lsl|lsr|asr)\\b"
699
- },
700
- {
701
- comment: "method invocation",
702
- name: "keyword.other.ocaml",
703
- match: "#"
704
- },
705
- {
706
- comment: "type annotation",
707
- name: "keyword.other.ocaml punctuation.other.colon punctuation.colon",
708
- match: ":"
709
- },
710
- {
711
- comment: "field accessor",
712
- name: "keyword.other.ocaml punctuation.other.period punctuation.separator.period",
713
- match: "\\."
714
- },
715
- {
716
- comment: "semicolon separator",
717
- name: "keyword.other.ocaml punctuation.separator.terminator punctuation.separator.semicolon",
718
- match: ";"
719
- },
720
- {
721
- comment: "comma separator",
722
- name: "keyword.other.ocaml punctuation.comma punctuation.separator.comma",
723
- match: ","
724
- }
725
- ]
726
- },
727
- keywords: {
728
- patterns: [
729
- {
730
- comment: "reserved ocaml keyword",
731
- name: "keyword.other.ocaml",
732
- match: "\\b(and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|virtual|when|while|with)\\b(?!')"
733
- }
734
- ]
735
- },
736
- literals: {
737
- patterns: [
738
- {
739
- comment: "boolean literal",
740
- name: "constant.language.boolean.ocaml",
741
- match: "\\b(true|false)\\b"
742
- },
743
- {
744
- comment: "floating point decimal literal with exponent",
745
- name: "constant.numeric.decimal.float.ocaml",
746
- match: "\\b([[:digit:]][[:digit:]_]*(\\.[[:digit:]_]*)?[eE][+-]?[[:digit:]][[:digit:]_]*[g-zG-Z]?)\\b"
747
- },
748
- {
749
- comment: "floating point decimal literal",
750
- name: "constant.numeric.decimal.float.ocaml",
751
- match: "\\b([[:digit:]][[:digit:]_]*)(\\.[[:digit:]_]*[g-zG-Z]?\\b|\\.)"
752
- },
753
- {
754
- comment: "floating point hexadecimal literal with exponent part",
755
- name: "constant.numeric.hexadecimal.float.ocaml",
756
- match: "\\b((0x|0X)[[:xdigit:]][[:xdigit:]_]*(\\.[[:xdigit:]_]*)?[pP][+-]?[[:digit:]][[:digit:]_]*[g-zG-Z]?)\\b"
757
- },
758
- {
759
- comment: "floating point hexadecimal literal",
760
- name: "constant.numeric.hexadecimal.float.ocaml",
761
- match: "\\b((0x|0X)[[:xdigit:]][[:xdigit:]_]*)(\\.[[:xdigit:]_]*[g-zG-Z]?\\b|\\.)"
762
- },
763
- {
764
- comment: "decimal integer literal",
765
- name: "constant.numeric.decimal.integer.ocaml",
766
- match: "\\b([[:digit:]][[:digit:]_]*[lLng-zG-Z]?)\\b"
767
- },
768
- {
769
- comment: "hexadecimal integer literal",
770
- name: "constant.numeric.hexadecimal.integer.ocaml",
771
- match: "\\b((0x|0X)[[:xdigit:]][[:xdigit:]_]*[lLng-zG-Z]?)\\b"
772
- },
773
- {
774
- comment: "octal integer literal",
775
- name: "constant.numeric.octal.integer.ocaml",
776
- match: "\\b((0o|0O)[0-7][0-7_]*[lLng-zG-Z]?)\\b"
777
- },
778
- {
779
- comment: "binary integer literal",
780
- name: "constant.numeric.binary.integer.ocaml",
781
- match: "\\b((0b|0B)[0-1][0-1_]*[lLng-zG-Z]?)\\b"
782
- },
783
- {
784
- comment: "unit literal",
785
- name: "constant.language.unit.ocaml",
786
- match: "\\(\\)"
787
- },
788
- {
789
- comment: "parentheses",
790
- begin: "\\(",
791
- end: "\\)",
792
- patterns: [
793
- {
794
- include: "$self"
795
- }
796
- ]
797
- },
798
- {
799
- comment: "empty array",
800
- name: "constant.language.array.ocaml",
801
- match: "\\[\\|\\|\\]"
802
- },
803
- {
804
- comment: "array",
805
- begin: "\\[\\|",
806
- end: "\\|\\]",
807
- patterns: [
808
- {
809
- include: "$self"
810
- }
811
- ]
812
- },
813
- {
814
- comment: "empty list",
815
- name: "constant.language.list.ocaml",
816
- match: "\\[\\]"
817
- },
818
- {
819
- comment: "list",
820
- begin: "\\[",
821
- end: "]",
822
- patterns: [
823
- {
824
- include: "$self"
825
- }
826
- ]
827
- },
828
- {
829
- comment: "braces",
830
- begin: "\\{",
831
- end: "\\}",
832
- patterns: [
833
- {
834
- include: "$self"
835
- }
836
- ]
837
- }
838
- ]
839
- },
840
- types: {
841
- patterns: [
842
- {
843
- comment: "type parameter",
844
- name: "storage.type.ocaml",
845
- match: "'[[:alpha:]][[:word:]']*\\b|'_\\b"
846
- },
847
- {
848
- comment: "weak type parameter",
849
- name: "storage.type.weak.ocaml",
850
- match: "'_[[:alpha:]][[:word:]']*\\b"
851
- },
852
- {
853
- comment: "builtin type",
854
- name: "support.type.ocaml",
855
- match: "\\b(unit|bool|int|int32|int64|nativeint|float|char|bytes|string)\\b"
856
- }
857
- ]
858
- },
859
- identifiers: {
860
- patterns: [
861
- {
862
- comment: "wildcard underscore",
863
- name: "constant.language.ocaml",
864
- match: "\\b_\\b"
865
- },
866
- {
867
- comment: "capital identifier for constructor, exception, or module",
868
- name: "constant.language.capital-identifier.ocaml",
869
- match: "\\b[[:upper:]][[:word:]']*('|\\b)"
870
- },
871
- {
872
- comment: "lowercase identifier",
873
- name: "source.ocaml",
874
- match: "\\b[[:lower:]_][[:word:]']*('|\\b)"
875
- },
876
- {
877
- comment: "polymorphic variant tag",
878
- name: "constant.language.polymorphic-variant.ocaml",
879
- match: "\\`[[:alpha:]][[:word:]']*\\b"
880
- },
881
- {
882
- comment: "empty list (can be used as a constructor)",
883
- name: "constant.language.list.ocaml",
884
- match: "\\[\\]"
885
- }
886
- ]
887
- }
888
- };
889
- var information_for_contributors = [
890
- "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
891
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
892
- "Once accepted there, we are happy to receive an update request."
893
- ];
894
- var ocaml = {
895
- name: name,
896
- scopeName: scopeName,
897
- fileTypes: fileTypes,
898
- patterns: patterns,
899
- repository: repository,
900
- information_for_contributors: information_for_contributors
901
- };
902
-
903
- export { ocaml as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };