@shikijs/langs 1.25.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 (637) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +7 -0
  3. package/dist/1c-query.d.mts +3 -0
  4. package/dist/1c-query.mjs +2 -0
  5. package/dist/1c.d.mts +3 -0
  6. package/dist/1c.mjs +2 -0
  7. package/dist/abap.d.mts +3 -0
  8. package/dist/abap.mjs +5 -0
  9. package/dist/actionscript-3.d.mts +3 -0
  10. package/dist/actionscript-3.mjs +5 -0
  11. package/dist/ada.d.mts +3 -0
  12. package/dist/ada.mjs +5 -0
  13. package/dist/adoc.d.mts +3 -0
  14. package/dist/adoc.mjs +2 -0
  15. package/dist/angular-expression.d.mts +3 -0
  16. package/dist/angular-expression.mjs +5 -0
  17. package/dist/angular-html.d.mts +3 -0
  18. package/dist/angular-html.mjs +16 -0
  19. package/dist/angular-inline-style.d.mts +3 -0
  20. package/dist/angular-inline-style.mjs +8 -0
  21. package/dist/angular-inline-template.d.mts +3 -0
  22. package/dist/angular-inline-template.mjs +10 -0
  23. package/dist/angular-let-declaration.d.mts +3 -0
  24. package/dist/angular-let-declaration.mjs +8 -0
  25. package/dist/angular-template-blocks.d.mts +3 -0
  26. package/dist/angular-template-blocks.mjs +10 -0
  27. package/dist/angular-template.d.mts +3 -0
  28. package/dist/angular-template.mjs +8 -0
  29. package/dist/angular-ts.d.mts +3 -0
  30. package/dist/angular-ts.mjs +18 -0
  31. package/dist/apache.d.mts +3 -0
  32. package/dist/apache.mjs +5 -0
  33. package/dist/apex.d.mts +3 -0
  34. package/dist/apex.mjs +5 -0
  35. package/dist/apl.d.mts +3 -0
  36. package/dist/apl.mjs +16 -0
  37. package/dist/applescript.d.mts +3 -0
  38. package/dist/applescript.mjs +5 -0
  39. package/dist/ara.d.mts +3 -0
  40. package/dist/ara.mjs +5 -0
  41. package/dist/asciidoc.d.mts +3 -0
  42. package/dist/asciidoc.mjs +5 -0
  43. package/dist/asm.d.mts +3 -0
  44. package/dist/asm.mjs +5 -0
  45. package/dist/astro.d.mts +3 -0
  46. package/dist/astro.mjs +16 -0
  47. package/dist/awk.d.mts +3 -0
  48. package/dist/awk.mjs +5 -0
  49. package/dist/ballerina.d.mts +3 -0
  50. package/dist/ballerina.mjs +5 -0
  51. package/dist/bash.d.mts +3 -0
  52. package/dist/bash.mjs +2 -0
  53. package/dist/bat.d.mts +3 -0
  54. package/dist/bat.mjs +5 -0
  55. package/dist/batch.d.mts +3 -0
  56. package/dist/batch.mjs +2 -0
  57. package/dist/be.d.mts +3 -0
  58. package/dist/be.mjs +2 -0
  59. package/dist/beancount.d.mts +3 -0
  60. package/dist/beancount.mjs +5 -0
  61. package/dist/berry.d.mts +3 -0
  62. package/dist/berry.mjs +5 -0
  63. package/dist/bibtex.d.mts +3 -0
  64. package/dist/bibtex.mjs +5 -0
  65. package/dist/bicep.d.mts +3 -0
  66. package/dist/bicep.mjs +5 -0
  67. package/dist/blade.d.mts +3 -0
  68. package/dist/blade.mjs +18 -0
  69. package/dist/bsl.d.mts +3 -0
  70. package/dist/bsl.mjs +8 -0
  71. package/dist/c.d.mts +3 -0
  72. package/dist/c.mjs +5 -0
  73. package/dist/cadence.d.mts +3 -0
  74. package/dist/cadence.mjs +5 -0
  75. package/dist/cairo.d.mts +3 -0
  76. package/dist/cairo.mjs +8 -0
  77. package/dist/cdc.d.mts +3 -0
  78. package/dist/cdc.mjs +2 -0
  79. package/dist/clarity.d.mts +3 -0
  80. package/dist/clarity.mjs +5 -0
  81. package/dist/clj.d.mts +3 -0
  82. package/dist/clj.mjs +2 -0
  83. package/dist/clojure.d.mts +3 -0
  84. package/dist/clojure.mjs +5 -0
  85. package/dist/closure-templates.d.mts +3 -0
  86. package/dist/closure-templates.mjs +2 -0
  87. package/dist/cmake.d.mts +3 -0
  88. package/dist/cmake.mjs +5 -0
  89. package/dist/cmd.d.mts +3 -0
  90. package/dist/cmd.mjs +2 -0
  91. package/dist/cobol.d.mts +3 -0
  92. package/dist/cobol.mjs +10 -0
  93. package/dist/codeowners.d.mts +3 -0
  94. package/dist/codeowners.mjs +5 -0
  95. package/dist/codeql.d.mts +3 -0
  96. package/dist/codeql.mjs +5 -0
  97. package/dist/coffee.d.mts +3 -0
  98. package/dist/coffee.mjs +8 -0
  99. package/dist/coffeescript.d.mts +3 -0
  100. package/dist/coffeescript.mjs +2 -0
  101. package/dist/common-lisp.d.mts +3 -0
  102. package/dist/common-lisp.mjs +5 -0
  103. package/dist/console.d.mts +3 -0
  104. package/dist/console.mjs +2 -0
  105. package/dist/coq.d.mts +3 -0
  106. package/dist/coq.mjs +5 -0
  107. package/dist/cpp-macro.d.mts +3 -0
  108. package/dist/cpp-macro.mjs +12 -0
  109. package/dist/cpp.d.mts +3 -0
  110. package/dist/cpp.mjs +14 -0
  111. package/dist/cql.d.mts +3 -0
  112. package/dist/cql.mjs +2 -0
  113. package/dist/crystal.d.mts +3 -0
  114. package/dist/crystal.mjs +18 -0
  115. package/dist/cs.d.mts +3 -0
  116. package/dist/cs.mjs +2 -0
  117. package/dist/csharp.d.mts +3 -0
  118. package/dist/csharp.mjs +5 -0
  119. package/dist/css.d.mts +3 -0
  120. package/dist/css.mjs +5 -0
  121. package/dist/csv.d.mts +3 -0
  122. package/dist/csv.mjs +5 -0
  123. package/dist/cue.d.mts +3 -0
  124. package/dist/cue.mjs +5 -0
  125. package/dist/cypher.d.mts +3 -0
  126. package/dist/cypher.mjs +5 -0
  127. package/dist/d.d.mts +3 -0
  128. package/dist/d.mjs +5 -0
  129. package/dist/dart.d.mts +3 -0
  130. package/dist/dart.mjs +5 -0
  131. package/dist/dax.d.mts +3 -0
  132. package/dist/dax.mjs +5 -0
  133. package/dist/desktop.d.mts +3 -0
  134. package/dist/desktop.mjs +5 -0
  135. package/dist/diff.d.mts +3 -0
  136. package/dist/diff.mjs +5 -0
  137. package/dist/docker.d.mts +3 -0
  138. package/dist/docker.mjs +5 -0
  139. package/dist/dockerfile.d.mts +3 -0
  140. package/dist/dockerfile.mjs +2 -0
  141. package/dist/dotenv.d.mts +3 -0
  142. package/dist/dotenv.mjs +5 -0
  143. package/dist/dream-maker.d.mts +3 -0
  144. package/dist/dream-maker.mjs +5 -0
  145. package/dist/edge.d.mts +3 -0
  146. package/dist/edge.mjs +12 -0
  147. package/dist/elisp.d.mts +3 -0
  148. package/dist/elisp.mjs +2 -0
  149. package/dist/elixir.d.mts +3 -0
  150. package/dist/elixir.mjs +8 -0
  151. package/dist/elm.d.mts +3 -0
  152. package/dist/elm.mjs +8 -0
  153. package/dist/emacs-lisp.d.mts +3 -0
  154. package/dist/emacs-lisp.mjs +5 -0
  155. package/dist/erb.d.mts +3 -0
  156. package/dist/erb.mjs +10 -0
  157. package/dist/erl.d.mts +3 -0
  158. package/dist/erl.mjs +2 -0
  159. package/dist/erlang.d.mts +3 -0
  160. package/dist/erlang.mjs +5 -0
  161. package/dist/es-tag-css.d.mts +3 -0
  162. package/dist/es-tag-css.mjs +12 -0
  163. package/dist/es-tag-glsl.d.mts +3 -0
  164. package/dist/es-tag-glsl.mjs +12 -0
  165. package/dist/es-tag-html.d.mts +3 -0
  166. package/dist/es-tag-html.mjs +12 -0
  167. package/dist/es-tag-sql.d.mts +3 -0
  168. package/dist/es-tag-sql.mjs +10 -0
  169. package/dist/es-tag-xml.d.mts +3 -0
  170. package/dist/es-tag-xml.mjs +8 -0
  171. package/dist/f.d.mts +3 -0
  172. package/dist/f.mjs +2 -0
  173. package/dist/f03.d.mts +3 -0
  174. package/dist/f03.mjs +2 -0
  175. package/dist/f08.d.mts +3 -0
  176. package/dist/f08.mjs +2 -0
  177. package/dist/f18.d.mts +3 -0
  178. package/dist/f18.mjs +2 -0
  179. package/dist/f77.d.mts +3 -0
  180. package/dist/f77.mjs +2 -0
  181. package/dist/f90.d.mts +3 -0
  182. package/dist/f90.mjs +2 -0
  183. package/dist/f95.d.mts +3 -0
  184. package/dist/f95.mjs +2 -0
  185. package/dist/fennel.d.mts +3 -0
  186. package/dist/fennel.mjs +5 -0
  187. package/dist/fish.d.mts +3 -0
  188. package/dist/fish.mjs +5 -0
  189. package/dist/fluent.d.mts +3 -0
  190. package/dist/fluent.mjs +5 -0
  191. package/dist/for.d.mts +3 -0
  192. package/dist/for.mjs +2 -0
  193. package/dist/fortran-fixed-form.d.mts +3 -0
  194. package/dist/fortran-fixed-form.mjs +8 -0
  195. package/dist/fortran-free-form.d.mts +3 -0
  196. package/dist/fortran-free-form.mjs +5 -0
  197. package/dist/fs.d.mts +3 -0
  198. package/dist/fs.mjs +2 -0
  199. package/dist/fsharp.d.mts +3 -0
  200. package/dist/fsharp.mjs +8 -0
  201. package/dist/fsl.d.mts +3 -0
  202. package/dist/fsl.mjs +2 -0
  203. package/dist/ftl.d.mts +3 -0
  204. package/dist/ftl.mjs +2 -0
  205. package/dist/gdresource.d.mts +3 -0
  206. package/dist/gdresource.mjs +10 -0
  207. package/dist/gdscript.d.mts +3 -0
  208. package/dist/gdscript.mjs +5 -0
  209. package/dist/gdshader.d.mts +3 -0
  210. package/dist/gdshader.mjs +5 -0
  211. package/dist/genie.d.mts +3 -0
  212. package/dist/genie.mjs +5 -0
  213. package/dist/gherkin.d.mts +3 -0
  214. package/dist/gherkin.mjs +5 -0
  215. package/dist/git-commit.d.mts +3 -0
  216. package/dist/git-commit.mjs +8 -0
  217. package/dist/git-rebase.d.mts +3 -0
  218. package/dist/git-rebase.mjs +8 -0
  219. package/dist/gjs.d.mts +3 -0
  220. package/dist/gjs.mjs +2 -0
  221. package/dist/gleam.d.mts +3 -0
  222. package/dist/gleam.mjs +5 -0
  223. package/dist/glimmer-js.d.mts +3 -0
  224. package/dist/glimmer-js.mjs +14 -0
  225. package/dist/glimmer-ts.d.mts +3 -0
  226. package/dist/glimmer-ts.mjs +14 -0
  227. package/dist/glsl.d.mts +3 -0
  228. package/dist/glsl.mjs +8 -0
  229. package/dist/gnuplot.d.mts +3 -0
  230. package/dist/gnuplot.mjs +5 -0
  231. package/dist/go.d.mts +3 -0
  232. package/dist/go.mjs +5 -0
  233. package/dist/gql.d.mts +3 -0
  234. package/dist/gql.mjs +2 -0
  235. package/dist/graphql.d.mts +3 -0
  236. package/dist/graphql.mjs +14 -0
  237. package/dist/groovy.d.mts +3 -0
  238. package/dist/groovy.mjs +5 -0
  239. package/dist/gts.d.mts +3 -0
  240. package/dist/gts.mjs +2 -0
  241. package/dist/hack.d.mts +3 -0
  242. package/dist/hack.mjs +10 -0
  243. package/dist/haml.d.mts +3 -0
  244. package/dist/haml.mjs +10 -0
  245. package/dist/handlebars.d.mts +3 -0
  246. package/dist/handlebars.mjs +14 -0
  247. package/dist/haskell.d.mts +3 -0
  248. package/dist/haskell.mjs +5 -0
  249. package/dist/haxe.d.mts +3 -0
  250. package/dist/haxe.mjs +5 -0
  251. package/dist/hbs.d.mts +3 -0
  252. package/dist/hbs.mjs +2 -0
  253. package/dist/hcl.d.mts +3 -0
  254. package/dist/hcl.mjs +5 -0
  255. package/dist/hjson.d.mts +3 -0
  256. package/dist/hjson.mjs +5 -0
  257. package/dist/hlsl.d.mts +3 -0
  258. package/dist/hlsl.mjs +5 -0
  259. package/dist/hs.d.mts +3 -0
  260. package/dist/hs.mjs +2 -0
  261. package/dist/html-derivative.d.mts +3 -0
  262. package/dist/html-derivative.mjs +8 -0
  263. package/dist/html.d.mts +3 -0
  264. package/dist/html.mjs +10 -0
  265. package/dist/http.d.mts +3 -0
  266. package/dist/http.mjs +14 -0
  267. package/dist/hxml.d.mts +3 -0
  268. package/dist/hxml.mjs +8 -0
  269. package/dist/hy.d.mts +3 -0
  270. package/dist/hy.mjs +5 -0
  271. package/dist/imba.d.mts +3 -0
  272. package/dist/imba.mjs +8 -0
  273. package/dist/index.d.mts +1 -0
  274. package/dist/index.mjs +239 -0
  275. package/dist/ini.d.mts +3 -0
  276. package/dist/ini.mjs +5 -0
  277. package/dist/jade.d.mts +3 -0
  278. package/dist/jade.mjs +2 -0
  279. package/dist/java.d.mts +3 -0
  280. package/dist/java.mjs +5 -0
  281. package/dist/javascript.d.mts +3 -0
  282. package/dist/javascript.mjs +5 -0
  283. package/dist/jinja-html.d.mts +3 -0
  284. package/dist/jinja-html.mjs +8 -0
  285. package/dist/jinja.d.mts +3 -0
  286. package/dist/jinja.mjs +8 -0
  287. package/dist/jison.d.mts +3 -0
  288. package/dist/jison.mjs +8 -0
  289. package/dist/jl.d.mts +3 -0
  290. package/dist/jl.mjs +2 -0
  291. package/dist/js.d.mts +3 -0
  292. package/dist/js.mjs +2 -0
  293. package/dist/json.d.mts +3 -0
  294. package/dist/json.mjs +5 -0
  295. package/dist/json5.d.mts +3 -0
  296. package/dist/json5.mjs +5 -0
  297. package/dist/jsonc.d.mts +3 -0
  298. package/dist/jsonc.mjs +5 -0
  299. package/dist/jsonl.d.mts +3 -0
  300. package/dist/jsonl.mjs +5 -0
  301. package/dist/jsonnet.d.mts +3 -0
  302. package/dist/jsonnet.mjs +5 -0
  303. package/dist/jssm.d.mts +3 -0
  304. package/dist/jssm.mjs +5 -0
  305. package/dist/jsx.d.mts +3 -0
  306. package/dist/jsx.mjs +5 -0
  307. package/dist/julia.d.mts +3 -0
  308. package/dist/julia.mjs +16 -0
  309. package/dist/kotlin.d.mts +3 -0
  310. package/dist/kotlin.mjs +5 -0
  311. package/dist/kql.d.mts +3 -0
  312. package/dist/kql.mjs +2 -0
  313. package/dist/kt.d.mts +3 -0
  314. package/dist/kt.mjs +2 -0
  315. package/dist/kts.d.mts +3 -0
  316. package/dist/kts.mjs +2 -0
  317. package/dist/kusto.d.mts +3 -0
  318. package/dist/kusto.mjs +5 -0
  319. package/dist/latex.d.mts +3 -0
  320. package/dist/latex.mjs +8 -0
  321. package/dist/lean.d.mts +3 -0
  322. package/dist/lean.mjs +5 -0
  323. package/dist/lean4.d.mts +3 -0
  324. package/dist/lean4.mjs +2 -0
  325. package/dist/less.d.mts +3 -0
  326. package/dist/less.mjs +5 -0
  327. package/dist/liquid.d.mts +3 -0
  328. package/dist/liquid.mjs +14 -0
  329. package/dist/lisp.d.mts +3 -0
  330. package/dist/lisp.mjs +2 -0
  331. package/dist/lit.d.mts +3 -0
  332. package/dist/lit.mjs +2 -0
  333. package/dist/log.d.mts +3 -0
  334. package/dist/log.mjs +5 -0
  335. package/dist/logo.d.mts +3 -0
  336. package/dist/logo.mjs +5 -0
  337. package/dist/lua.d.mts +3 -0
  338. package/dist/lua.mjs +8 -0
  339. package/dist/luau.d.mts +3 -0
  340. package/dist/luau.mjs +5 -0
  341. package/dist/make.d.mts +3 -0
  342. package/dist/make.mjs +5 -0
  343. package/dist/makefile.d.mts +3 -0
  344. package/dist/makefile.mjs +2 -0
  345. package/dist/markdown-vue.d.mts +3 -0
  346. package/dist/markdown-vue.mjs +5 -0
  347. package/dist/markdown.d.mts +3 -0
  348. package/dist/markdown.mjs +5 -0
  349. package/dist/marko.d.mts +3 -0
  350. package/dist/marko.mjs +14 -0
  351. package/dist/matlab.d.mts +3 -0
  352. package/dist/matlab.mjs +5 -0
  353. package/dist/md.d.mts +3 -0
  354. package/dist/md.mjs +2 -0
  355. package/dist/mdc.d.mts +3 -0
  356. package/dist/mdc.mjs +12 -0
  357. package/dist/mdx.d.mts +3 -0
  358. package/dist/mdx.mjs +5 -0
  359. package/dist/mediawiki.d.mts +3 -0
  360. package/dist/mediawiki.mjs +2 -0
  361. package/dist/mermaid.d.mts +3 -0
  362. package/dist/mermaid.mjs +5 -0
  363. package/dist/mips.d.mts +3 -0
  364. package/dist/mips.mjs +2 -0
  365. package/dist/mipsasm.d.mts +3 -0
  366. package/dist/mipsasm.mjs +5 -0
  367. package/dist/mmd.d.mts +3 -0
  368. package/dist/mmd.mjs +2 -0
  369. package/dist/mojo.d.mts +3 -0
  370. package/dist/mojo.mjs +5 -0
  371. package/dist/move.d.mts +3 -0
  372. package/dist/move.mjs +5 -0
  373. package/dist/nar.d.mts +3 -0
  374. package/dist/nar.mjs +2 -0
  375. package/dist/narrat.d.mts +3 -0
  376. package/dist/narrat.mjs +5 -0
  377. package/dist/nextflow.d.mts +3 -0
  378. package/dist/nextflow.mjs +5 -0
  379. package/dist/nf.d.mts +3 -0
  380. package/dist/nf.mjs +2 -0
  381. package/dist/nginx.d.mts +3 -0
  382. package/dist/nginx.mjs +8 -0
  383. package/dist/nim.d.mts +3 -0
  384. package/dist/nim.mjs +20 -0
  385. package/dist/nix.d.mts +3 -0
  386. package/dist/nix.mjs +5 -0
  387. package/dist/nu.d.mts +3 -0
  388. package/dist/nu.mjs +2 -0
  389. package/dist/nushell.d.mts +3 -0
  390. package/dist/nushell.mjs +5 -0
  391. package/dist/objc.d.mts +3 -0
  392. package/dist/objc.mjs +2 -0
  393. package/dist/objective-c.d.mts +3 -0
  394. package/dist/objective-c.mjs +5 -0
  395. package/dist/objective-cpp.d.mts +3 -0
  396. package/dist/objective-cpp.mjs +5 -0
  397. package/dist/ocaml.d.mts +3 -0
  398. package/dist/ocaml.mjs +5 -0
  399. package/dist/pascal.d.mts +3 -0
  400. package/dist/pascal.mjs +5 -0
  401. package/dist/perl.d.mts +3 -0
  402. package/dist/perl.mjs +16 -0
  403. package/dist/perl6.d.mts +3 -0
  404. package/dist/perl6.mjs +2 -0
  405. package/dist/php.d.mts +3 -0
  406. package/dist/php.mjs +18 -0
  407. package/dist/plsql.d.mts +3 -0
  408. package/dist/plsql.mjs +5 -0
  409. package/dist/po.d.mts +3 -0
  410. package/dist/po.mjs +5 -0
  411. package/dist/polar.d.mts +3 -0
  412. package/dist/polar.mjs +5 -0
  413. package/dist/postcss.d.mts +3 -0
  414. package/dist/postcss.mjs +5 -0
  415. package/dist/pot.d.mts +3 -0
  416. package/dist/pot.mjs +2 -0
  417. package/dist/potx.d.mts +3 -0
  418. package/dist/potx.mjs +2 -0
  419. package/dist/powerquery.d.mts +3 -0
  420. package/dist/powerquery.mjs +5 -0
  421. package/dist/powershell.d.mts +3 -0
  422. package/dist/powershell.mjs +5 -0
  423. package/dist/prisma.d.mts +3 -0
  424. package/dist/prisma.mjs +5 -0
  425. package/dist/prolog.d.mts +3 -0
  426. package/dist/prolog.mjs +5 -0
  427. package/dist/properties.d.mts +3 -0
  428. package/dist/properties.mjs +2 -0
  429. package/dist/proto.d.mts +3 -0
  430. package/dist/proto.mjs +5 -0
  431. package/dist/protobuf.d.mts +3 -0
  432. package/dist/protobuf.mjs +2 -0
  433. package/dist/ps.d.mts +3 -0
  434. package/dist/ps.mjs +2 -0
  435. package/dist/ps1.d.mts +3 -0
  436. package/dist/ps1.mjs +2 -0
  437. package/dist/pug.d.mts +3 -0
  438. package/dist/pug.mjs +12 -0
  439. package/dist/puppet.d.mts +3 -0
  440. package/dist/puppet.mjs +5 -0
  441. package/dist/purescript.d.mts +3 -0
  442. package/dist/purescript.mjs +5 -0
  443. package/dist/py.d.mts +3 -0
  444. package/dist/py.mjs +2 -0
  445. package/dist/python.d.mts +3 -0
  446. package/dist/python.mjs +5 -0
  447. package/dist/ql.d.mts +3 -0
  448. package/dist/ql.mjs +2 -0
  449. package/dist/qml.d.mts +3 -0
  450. package/dist/qml.mjs +8 -0
  451. package/dist/qmldir.d.mts +3 -0
  452. package/dist/qmldir.mjs +5 -0
  453. package/dist/qss.d.mts +3 -0
  454. package/dist/qss.mjs +5 -0
  455. package/dist/r.d.mts +3 -0
  456. package/dist/r.mjs +5 -0
  457. package/dist/racket.d.mts +3 -0
  458. package/dist/racket.mjs +5 -0
  459. package/dist/raku.d.mts +3 -0
  460. package/dist/raku.mjs +5 -0
  461. package/dist/razor.d.mts +3 -0
  462. package/dist/razor.mjs +10 -0
  463. package/dist/rb.d.mts +3 -0
  464. package/dist/rb.mjs +2 -0
  465. package/dist/reg.d.mts +3 -0
  466. package/dist/reg.mjs +5 -0
  467. package/dist/regex.d.mts +3 -0
  468. package/dist/regex.mjs +2 -0
  469. package/dist/regexp.d.mts +3 -0
  470. package/dist/regexp.mjs +5 -0
  471. package/dist/rel.d.mts +3 -0
  472. package/dist/rel.mjs +5 -0
  473. package/dist/riscv.d.mts +3 -0
  474. package/dist/riscv.mjs +5 -0
  475. package/dist/rs.d.mts +3 -0
  476. package/dist/rs.mjs +2 -0
  477. package/dist/rst.d.mts +3 -0
  478. package/dist/rst.mjs +22 -0
  479. package/dist/ruby.d.mts +3 -0
  480. package/dist/ruby.mjs +30 -0
  481. package/dist/rust.d.mts +3 -0
  482. package/dist/rust.mjs +5 -0
  483. package/dist/sas.d.mts +3 -0
  484. package/dist/sas.mjs +8 -0
  485. package/dist/sass.d.mts +3 -0
  486. package/dist/sass.mjs +5 -0
  487. package/dist/scala.d.mts +3 -0
  488. package/dist/scala.mjs +5 -0
  489. package/dist/scheme.d.mts +3 -0
  490. package/dist/scheme.mjs +5 -0
  491. package/dist/scss.d.mts +3 -0
  492. package/dist/scss.mjs +8 -0
  493. package/dist/sdbl.d.mts +3 -0
  494. package/dist/sdbl.mjs +5 -0
  495. package/dist/sh.d.mts +3 -0
  496. package/dist/sh.mjs +2 -0
  497. package/dist/shader.d.mts +3 -0
  498. package/dist/shader.mjs +2 -0
  499. package/dist/shaderlab.d.mts +3 -0
  500. package/dist/shaderlab.mjs +8 -0
  501. package/dist/shell.d.mts +3 -0
  502. package/dist/shell.mjs +2 -0
  503. package/dist/shellscript.d.mts +3 -0
  504. package/dist/shellscript.mjs +5 -0
  505. package/dist/shellsession.d.mts +3 -0
  506. package/dist/shellsession.mjs +8 -0
  507. package/dist/smalltalk.d.mts +3 -0
  508. package/dist/smalltalk.mjs +5 -0
  509. package/dist/solidity.d.mts +3 -0
  510. package/dist/solidity.mjs +5 -0
  511. package/dist/soy.d.mts +3 -0
  512. package/dist/soy.mjs +8 -0
  513. package/dist/sparql.d.mts +3 -0
  514. package/dist/sparql.mjs +8 -0
  515. package/dist/spl.d.mts +3 -0
  516. package/dist/spl.mjs +2 -0
  517. package/dist/splunk.d.mts +3 -0
  518. package/dist/splunk.mjs +5 -0
  519. package/dist/sql.d.mts +3 -0
  520. package/dist/sql.mjs +5 -0
  521. package/dist/ssh-config.d.mts +3 -0
  522. package/dist/ssh-config.mjs +5 -0
  523. package/dist/stata.d.mts +3 -0
  524. package/dist/stata.mjs +8 -0
  525. package/dist/styl.d.mts +3 -0
  526. package/dist/styl.mjs +2 -0
  527. package/dist/stylus.d.mts +3 -0
  528. package/dist/stylus.mjs +5 -0
  529. package/dist/svelte.d.mts +3 -0
  530. package/dist/svelte.mjs +14 -0
  531. package/dist/swift.d.mts +3 -0
  532. package/dist/swift.mjs +5 -0
  533. package/dist/system-verilog.d.mts +3 -0
  534. package/dist/system-verilog.mjs +5 -0
  535. package/dist/systemd.d.mts +3 -0
  536. package/dist/systemd.mjs +5 -0
  537. package/dist/talon.d.mts +3 -0
  538. package/dist/talon.mjs +2 -0
  539. package/dist/talonscript.d.mts +3 -0
  540. package/dist/talonscript.mjs +5 -0
  541. package/dist/tasl.d.mts +3 -0
  542. package/dist/tasl.mjs +5 -0
  543. package/dist/tcl.d.mts +3 -0
  544. package/dist/tcl.mjs +5 -0
  545. package/dist/templ.d.mts +3 -0
  546. package/dist/templ.mjs +12 -0
  547. package/dist/terraform.d.mts +3 -0
  548. package/dist/terraform.mjs +5 -0
  549. package/dist/tex.d.mts +3 -0
  550. package/dist/tex.mjs +8 -0
  551. package/dist/tf.d.mts +3 -0
  552. package/dist/tf.mjs +2 -0
  553. package/dist/tfvars.d.mts +3 -0
  554. package/dist/tfvars.mjs +2 -0
  555. package/dist/toml.d.mts +3 -0
  556. package/dist/toml.mjs +5 -0
  557. package/dist/ts-tags.d.mts +3 -0
  558. package/dist/ts-tags.mjs +18 -0
  559. package/dist/ts.d.mts +3 -0
  560. package/dist/ts.mjs +2 -0
  561. package/dist/tsp.d.mts +3 -0
  562. package/dist/tsp.mjs +2 -0
  563. package/dist/tsv.d.mts +3 -0
  564. package/dist/tsv.mjs +5 -0
  565. package/dist/tsx.d.mts +3 -0
  566. package/dist/tsx.mjs +5 -0
  567. package/dist/turtle.d.mts +3 -0
  568. package/dist/turtle.mjs +5 -0
  569. package/dist/twig.d.mts +3 -0
  570. package/dist/twig.mjs +18 -0
  571. package/dist/typ.d.mts +3 -0
  572. package/dist/typ.mjs +2 -0
  573. package/dist/typescript.d.mts +3 -0
  574. package/dist/typescript.mjs +5 -0
  575. package/dist/typespec.d.mts +3 -0
  576. package/dist/typespec.mjs +5 -0
  577. package/dist/typst.d.mts +3 -0
  578. package/dist/typst.mjs +5 -0
  579. package/dist/v.d.mts +3 -0
  580. package/dist/v.mjs +5 -0
  581. package/dist/vala.d.mts +3 -0
  582. package/dist/vala.mjs +5 -0
  583. package/dist/vb.d.mts +3 -0
  584. package/dist/vb.mjs +5 -0
  585. package/dist/verilog.d.mts +3 -0
  586. package/dist/verilog.mjs +5 -0
  587. package/dist/vhdl.d.mts +3 -0
  588. package/dist/vhdl.mjs +5 -0
  589. package/dist/vim.d.mts +3 -0
  590. package/dist/vim.mjs +2 -0
  591. package/dist/viml.d.mts +3 -0
  592. package/dist/viml.mjs +5 -0
  593. package/dist/vimscript.d.mts +3 -0
  594. package/dist/vimscript.mjs +2 -0
  595. package/dist/vue-directives.d.mts +3 -0
  596. package/dist/vue-directives.mjs +5 -0
  597. package/dist/vue-html.d.mts +3 -0
  598. package/dist/vue-html.mjs +10 -0
  599. package/dist/vue-interpolations.d.mts +3 -0
  600. package/dist/vue-interpolations.mjs +5 -0
  601. package/dist/vue-sfc-style-variable-injection.d.mts +3 -0
  602. package/dist/vue-sfc-style-variable-injection.mjs +8 -0
  603. package/dist/vue.d.mts +3 -0
  604. package/dist/vue.mjs +26 -0
  605. package/dist/vy.d.mts +3 -0
  606. package/dist/vy.mjs +2 -0
  607. package/dist/vyper.d.mts +3 -0
  608. package/dist/vyper.mjs +5 -0
  609. package/dist/wasm.d.mts +3 -0
  610. package/dist/wasm.mjs +5 -0
  611. package/dist/wenyan.d.mts +3 -0
  612. package/dist/wenyan.mjs +5 -0
  613. package/dist/wgsl.d.mts +3 -0
  614. package/dist/wgsl.mjs +5 -0
  615. package/dist/wiki.d.mts +3 -0
  616. package/dist/wiki.mjs +2 -0
  617. package/dist/wikitext.d.mts +3 -0
  618. package/dist/wikitext.mjs +5 -0
  619. package/dist/wl.d.mts +3 -0
  620. package/dist/wl.mjs +2 -0
  621. package/dist/wolfram.d.mts +3 -0
  622. package/dist/wolfram.mjs +5 -0
  623. package/dist/xml.d.mts +3 -0
  624. package/dist/xml.mjs +8 -0
  625. package/dist/xsl.d.mts +3 -0
  626. package/dist/xsl.mjs +8 -0
  627. package/dist/yaml.d.mts +3 -0
  628. package/dist/yaml.mjs +5 -0
  629. package/dist/yml.d.mts +3 -0
  630. package/dist/yml.mjs +2 -0
  631. package/dist/zenscript.d.mts +3 -0
  632. package/dist/zenscript.mjs +5 -0
  633. package/dist/zig.d.mts +3 -0
  634. package/dist/zig.mjs +5 -0
  635. package/dist/zsh.d.mts +3 -0
  636. package/dist/zsh.mjs +2 -0
  637. package/package.json +354 -0
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Apache Conf\",\"fileTypes\":[\"conf\",\"CONF\",\"envvars\",\"htaccess\",\"HTACCESS\",\"htgroups\",\"HTGROUPS\",\"htpasswd\",\"HTPASSWD\",\".htaccess\",\".HTACCESS\",\".htgroups\",\".HTGROUPS\",\".htpasswd\",\".HTPASSWD\"],\"name\":\"apache\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.apacheconf\"}},\"match\":\"^(\\\\s)*(#).*$\\\\n?\",\"name\":\"comment.line.hash.ini\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.apacheconf\"},\"2\":{\"name\":\"entity.tag.apacheconf\"},\"4\":{\"name\":\"string.value.apacheconf\"},\"5\":{\"name\":\"punctuation.definition.tag.apacheconf\"}},\"match\":\"(<)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(\\\\s(.+?))?(>)\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.apacheconf\"},\"2\":{\"name\":\"entity.tag.apacheconf\"},\"3\":{\"name\":\"punctuation.definition.tag.apacheconf\"}},\"match\":\"(</)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(>)\"},{\"captures\":{\"3\":{\"name\":\"string.regexp.apacheconf\"},\"4\":{\"name\":\"string.replacement.apacheconf\"}},\"match\":\"(?<=(Rewrite(Rule|Cond)))\\\\s+(.+?)\\\\s+(.+?)($|\\\\s)\"},{\"captures\":{\"2\":{\"name\":\"entity.status.apacheconf\"},\"3\":{\"name\":\"string.regexp.apacheconf\"},\"5\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=RedirectMatch)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"2\":{\"name\":\"entity.status.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"},\"5\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=Redirect)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"1\":{\"name\":\"string.regexp.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=ScriptAliasMatch|AliasMatch)\\\\s+(.+?)\\\\s+((.+?)\\\\s)?\"},{\"captures\":{\"1\":{\"name\":\"string.path.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=RedirectPermanent|RedirectTemp|ScriptAlias|Alias)\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.core.apacheconf\"}},\"match\":\"\\\\b(AcceptPathInfo|AccessFileName|AddDefaultCharset|AddOutputFilterByType|AllowEncodedSlashes|AllowOverride|AuthName|AuthType|CGIMapExtension|ContentDigest|DefaultType|Define|DocumentRoot|EnableMMAP|EnableSendfile|ErrorDocument|ErrorLog|FileETag|ForceType|HostnameLookups|IdentityCheck|Include(Optional)?|KeepAlive|KeepAliveTimeout|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|LogLevel|MaxKeepAliveRequests|Mutex|NameVirtualHost|Options|Require|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScriptInterpreterSource|ServerAdmin|ServerAlias|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|SetHandler|SetInputFilter|SetOutputFilter|Time(O|o)ut|TraceEnable|UseCanonicalName|Use|ErrorLogFormat|GlobalLog|PHPIniDir|SSLHonorCipherOrder|SSLCompression|SSLUseStapling|SSLStapling\\\\w+|SSLCARevocationCheck|SSLSRPVerifierFile|SSLSessionTickets|RequestReadTimeout|ProxyHTML\\\\w+|MaxRanges)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.mpm.apacheconf\"}},\"match\":\"\\\\b(AcceptMutex|AssignUserID|BS2000Account|ChildPerUserID|CoreDumpDirectory|EnableExceptionHook|Group|Listen|ListenBacklog|LockFile|MaxClients|MaxConnectionsPerChild|MaxMemFree|MaxRequestsPerChild|MaxRequestsPerThread|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MaxThreadsPerChild|MinSpareServers|MinSpareThreads|NumServers|PidFile|ReceiveBufferSize|ScoreBoardFile|SendBufferSize|ServerLimit|StartServers|StartThreads|ThreadLimit|ThreadsPerChild|ThreadStackSize|User|Win32DisableAcceptEx)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.access.apacheconf\"}},\"match\":\"\\\\b(Allow|Deny|Order)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.actions.apacheconf\"}},\"match\":\"\\\\b(Action|Script)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.alias.apacheconf\"}},\"match\":\"\\\\b(Alias|AliasMatch|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ScriptAlias|ScriptAliasMatch)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth.apacheconf\"}},\"match\":\"\\\\b(AuthAuthoritative|AuthGroupFile|AuthUserFile|AuthBasicProvider|AuthBasicFake|AuthBasicAuthoritative|AuthBasicUseDigestAlgorithm)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_anon.apacheconf\"}},\"match\":\"\\\\b(Anonymous|Anonymous_Authoritative|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_dbm.apacheconf\"}},\"match\":\"\\\\b(AuthDBMAuthoritative|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_digest.apacheconf\"}},\"match\":\"\\\\b(AuthDigestAlgorithm|AuthDigestDomain|AuthDigestFile|AuthDigestGroupFile|AuthDigestNcCheck|AuthDigestNonceFormat|AuthDigestNonceLifetime|AuthDigestQop|AuthDigestShmemSize|AuthDigestProvider)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_ldap.apacheconf\"}},\"match\":\"\\\\b(AuthLDAPAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPEnabled|AuthLDAPFrontPageHack|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPRemoteUserIsDN|AuthLDAPUrl)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.autoindex.apacheconf\"}},\"match\":\"\\\\b(AddAlt|AddAltByEncoding|AddAltByType|AddDescription|AddIcon|AddIconByEncoding|AddIconByType|DefaultIcon|HeaderName|IndexIgnore|IndexOptions|IndexOrderDefault|IndexStyleSheet|IndexHeadInsert|ReadmeName)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.filter.apacheconf\"}},\"match\":\"\\\\b(BalancerMember|BalancerGrowth|BalancerPersist|BalancerInherit)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.cache.apacheconf\"}},\"match\":\"\\\\b(CacheDefaultExpire|CacheDisable|CacheEnable|CacheForceCompletion|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheLastModifiedFactor|CacheMaxExpire)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.cern_meta.apacheconf\"}},\"match\":\"\\\\b(MetaDir|MetaFiles|MetaSuffix)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.cgi.apacheconf\"}},\"match\":\"\\\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.cgid.apacheconf\"}},\"match\":\"\\\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.charset_lite.apacheconf\"}},\"match\":\"\\\\b(CharsetDefault|CharsetOptions|CharsetSourceEnc)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.dav.apacheconf\"}},\"match\":\"\\\\b(Dav|DavDepthInfinity|DavMinTimeout|DavLockDB)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.deflate.apacheconf\"}},\"match\":\"\\\\b(DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateMemLevel|DeflateWindowSize)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.dir.apacheconf\"}},\"match\":\"\\\\b(DirectoryIndex|DirectorySlash|FallbackResource)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.disk_cache.apacheconf\"}},\"match\":\"\\\\b(CacheDirLength|CacheDirLevels|CacheExpiryCheck|CacheGcClean|CacheGcDaily|CacheGcInterval|CacheGcMemUsage|CacheGcUnused|CacheMaxFileSize|CacheMinFileSize|CacheRoot|CacheSize|CacheTimeMargin)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.dumpio.apacheconf\"}},\"match\":\"\\\\b(DumpIOInput|DumpIOOutput)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.env.apacheconf\"}},\"match\":\"\\\\b(PassEnv|SetEnv|UnsetEnv)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.expires.apacheconf\"}},\"match\":\"\\\\b(ExpiresActive|ExpiresByType|ExpiresDefault)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.ext_filter.apacheconf\"}},\"match\":\"\\\\b(ExtFilterDefine|ExtFilterOptions)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.file_cache.apacheconf\"}},\"match\":\"\\\\b(CacheFile|MMapFile)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.filter.apacheconf\"}},\"match\":\"\\\\b(AddOutputFilterByType|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.headers.apacheconf\"}},\"match\":\"\\\\b(Header|RequestHeader)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.imap.apacheconf\"}},\"match\":\"\\\\b(ImapBase|ImapDefault|ImapMenu)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.include.apacheconf\"}},\"match\":\"\\\\b(SSIEndTag|SSIErrorMsg|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|XBitHack)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.isapi.apacheconf\"}},\"match\":\"\\\\b(ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.ldap.apacheconf\"}},\"match\":\"\\\\b(LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionTimeout|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTrustedCA|LDAPTrustedCAType)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.log.apacheconf\"}},\"match\":\"\\\\b(BufferedLogs|CookieLog|CustomLog|LogFormat|TransferLog|ForensicLog)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.mem_cache.apacheconf\"}},\"match\":\"\\\\b(MCacheMaxObjectCount|MCacheMaxObjectSize|MCacheMaxStreamingBuffer|MCacheMinObjectSize|MCacheRemovalAlgorithm|MCacheSize)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.mime.apacheconf\"}},\"match\":\"\\\\b(AddCharset|AddEncoding|AddHandler|AddInputFilter|AddLanguage|AddOutputFilter|AddType|DefaultLanguage|ModMimeUsePathInfo|MultiviewsMatch|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|TypesConfig)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.misc.apacheconf\"}},\"match\":\"\\\\b(ProtocolEcho|Example|AddModuleInfo|MimeMagicFile|CheckSpelling|ExtendedStatus|SuexecUserGroup|UserDir)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.negotiation.apacheconf\"}},\"match\":\"\\\\b(CacheNegotiatedDocs|ForceLanguagePriority|LanguagePriority)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.nw_ssl.apacheconf\"}},\"match\":\"\\\\b(NWSSLTrustedCerts|NWSSLUpgradeable|SecureListen)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.proxy.apacheconf\"}},\"match\":\"\\\\b(AllowCONNECT|NoProxy|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyFtpDirCharset|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassMatch|ProxyPassReverse|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxyTimeout|ProxyVia)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.rewrite.apacheconf\"}},\"match\":\"\\\\b(RewriteBase|RewriteCond|RewriteEngine|RewriteLock|RewriteLog|RewriteLogLevel|RewriteMap|RewriteOptions|RewriteRule)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.setenvif.apacheconf\"}},\"match\":\"\\\\b(BrowserMatch|BrowserMatchNoCase|SetEnvIf|SetEnvIfNoCase)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.so.apacheconf\"}},\"match\":\"\\\\b(LoadFile|LoadModule)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.ssl.apacheconf\"}},\"match\":\"\\\\b(SSLCACertificateFile|SSLCACertificatePath|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLEngine|SSLMutex|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLUserName|SSLVerifyClient|SSLVerifyDepth|SSLInsecureRenegotiation|SSLOpenSSLConfCmd)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.substitute.apacheconf\"}},\"match\":\"\\\\b(Substitute|SubstituteInheritBefore|SubstituteMaxLineLength)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.usertrack.apacheconf\"}},\"match\":\"\\\\b(CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.vhost_alias.apacheconf\"}},\"match\":\"\\\\b(VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.php.apacheconf\"},\"3\":{\"name\":\"entity.property.apacheconf\"},\"5\":{\"name\":\"string.value.apacheconf\"}},\"match\":\"\\\\b(php_value|php_flag|php_admin_value|php_admin_flag)\\\\b(\\\\s+(.+?)(\\\\s+(\\\".+?\\\"|.+?))?)?\\\\s\"},{\"captures\":{\"1\":{\"name\":\"punctuation.variable.apacheconf\"},\"3\":{\"name\":\"variable.env.apacheconf\"},\"4\":{\"name\":\"variable.misc.apacheconf\"},\"5\":{\"name\":\"punctuation.variable.apacheconf\"}},\"match\":\"(%\\\\{)((HTTP_USER_AGENT|HTTP_REFERER|HTTP_COOKIE|HTTP_FORWARDED|HTTP_HOST|HTTP_PROXY_CONNECTION|HTTP_ACCEPT|REMOTE_ADDR|REMOTE_HOST|REMOTE_PORT|REMOTE_USER|REMOTE_IDENT|REQUEST_METHOD|SCRIPT_FILENAME|PATH_INFO|QUERY_STRING|AUTH_TYPE|DOCUMENT_ROOT|SERVER_ADMIN|SERVER_NAME|SERVER_ADDR|SERVER_PORT|SERVER_PROTOCOL|SERVER_SOFTWARE|TIME_YEAR|TIME_MON|TIME_DAY|TIME_HOUR|TIME_MIN|TIME_SEC|TIME_WDAY|TIME|API_VERSION|THE_REQUEST|REQUEST_URI|REQUEST_FILENAME|IS_SUBREQ|HTTPS)|(.*?))(\\\\})\"},{\"captures\":{\"1\":{\"name\":\"entity.mime-type.apacheconf\"}},\"match\":\"\\\\b((text|image|application|video|audio)/.+?)\\\\s\"},{\"captures\":{\"1\":{\"name\":\"entity.helper.apacheconf\"}},\"match\":\"\\\\b(?i)(export|from|unset|set|on|off)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.decimal.apacheconf\"}},\"match\":\"\\\\b(\\\\d+)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.flag.apacheconf\"},\"2\":{\"name\":\"string.flag.apacheconf\"},\"3\":{\"name\":\"punctuation.definition.flag.apacheconf\"}},\"match\":\"\\\\s(\\\\[)(.*?)(\\\\])\\\\s\"}],\"scopeName\":\"source.apacheconf\"}"))
2
+
3
+ export default [
4
+ lang
5
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/apex.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Apex\",\"fileTypes\":[\"apex\",\"cls\",\"trigger\"],\"name\":\"apex\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#directives\"},{\"include\":\"#declarations\"},{\"include\":\"#script-top-level\"}],\"repository\":{\"annotation-declaration\":{\"begin\":\"([@][_A-Za-z]+)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.annotation.apex\"}},\"end\":\"(?<=\\\\)|$)\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"include\":\"#statement\"}]},\"argument-list\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#named-argument\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"array-creation-expression\":{\"begin\":\"\\\\b(new)\\\\b\\\\s*(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))?\\\\s*(?=\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.new.apex\"},\"2\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]}},\"end\":\"(?<=\\\\])\",\"patterns\":[{\"include\":\"#bracketed-argument-list\"}]},\"block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#statement\"}]},\"boolean-literal\":{\"patterns\":[{\"match\":\"(?<!\\\\.)\\\\btrue\\\\b\",\"name\":\"constant.language.boolean.true.apex\"},{\"match\":\"(?<!\\\\.)\\\\bfalse\\\\b\",\"name\":\"constant.language.boolean.false.apex\"}]},\"bracketed-argument-list\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.open.apex\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.close.apex\"}},\"patterns\":[{\"include\":\"#soql-query-expression\"},{\"include\":\"#named-argument\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"break-or-continue-statement\":{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.break.apex\"},\"2\":{\"name\":\"keyword.control.flow.continue.apex\"}},\"match\":\"(?<!\\\\.)\\\\b(?:(break)|(continue))\\\\b\"},\"cast-expression\":{\"captures\":{\"1\":{\"name\":\"punctuation.parenthesis.open.apex\"},\"2\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"6\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"match\":\"(\\\\()\\\\s*(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s*(\\\\))(?=\\\\s*@?[_0-9A-Za-z(])\"},\"catch-clause\":{\"begin\":\"(?<!\\\\.)\\\\b(catch)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.try.catch.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"5\":{\"name\":\"entity.name.variable.local.apex\"}},\"match\":\"(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s*(?:(\\\\g<identifier>)\\\\b)?\"}]},{\"include\":\"#comment\"},{\"include\":\"#block\"}]},\"class-declaration\":{\"begin\":\"(?=\\\\bclass\\\\b)\",\"end\":\"(?<=\\\\})\",\"patterns\":[{\"begin\":\"\\\\b(class)\\\\b\\\\s+(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.class.apex\"},\"2\":{\"name\":\"entity.name.type.class.apex\"}},\"end\":\"(?=\\\\{)\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#type-parameter-list\"},{\"include\":\"#extends-class\"},{\"include\":\"#implements-class\"}]},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#class-or-trigger-members\"}]},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"}]},\"class-or-trigger-members\":{\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#storage-modifier\"},{\"include\":\"#sharing-modifier\"},{\"include\":\"#type-declarations\"},{\"include\":\"#field-declaration\"},{\"include\":\"#property-declaration\"},{\"include\":\"#indexer-declaration\"},{\"include\":\"#variable-initializer\"},{\"include\":\"#constructor-declaration\"},{\"include\":\"#method-declaration\"},{\"include\":\"#punctuation-semicolon\"}]},\"colon-expression\":{\"match\":\":\",\"name\":\"keyword.operator.conditional.colon.apex\"},\"comment\":{\"patterns\":[{\"begin\":\"/\\\\*(\\\\*)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"name\":\"comment.block.apex\"},{\"begin\":\"(^\\\\s+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.apex\"}},\"end\":\"(?=$)\",\"patterns\":[{\"begin\":\"(?<!/)///(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"end\":\"(?=$)\",\"name\":\"comment.block.documentation.apex\",\"patterns\":[{\"include\":\"#xml-doc-comment\"}]},{\"begin\":\"(?<!/)//(?:(?!/)|(?=//))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"end\":\"(?=$)\",\"name\":\"comment.line.double-slash.apex\"}]}]},\"conditional-operator\":{\"begin\":\"(?<!\\\\?)\\\\?(?!\\\\?|\\\\.|\\\\[)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.conditional.question-mark.apex\"}},\"end\":\":\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.conditional.colon.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},\"constructor-declaration\":{\"begin\":\"(?=@?[_A-Za-z][_0-9A-Za-z]*\\\\s*\\\\()\",\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.function.apex\"}},\"match\":\"(@?[_A-Za-z][_0-9A-Za-z]*)\\\\b\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.colon.apex\"}},\"end\":\"(?=\\\\{|=>)\",\"patterns\":[{\"include\":\"#constructor-initializer\"}]},{\"include\":\"#parenthesized-parameter-list\"},{\"include\":\"#comment\"},{\"include\":\"#expression-body\"},{\"include\":\"#block\"}]},\"constructor-initializer\":{\"begin\":\"\\\\b(?:(this))\\\\b\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.this.apex\"}},\"end\":\"(?<=\\\\))\",\"patterns\":[{\"include\":\"#argument-list\"}]},\"date-literal-with-params\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.date.apex\"}},\"match\":\"\\\\b((LAST_N_DAYS|NEXT_N_DAYS|NEXT_N_WEEKS|LAST_N_WEEKS|NEXT_N_MONTHS|LAST_N_MONTHS|NEXT_N_QUARTERS|LAST_N_QUARTERS|NEXT_N_YEARS|LAST_N_YEARS|NEXT_N_FISCAL_QUARTERS|LAST_N_FISCAL_QUARTERS|NEXT_N_FISCAL_YEARS|LAST_N_FISCAL_YEARS)\\\\s*:\\\\d+)\\\\b\"},\"date-literals\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.date.apex\"}},\"match\":\"\\\\b(YESTERDAY|TODAY|TOMORROW|LAST_WEEK|THIS_WEEK|NEXT_WEEK|LAST_MONTH|THIS_MONTH|NEXT_MONTH|LAST_90_DAYS|NEXT_90_DAYS|THIS_QUARTER|LAST_QUARTER|NEXT_QUARTER|THIS_YEAR|LAST_YEAR|NEXT_YEAR|THIS_FISCAL_QUARTER|LAST_FISCAL_QUARTER|NEXT_FISCAL_QUARTER|THIS_FISCAL_YEAR|LAST_FISCAL_YEAR|NEXT_FISCAL_YEAR)\\\\b\\\\s*\"},\"declarations\":{\"patterns\":[{\"include\":\"#type-declarations\"},{\"include\":\"#punctuation-semicolon\"}]},\"directives\":{\"patterns\":[{\"include\":\"#punctuation-semicolon\"}]},\"do-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(do)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.loop.do.apex\"}},\"end\":\"(?=;|})\",\"patterns\":[{\"include\":\"#statement\"}]},\"element-access-expression\":{\"begin\":\"(?:(\\\\??\\\\.)\\\\s*)?(?:(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*)?(?:(\\\\?)\\\\s*)?(?=\\\\[)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]},\"2\":{\"name\":\"variable.other.object.property.apex\"},\"3\":{\"name\":\"keyword.operator.null-conditional.apex\"}},\"end\":\"(?<=\\\\])(?!\\\\s*\\\\[)\",\"patterns\":[{\"include\":\"#bracketed-argument-list\"}]},\"else-part\":{\"begin\":\"(?<!\\\\.)\\\\b(else)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.else.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"include\":\"#statement\"}]},\"enum-declaration\":{\"begin\":\"(?=\\\\benum\\\\b)\",\"end\":\"(?<=\\\\})\",\"patterns\":[{\"begin\":\"(?=enum)\",\"end\":\"(?=\\\\{)\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.enum.apex\"},\"2\":{\"name\":\"entity.name.type.enum.apex\"}},\"match\":\"(enum)\\\\s+(@?[_A-Za-z][_0-9A-Za-z]*)\"}]},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#punctuation-comma\"},{\"begin\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"beginCaptures\":{\"0\":{\"name\":\"entity.name.variable.enum-member.apex\"}},\"end\":\"(?=(,|\\\\}))\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#variable-initializer\"}]}]},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"}]},\"expression\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#merge-expression\"},{\"include\":\"#support-expression\"},{\"include\":\"#throw-expression\"},{\"include\":\"#this-expression\"},{\"include\":\"#trigger-context-declaration\"},{\"include\":\"#conditional-operator\"},{\"include\":\"#expression-operators\"},{\"include\":\"#soql-query-expression\"},{\"include\":\"#object-creation-expression\"},{\"include\":\"#array-creation-expression\"},{\"include\":\"#invocation-expression\"},{\"include\":\"#member-access-expression\"},{\"include\":\"#element-access-expression\"},{\"include\":\"#cast-expression\"},{\"include\":\"#literal\"},{\"include\":\"#parenthesized-expression\"},{\"include\":\"#initializer-expression\"},{\"include\":\"#identifier\"}]},\"expression-body\":{\"begin\":\"=>\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.arrow.apex\"}},\"end\":\"(?=[,);}])\",\"patterns\":[{\"include\":\"#expression\"}]},\"expression-operators\":{\"patterns\":[{\"match\":\"\\\\*=|/=|%=|\\\\+=|-=\",\"name\":\"keyword.operator.assignment.compound.apex\"},{\"match\":\"\\\\&=|\\\\^=|<<=|>>=|\\\\|=\",\"name\":\"keyword.operator.assignment.compound.bitwise.apex\"},{\"match\":\"<<|>>\",\"name\":\"keyword.operator.bitwise.shift.apex\"},{\"match\":\"==|!=\",\"name\":\"keyword.operator.comparison.apex\"},{\"match\":\"<=|>=|<|>\",\"name\":\"keyword.operator.relational.apex\"},{\"match\":\"!|&&|\\\\|\\\\|\",\"name\":\"keyword.operator.logical.apex\"},{\"match\":\"\\\\&|~|\\\\^|\\\\|\",\"name\":\"keyword.operator.bitwise.apex\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.apex\"},{\"match\":\"--\",\"name\":\"keyword.operator.decrement.apex\"},{\"match\":\"\\\\+\\\\+\",\"name\":\"keyword.operator.increment.apex\"},{\"match\":\"%|\\\\*|/|-|\\\\+\",\"name\":\"keyword.operator.arithmetic.apex\"}]},\"extends-class\":{\"begin\":\"(extends)\\\\b\\\\s+([_A-Za-z][_0-9A-Za-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.extends.apex\"},\"2\":{\"name\":\"entity.name.type.extends.apex\"}},\"end\":\"(?={|implements)\"},\"field-declaration\":{\"begin\":\"(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+(\\\\g<identifier>)\\\\s*(?!=>|==)(?=,|;|=|$)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"5\":{\"name\":\"entity.name.variable.field.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.variable.field.apex\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#comment\"},{\"include\":\"#variable-initializer\"},{\"include\":\"#class-or-trigger-members\"}]},\"finally-clause\":{\"begin\":\"(?<!\\\\.)\\\\b(finally)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.try.finally.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#block\"}]},\"for-apex-syntax\":{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"2\":{\"name\":\"entity.name.variable.local.apex\"},\"3\":{\"name\":\"keyword.operator.iterator.colon.apex\"}},\"match\":\"([_.A-Za-z][_.0-9A-Za-z]+)\\\\s+([_.A-Za-z][_.0-9A-Za-z]*)\\\\s*(:)\"},\"for-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(for)\\\\b\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.loop.for.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#for-apex-syntax\"},{\"include\":\"#local-variable-declaration\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#punctuation-semicolon\"},{\"include\":\"#colon-expression\"}]},{\"include\":\"#statement\"}]},\"from-clause\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.from.apex\"},\"2\":{\"name\":\"storage.type.apex\"}},\"match\":\"(FROM)\\\\b\\\\s*([_\\\\.0-9A-Za-z]+\\\\b)?\"},\"goto-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(goto)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.goto.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"begin\":\"\\\\b(case)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.case.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"include\":\"#expression\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.default.apex\"}},\"match\":\"\\\\b(default)\\\\b\"},{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.label.apex\"}]},\"identifier\":{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"variable.other.readwrite.apex\"},\"if-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(if)\\\\b\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.if.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"include\":\"#statement\"}]},\"implements-class\":{\"begin\":\"(implements)\\\\b\\\\s+([_A-Za-z][_0-9A-Za-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.implements.apex\"},\"2\":{\"name\":\"entity.name.type.implements.apex\"}},\"end\":\"(?={|extends)\"},\"indexer-declaration\":{\"begin\":\"(?<return_type>(?<type_name>(?:(?:ref\\\\s+)?(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+)(?<interface_name>\\\\g<type_name>\\\\s*\\\\.\\\\s*)?(?<indexer_name>this)\\\\s*(?=\\\\[)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#type\"}]},\"6\":{\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuation-accessor\"}]},\"7\":{\"name\":\"keyword.other.this.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#property-accessors\"},{\"include\":\"#expression-body\"},{\"include\":\"#variable-initializer\"}]},\"initializer-expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"interface-declaration\":{\"begin\":\"(?=\\\\binterface\\\\b)\",\"end\":\"(?<=\\\\})\",\"patterns\":[{\"begin\":\"(interface)\\\\b\\\\s+(@?[_A-Za-z][_0-9A-Za-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.interface.apex\"},\"2\":{\"name\":\"entity.name.type.interface.apex\"}},\"end\":\"(?=\\\\{)\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#type-parameter-list\"},{\"include\":\"#extends-class\"}]},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#interface-members\"}]},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"}]},\"interface-members\":{\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#property-declaration\"},{\"include\":\"#indexer-declaration\"},{\"include\":\"#method-declaration\"},{\"include\":\"#punctuation-semicolon\"}]},\"invocation-expression\":{\"begin\":\"(?:(\\\\??\\\\.)\\\\s*)?(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*(?<type_args>\\\\s*<([^<>]|\\\\g<type_args>)+>\\\\s*)?\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]},\"2\":{\"name\":\"entity.name.function.apex\"},\"3\":{\"patterns\":[{\"include\":\"#type-arguments\"}]}},\"end\":\"(?<=\\\\))\",\"patterns\":[{\"include\":\"#argument-list\"}]},\"javadoc-comment\":{\"patterns\":[{\"begin\":\"^\\\\s*(/\\\\*\\\\*)(?!/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.apex\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"name\":\"comment.block.javadoc.apex\",\"patterns\":[{\"match\":\"@(deprecated|author|return|see|serial|since|version|usage|name|link)\\\\b\",\"name\":\"keyword.other.documentation.javadoc.apex\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.javadoc.apex\"},\"2\":{\"name\":\"entity.name.variable.parameter.apex\"}},\"match\":\"(@param)\\\\s+(\\\\S+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.javadoc.apex\"},\"2\":{\"name\":\"entity.name.type.class.apex\"}},\"match\":\"(@(?:exception|throws))\\\\s+(\\\\S+)\"},{\"captures\":{\"1\":{\"name\":\"string.quoted.single.apex\"}},\"match\":\"(`([^`]+?)`)\"}]}]},\"literal\":{\"patterns\":[{\"include\":\"#boolean-literal\"},{\"include\":\"#null-literal\"},{\"include\":\"#numeric-literal\"},{\"include\":\"#string-literal\"}]},\"local-constant-declaration\":{\"begin\":\"(?<const_keyword>\\\\b(?:const)\\\\b)\\\\s*(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+(\\\\g<identifier>)\\\\s*(?=,|;|=)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.apex\"},\"2\":{\"patterns\":[{\"include\":\"#type\"}]},\"6\":{\"name\":\"entity.name.variable.local.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.variable.local.apex\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#comment\"},{\"include\":\"#variable-initializer\"}]},\"local-declaration\":{\"patterns\":[{\"include\":\"#local-constant-declaration\"},{\"include\":\"#local-variable-declaration\"}]},\"local-variable-declaration\":{\"begin\":\"(?:(?:(\\\\bref)\\\\s+)?(\\\\bvar\\\\b)|(?<type_name>(?:(?:ref\\\\s+)?(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*)))\\\\s+(\\\\g<identifier>)\\\\s*(?=,|;|=|\\\\))\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.apex\"},\"2\":{\"name\":\"keyword.other.var.apex\"},\"3\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"7\":{\"name\":\"entity.name.variable.local.apex\"}},\"end\":\"(?=;|\\\\))\",\"patterns\":[{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.variable.local.apex\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#comment\"},{\"include\":\"#variable-initializer\"}]},\"member-access-expression\":{\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]},\"2\":{\"name\":\"variable.other.object.property.apex\"}},\"match\":\"(\\\\??\\\\.)\\\\s*(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*(?![_0-9A-Za-z]|\\\\(|(\\\\?)?\\\\[|<)\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]},\"2\":{\"name\":\"variable.other.object.apex\"},\"3\":{\"patterns\":[{\"include\":\"#type-arguments\"}]}},\"match\":\"(\\\\??\\\\.)?\\\\s*(@?[_A-Za-z][_0-9A-Za-z]*)(?<type_params>\\\\s*<([^<>]|\\\\g<type_params>)+>\\\\s*)(?=(\\\\s*\\\\?)?\\\\s*\\\\.\\\\s*@?[_A-Za-z][_0-9A-Za-z]*)\"},{\"captures\":{\"1\":{\"name\":\"variable.other.object.apex\"}},\"match\":\"(@?[_A-Za-z][_0-9A-Za-z]*)(?=(\\\\s*\\\\?)?\\\\s*\\\\.\\\\s*@?[_A-Za-z][_0-9A-Za-z]*)\"}]},\"merge-expression\":{\"begin\":\"(merge)\\\\b\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.apex\"}},\"end\":\"(?<=\\\\;)\",\"patterns\":[{\"include\":\"#object-creation-expression\"},{\"include\":\"#merge-type-statement\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-semicolon\"}]},\"merge-type-statement\":{\"captures\":{\"1\":{\"name\":\"variable.other.readwrite.apex\"},\"2\":{\"name\":\"variable.other.readwrite.apex\"},\"3\":{\"name\":\"punctuation.terminator.statement.apex\"}},\"match\":\"([_A-Za-z]*)\\\\b\\\\s+([_A-Za-z]*)\\\\b\\\\s*(\\\\;)\"},\"method-declaration\":{\"begin\":\"(?<return_type>(?<type_name>(?:(?:ref\\\\s+)?(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+)(?<interface_name>\\\\g<type_name>\\\\s*\\\\.\\\\s*)?(\\\\g<identifier>)\\\\s*(<([^<>]+)>)?\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"6\":{\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuation-accessor\"}]},\"7\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#method-name-custom\"}]},\"8\":{\"patterns\":[{\"include\":\"#type-parameter-list\"}]}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#parenthesized-parameter-list\"},{\"include\":\"#expression-body\"},{\"include\":\"#block\"}]},\"method-name-custom\":{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.function.apex\"},\"named-argument\":{\"begin\":\"(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.variable.parameter.apex\"},\"2\":{\"name\":\"punctuation.separator.colon.apex\"}},\"end\":\"(?=(,|\\\\)|\\\\]))\",\"patterns\":[{\"include\":\"#expression\"}]},\"null-literal\":{\"match\":\"(?<!\\\\.)\\\\bnull\\\\b\",\"name\":\"constant.language.null.apex\"},\"numeric-literal\":{\"patterns\":[{\"match\":\"\\\\b(\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d{1,3})?(-|\\\\+)\\\\d{2}:\\\\d{2})\\\\b\",\"name\":\"constant.numeric.datetime.apex\"},{\"match\":\"\\\\b(\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d{1,3})?(Z)?)\\\\b\",\"name\":\"constant.numeric.datetime.apex\"},{\"match\":\"\\\\b(\\\\d{4}-\\\\d{2}-\\\\d{2})\\\\b\",\"name\":\"constant.numeric.date.apex\"},{\"match\":\"\\\\b0(x|X)[0-9a-fA-F_]+(U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?\\\\b\",\"name\":\"constant.numeric.hex.apex\"},{\"match\":\"\\\\b0(b|B)[01_]+(U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?\\\\b\",\"name\":\"constant.numeric.binary.apex\"},{\"match\":\"\\\\b([0-9_]+)?\\\\.[0-9_]+((e|E)\\\\d+)?(F|f|D|d|M|m)?\\\\b\",\"name\":\"constant.numeric.decimal.apex\"},{\"match\":\"\\\\b[0-9_]+(e|E)[0-9_]+(F|f|D|d|M|m)?\\\\b\",\"name\":\"constant.numeric.decimal.apex\"},{\"match\":\"\\\\b[0-9_]+(F|f|D|d|M|m)\\\\b\",\"name\":\"constant.numeric.decimal.apex\"},{\"match\":\"\\\\b[0-9_]+(U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?\\\\b\",\"name\":\"constant.numeric.decimal.apex\"}]},\"object-creation-expression\":{\"patterns\":[{\"include\":\"#object-creation-expression-with-parameters\"},{\"include\":\"#object-creation-expression-with-no-parameters\"},{\"include\":\"#punctuation-comma\"}]},\"object-creation-expression-with-no-parameters\":{\"captures\":{\"1\":{\"name\":\"support.function.apex\"},\"2\":{\"name\":\"keyword.control.new.apex\"},\"3\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]}},\"match\":\"(delete|insert|undelete|update|upsert)?\\\\s*(new)\\\\s+(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s*(?=\\\\{|$)\"},\"object-creation-expression-with-parameters\":{\"begin\":\"(delete|insert|undelete|update|upsert)?\\\\s*(new)\\\\s+(?<type_name>(?:(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.apex\"},\"2\":{\"name\":\"keyword.control.new.apex\"},\"3\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]}},\"end\":\"(?<=\\\\))\",\"patterns\":[{\"include\":\"#argument-list\"}]},\"operator-assignment\":{\"match\":\"(?<!=|!)(=)(?!=)\",\"name\":\"keyword.operator.assignment.apex\"},\"operator-safe-navigation\":{\"match\":\"\\\\?\\\\.\",\"name\":\"keyword.operator.safe-navigation.apex\"},\"orderby-clause\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.orderby.apex\"}},\"match\":\"\\\\b(ORDER BY)\\\\b\\\\s*\",\"patterns\":[{\"include\":\"#ordering-direction\"},{\"include\":\"#ordering-nulls\"}]},\"ordering-direction\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.ascending.apex\"},\"2\":{\"name\":\"keyword.operator.query.descending.apex\"}},\"match\":\"\\\\b(?:(ASC)|(DESC))\\\\b\"},\"ordering-nulls\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.nullsfirst.apex\"},\"2\":{\"name\":\"keyword.operator.query.nullslast.apex\"}},\"match\":\"\\\\b(?:(NULLS FIRST)|(NULLS LAST))\\\\b\"},\"parameter\":{\"captures\":{\"1\":{\"name\":\"storage.modifier.apex\"},\"2\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"6\":{\"name\":\"entity.name.variable.parameter.apex\"}},\"match\":\"(?:(?:\\\\b(this)\\\\b)\\\\s+)?(?<type_name>(?:(?:ref\\\\s+)?(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+(\\\\g<identifier>)\"},\"parenthesized-expression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},\"parenthesized-parameter-list\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#parameter\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#variable-initializer\"}]},\"property-accessors\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"match\":\"\\\\b(private|protected)\\\\b\",\"name\":\"storage.modifier.apex\"},{\"match\":\"\\\\b(get)\\\\b\",\"name\":\"keyword.other.get.apex\"},{\"match\":\"\\\\b(set)\\\\b\",\"name\":\"keyword.other.set.apex\"},{\"include\":\"#comment\"},{\"include\":\"#expression-body\"},{\"include\":\"#block\"},{\"include\":\"#punctuation-semicolon\"}]},\"property-declaration\":{\"begin\":\"(?!.*\\\\b(?:class|interface|enum)\\\\b)\\\\s*(?<return_type>(?<type_name>(?:(?:ref\\\\s+)?(?:(?:(?<identifier>@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*)(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*\\\\]\\\\s*)*))\\\\s+)(?<interface_name>\\\\g<type_name>\\\\s*\\\\.\\\\s*)?(?<property_name>\\\\g<identifier>)\\\\s*(?=\\\\{|=>|$)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#type\"}]},\"6\":{\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuation-accessor\"}]},\"7\":{\"name\":\"entity.name.variable.property.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#property-accessors\"},{\"include\":\"#expression-body\"},{\"include\":\"#variable-initializer\"},{\"include\":\"#class-or-trigger-members\"}]},\"punctuation-accessor\":{\"match\":\"\\\\.\",\"name\":\"punctuation.accessor.apex\"},\"punctuation-comma\":{\"match\":\",\",\"name\":\"punctuation.separator.comma.apex\"},\"punctuation-semicolon\":{\"match\":\";\",\"name\":\"punctuation.terminator.statement.apex\"},\"query-operators\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.apex\"}},\"match\":\"\\\\b(ABOVE|AND|AT|FOR REFERENCE|FOR UPDATE|FOR VIEW|GROUP BY|HAVING|IN|LIKE|LIMIT|NOT IN|NOT|OFFSET|OR|TYPEOF|UPDATE TRACKING|UPDATE VIEWSTAT|WITH DATA CATEGORY|WITH)\\\\b\\\\s*\"},\"return-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(return)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow.return.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"include\":\"#expression\"}]},\"script-top-level\":{\"patterns\":[{\"include\":\"#method-declaration\"},{\"include\":\"#statement\"},{\"include\":\"#punctuation-semicolon\"}]},\"sharing-modifier\":{\"match\":\"(?<!\\\\.)\\\\b(with sharing|without sharing|inherited sharing)\\\\b\",\"name\":\"sharing.modifier.apex\"},\"soql-colon-method-statement\":{\"begin\":\"(:?\\\\.)?([_A-Za-z][_0-9A-Za-z]*)(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"entity.name.function.apex\"}},\"end\":\"(?<=\\\\))\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"include\":\"#statement\"}]},\"soql-colon-vars\":{\"begin\":\"(:)\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.conditional.colon.apex\"}},\"end\":\"(?![_0-9A-Za-z]|\\\\(|(\\\\?)?\\\\[|<)\",\"patterns\":[{\"include\":\"#trigger-context-declaration\"},{\"captures\":{\"1\":{\"name\":\"variable.other.object.apex\"},\"2\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]}},\"match\":\"([_A-Za-z][_0-9A-Za-z]*)(\\\\??\\\\.)\"},{\"include\":\"#soql-colon-method-statement\"},{\"match\":\"[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"entity.name.variable.local.apex\"}]},\"soql-functions\":{\"begin\":\"\\\\b(AVG|CALENDAR_MONTH|CALENDAR_QUARTER|CALENDAR_YEAR|convertCurrency|convertTimezone|COUNT|COUNT_DISTINCT|DAY_IN_MONTH|DAY_IN_WEEK|DAY_IN_YEAR|DAY_ONLY|toLabel|INCLUDES|EXCLUDES|FISCAL_MONTH|FISCAL_QUARTER|FISCAL_YEAR|FORMAT|GROUPING|GROUP BY CUBE|GROUP BY ROLLUP|HOUR_IN_DAY|MAX|MIN|SUM|WEEK_IN_MONTH|WEEK_IN_YEAR)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.query.apex\"},\"2\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#literal\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#soql-functions\"},{\"match\":\"[_.A-Za-z][_.0-9A-Za-z]*\",\"name\":\"keyword.query.field.apex\"}]},\"soql-group-clauses\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#soql-query-expression\"},{\"include\":\"#soql-colon-vars\"},{\"include\":\"#soql-group-clauses\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#literal\"},{\"include\":\"#query-operators\"},{\"include\":\"#date-literals\"},{\"include\":\"#date-literal-with-params\"},{\"include\":\"#using-scope\"},{\"match\":\"[_.A-Za-z][_.0-9A-Za-z]*\",\"name\":\"keyword.query.field.apex\"}]},\"soql-query-body\":{\"patterns\":[{\"include\":\"#trigger-context-declaration\"},{\"include\":\"#soql-colon-vars\"},{\"include\":\"#soql-functions\"},{\"include\":\"#from-clause\"},{\"include\":\"#where-clause\"},{\"include\":\"#query-operators\"},{\"include\":\"#date-literals\"},{\"include\":\"#date-literal-with-params\"},{\"include\":\"#using-scope\"},{\"include\":\"#soql-group-clauses\"},{\"include\":\"#orderby-clause\"},{\"include\":\"#ordering-direction\"},{\"include\":\"#ordering-nulls\"}]},\"soql-query-expression\":{\"begin\":\"\\\\b(SELECT)\\\\b\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.query.select.apex\"}},\"end\":\"(?=;)|(?=\\\\])|(?=\\\\))\",\"patterns\":[{\"include\":\"#soql-query-body\"},{\"include\":\"#comment\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#parenthesized-expression\"},{\"include\":\"#expression-operators\"},{\"include\":\"#literal\"},{\"captures\":{\"1\":{\"name\":\"keyword.query.field.apex\"},\"2\":{\"name\":\"punctuation.separator.comma.apex\"}},\"match\":\"([_.A-Za-z][_.0-9A-Za-z]*)\\\\s*(\\\\,)?\"}]},\"statement\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#while-statement\"},{\"include\":\"#do-statement\"},{\"include\":\"#for-statement\"},{\"include\":\"#switch-statement\"},{\"include\":\"#when-else-statement\"},{\"include\":\"#when-sobject-statement\"},{\"include\":\"#when-statement\"},{\"include\":\"#when-multiple-statement\"},{\"include\":\"#if-statement\"},{\"include\":\"#else-part\"},{\"include\":\"#goto-statement\"},{\"include\":\"#return-statement\"},{\"include\":\"#break-or-continue-statement\"},{\"include\":\"#throw-statement\"},{\"include\":\"#try-statement\"},{\"include\":\"#soql-query-expression\"},{\"include\":\"#local-declaration\"},{\"include\":\"#block\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-semicolon\"}]},\"storage-modifier\":{\"match\":\"(?<!\\\\.)\\\\b(new|public|protected|private|abstract|virtual|override|global|static|final|transient)\\\\b\",\"name\":\"storage.modifier.apex\"},\"string-character-escape\":{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.apex\"},\"string-literal\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apex\"}},\"end\":\"(\\\\')|((?:[^\\\\\\\\\\\\n])$)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.apex\"},\"2\":{\"name\":\"invalid.illegal.newline.apex\"}},\"name\":\"string.quoted.single.apex\",\"patterns\":[{\"include\":\"#string-character-escape\"}]},\"support-arguments\":{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.begin.apex\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.end.apex\"}},\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#support-type\"},{\"include\":\"#punctuation-comma\"}]},\"support-class\":{\"captures\":{\"1\":{\"name\":\"support.class.apex\"}},\"match\":\"\\\\b(ApexPages|Database|DMLException|Exception|PageReference|Savepoint|SchedulableContext|Schema|SObject|System|Test)\\\\b\"},\"support-expression\":{\"begin\":\"(ApexPages|Database|DMLException|Exception|PageReference|Savepoint|SchedulableContext|Schema|SObject|System|Test)(?=\\\\.|\\\\s)\",\"beginCaptures\":{\"1\":{\"name\":\"support.class.apex\"}},\"end\":\"(?<=\\\\)|$)|(?=\\\\})|(?=;)|(?=\\\\)|(?=\\\\]))|(?=\\\\,)\",\"patterns\":[{\"include\":\"#support-type\"},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"support.function.apex\"}},\"match\":\"(?:(\\\\.))([A-Za-z]*)(?=\\\\()\"},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"support.type.apex\"}},\"match\":\"(?:(\\\\.))([A-Za-z]+)\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},{\"include\":\"#comment\"},{\"include\":\"#statement\"}]},\"support-functions\":{\"captures\":{\"1\":{\"name\":\"support.function.apex\"}},\"match\":\"\\\\b(delete|execute|finish|insert|start|undelete|update|upsert)\\\\b\"},\"support-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"support.function.apex\"}},\"match\":\"(\\\\.)\\\\s*([A-Za-z]*)(?=\\\\()\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"support.type.apex\"}},\"match\":\"(\\\\.)\\\\s*([_A-Za-z]*)\"}]},\"support-type\":{\"name\":\"support.apex\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#support-class\"},{\"include\":\"#support-functions\"},{\"include\":\"#support-name\"}]},\"switch-statement\":{\"begin\":\"(switch)\\\\b\\\\s+(on)\\\\b\\\\s+(?:([_.?\\\\'()0-9A-Za-z]+)\\\\s*)?(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.apex\"},\"2\":{\"name\":\"keyword.control.switch.on.apex\"},\"3\":{\"patterns\":[{\"include\":\"#statement\"},{\"include\":\"#parenthesized-expression\"}]},\"4\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"(\\\\})\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#when-string\"},{\"include\":\"#when-else-statement\"},{\"include\":\"#when-sobject-statement\"},{\"include\":\"#when-statement\"},{\"include\":\"#when-multiple-statement\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#punctuation-semicolon\"}]},\"this-expression\":{\"captures\":{\"1\":{\"name\":\"keyword.other.this.apex\"}},\"match\":\"\\\\b(?:(this))\\\\b\"},\"throw-expression\":{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.throw.apex\"}},\"match\":\"(?<!\\\\.)\\\\b(throw)\\\\b\"},\"throw-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(throw)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow.throw.apex\"}},\"end\":\"(?=;)\",\"patterns\":[{\"include\":\"#expression\"}]},\"trigger-context-declaration\":{\"begin\":\"\\\\b(?:(Trigger))\\\\b(\\\\.)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"support.class.trigger.apex\"},\"2\":{\"name\":\"punctuation.accessor.apex\"}},\"end\":\"(?=\\\\})|(?=;)|(?=\\\\)|(?=\\\\]))\",\"patterns\":[{\"match\":\"\\\\b(isExecuting|isInsert|isUpdate|isDelete|isBefore|isAfter|isUndelete|new|newMap|old|oldMap|size)\\\\b\",\"name\":\"support.type.trigger.apex\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#punctuation-accessor\"},{\"include\":\"#operator-safe-navigation\"}]},\"2\":{\"name\":\"support.function.trigger.apex\"}},\"match\":\"(?:(\\\\??\\\\.))([A-Za-z]+)(?=\\\\()\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#trigger-type-statement\"},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#expression\"}]},{\"include\":\"#expression\"}]},\"trigger-declaration\":{\"begin\":\"(?=\\\\btrigger\\\\b)\",\"end\":\"(?<=\\\\})\",\"patterns\":[{\"begin\":\"\\\\b(trigger)\\\\b\\\\s+(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*\\\\b(on)\\\\b\\\\s+([_A-Za-z][_0-9A-Za-z]*)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.trigger.apex\"},\"2\":{\"name\":\"entity.name.type.trigger.apex\"},\"3\":{\"name\":\"keyword.operator.trigger.on.apex\"},\"4\":{\"name\":\"storage.type.apex\"}},\"end\":\"(?=\\\\{)\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#trigger-type-statement\"},{\"include\":\"#trigger-operator-statement\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#expression\"}]},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#type-parameter-list\"}]},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#statement\"},{\"include\":\"#class-or-trigger-members\"}]},{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"}]},\"trigger-operator-statement\":{\"match\":\"\\\\b(insert|update|delete|merge|upsert|undelete)\\\\b\",\"name\":\"keyword.operator.trigger.apex\"},\"trigger-type-statement\":{\"captures\":{\"1\":{\"name\":\"keyword.control.trigger.before.apex\"},\"2\":{\"name\":\"keyword.control.trigger.after.apex\"}},\"match\":\"\\\\b(?:(before)|(after))\\\\b\"},\"try-block\":{\"begin\":\"(?<!\\\\.)\\\\b(try)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.try.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#block\"}]},\"try-statement\":{\"patterns\":[{\"include\":\"#try-block\"},{\"include\":\"#catch-clause\"},{\"include\":\"#finally-clause\"}]},\"type\":{\"name\":\"meta.type.apex\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type-builtin\"},{\"include\":\"#type-name\"},{\"include\":\"#type-arguments\"},{\"include\":\"#type-array-suffix\"},{\"include\":\"#type-nullable-suffix\"}]},\"type-arguments\":{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.begin.apex\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.end.apex\"}},\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#support-type\"},{\"include\":\"#type\"},{\"include\":\"#punctuation-comma\"}]},\"type-array-suffix\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.open.apex\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.close.apex\"}},\"patterns\":[{\"include\":\"#punctuation-comma\"}]},\"type-builtin\":{\"captures\":{\"1\":{\"name\":\"keyword.type.apex\"}},\"match\":\"\\\\b(Blob|Boolean|byte|Date|Datetime|Decimal|Double|ID|Integer|Long|Object|String|Time|void)\\\\b\"},\"type-declarations\":{\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#annotation-declaration\"},{\"include\":\"#storage-modifier\"},{\"include\":\"#sharing-modifier\"},{\"include\":\"#class-declaration\"},{\"include\":\"#enum-declaration\"},{\"include\":\"#interface-declaration\"},{\"include\":\"#trigger-declaration\"},{\"include\":\"#punctuation-semicolon\"}]},\"type-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.apex\"},\"2\":{\"name\":\"punctuation.accessor.apex\"}},\"match\":\"(@?[_A-Za-z][_0-9A-Za-z]*)\\\\s*(\\\\.)\"},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.apex\"},\"2\":{\"name\":\"storage.type.apex\"}},\"match\":\"(\\\\.)\\\\s*(@?[_A-Za-z][_0-9A-Za-z]*)\"},{\"match\":\"@?[_A-Za-z][_0-9A-Za-z]*\",\"name\":\"storage.type.apex\"}]},\"type-nullable-suffix\":{\"captures\":{\"0\":{\"name\":\"punctuation.separator.question-mark.apex\"}},\"match\":\"\\\\?\"},\"type-parameter-list\":{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.begin.apex\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.end.apex\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.type.type-parameter.apex\"}},\"match\":\"(@?[_A-Za-z][_0-9A-Za-z]*)\\\\b\"},{\"include\":\"#comment\"},{\"include\":\"#punctuation-comma\"}]},\"using-scope\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.using.apex\"}},\"match\":\"((USING SCOPE)\\\\b\\\\s*(Delegated|Everything|Mine|My_Territory|My_Team_Territory|Team))\\\\b\\\\s*\"},\"variable-initializer\":{\"begin\":\"(?<!=|!)(=)(?!=|>)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.assignment.apex\"}},\"end\":\"(?=[,)\\\\];}])\",\"patterns\":[{\"include\":\"#expression\"}]},\"when-else-statement\":{\"begin\":\"(when)\\\\b\\\\s+(else)\\\\b\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.when.apex\"},\"2\":{\"name\":\"keyword.control.switch.else.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#expression\"}]},\"when-multiple-statement\":{\"begin\":\"(when)\\\\b\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.when.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#expression\"}]},\"when-sobject-statement\":{\"begin\":\"(when)\\\\b\\\\s+([_0-9A-Za-z]+)\\\\s+([_0-9A-Za-z]+)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.when.apex\"},\"2\":{\"name\":\"storage.type.apex\"},\"3\":{\"name\":\"entity.name.variable.local.apex\"}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#expression\"}]},\"when-statement\":{\"begin\":\"(when)\\\\b\\\\s+([\\\\'_\\\\-0-9A-Za-z]+)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.when.apex\"},\"2\":{\"patterns\":[{\"include\":\"#expression\"}]}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#expression\"}]},\"when-string\":{\"begin\":\"(when)(\\\\b\\\\s*)((\\\\')[_.\\\\,\\\\'\\\\s*0-9A-Za-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.switch.when.apex\"},\"2\":{\"name\":\"punctuation.whitespace.apex\"},\"3\":{\"patterns\":[{\"include\":\"#when-string-statement\"},{\"include\":\"#punctuation-comma\"}]}},\"end\":\"(?<=\\\\})\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#expression\"}]},\"when-string-statement\":{\"patterns\":[{\"begin\":\"\\\\'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apex\"}},\"end\":\"\\\\'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.apex\"}},\"name\":\"string.quoted.single.apex\"}]},\"where-clause\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.query.where.apex\"}},\"match\":\"\\\\b(WHERE)\\\\b\\\\s*\"},\"while-statement\":{\"begin\":\"(?<!\\\\.)\\\\b(while)\\\\b\\\\s*(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.loop.while.apex\"}},\"end\":\"(?<=\\\\})|(?=;)\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"include\":\"#statement\"}]},\"xml-attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.apex\"},\"2\":{\"name\":\"entity.other.attribute-name.namespace.apex\"},\"3\":{\"name\":\"punctuation.separator.colon.apex\"},\"4\":{\"name\":\"entity.other.attribute-name.localname.apex\"},\"5\":{\"name\":\"punctuation.separator.equals.apex\"}},\"match\":\"(?:^|\\\\s+)((?:([-_0-9A-Za-z]+)(:))?([-_0-9A-Za-z]+))(=)\"},{\"include\":\"#xml-string\"}]},\"xml-cdata\":{\"begin\":\"<!\\\\[CDATA\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apex\"}},\"end\":\"\\\\]\\\\]>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.apex\"}},\"name\":\"string.unquoted.cdata.apex\"},\"xml-character-entity\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.apex\"},\"3\":{\"name\":\"punctuation.definition.constant.apex\"}},\"match\":\"(&)((?:[A-Za-z:_][0-9A-Za-z:_.-]*)|(?:\\\\#[\\\\d]+)|(?:\\\\#x[0-9A-Fa-f]+))(;)\",\"name\":\"constant.character.entity.apex\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.apex\"}]},\"xml-comment\":{\"begin\":\"<!--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"end\":\"-->\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.apex\"}},\"name\":\"comment.block.apex\"},\"xml-doc-comment\":{\"patterns\":[{\"include\":\"#xml-comment\"},{\"include\":\"#xml-character-entity\"},{\"include\":\"#xml-cdata\"},{\"include\":\"#xml-tag\"}]},\"xml-string\":{\"patterns\":[{\"begin\":\"\\\\'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apex\"}},\"end\":\"\\\\'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.apex\"}},\"name\":\"string.quoted.single.apex\",\"patterns\":[{\"include\":\"#xml-character-entity\"}]},{\"begin\":\"\\\\\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.stringdoublequote.begin.apex\"}},\"end\":\"\\\\\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.stringdoublequote.end.apex\"}},\"name\":\"string.quoted.double.apex\",\"patterns\":[{\"include\":\"#xml-character-entity\"}]}]},\"xml-tag\":{\"begin\":\"(</?)((?:([-_0-9A-Za-z]+)(:))?([-_0-9A-Za-z]+))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.apex\"},\"2\":{\"name\":\"entity.name.tag.apex\"},\"3\":{\"name\":\"entity.name.tag.namespace.apex\"},\"4\":{\"name\":\"punctuation.separator.colon.apex\"},\"5\":{\"name\":\"entity.name.tag.localname.apex\"}},\"end\":\"(/?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.apex\"}},\"name\":\"meta.tag.apex\",\"patterns\":[{\"include\":\"#xml-attribute\"}]}},\"scopeName\":\"source.apex\"}"))
2
+
3
+ export default [
4
+ lang
5
+ ]
package/dist/apl.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/apl.mjs ADDED
@@ -0,0 +1,16 @@
1
+ import html from './html.mjs'
2
+ import xml from './xml.mjs'
3
+ import css from './css.mjs'
4
+ import javascript from './javascript.mjs'
5
+ import json from './json.mjs'
6
+
7
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"APL\",\"fileTypes\":[\"apl\",\"apla\",\"aplc\",\"aplf\",\"apli\",\"apln\",\"aplo\",\"dyalog\",\"dyapp\",\"mipage\"],\"firstLineMatch\":\"[⌶-⍺]|^\\\\#!.*(?:\\\\s|\\\\/|(?<=!)\\\\b)(?:gnu[-._]?apl|aplx?|dyalog)(?:$|\\\\s)|(?i:-\\\\*-(?:\\\\s*(?=[^:;\\\\s]+\\\\s*-\\\\*-)|(?:.*?[;\\\\s]|(?<=-\\\\*-))mode\\\\s*:\\\\s*)apl(?=[\\\\s;]|(?<![-*])-\\\\*-).*?-\\\\*-|(?:(?:\\\\s|^)vi(?:m[<=>]?\\\\d+|m)?|\\\\sex)(?=:(?=\\\\s*set?\\\\s[^\\\\n:]+:)|:(?!\\\\s*set?\\\\s))(?:(?:\\\\s|\\\\s*:\\\\s*)\\\\w*(?:\\\\s*=(?:[^\\\\n\\\\\\\\\\\\s]|\\\\\\\\.)*)?)*[\\\\s:](?:filetype|ft|syntax)\\\\s*=apl(?=\\\\s|:|$))\",\"foldingStartMarker\":\"{\",\"foldingStopMarker\":\"}\",\"name\":\"apl\",\"patterns\":[{\"match\":\"\\\\A#!.*$\",\"name\":\"comment.line.shebang.apl\"},{\"include\":\"#heredocs\"},{\"include\":\"#main\"},{\"begin\":\"^\\\\s*((\\\\))OFF|(\\\\])NEXTFILE)\\\\b(.*)$\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.eof.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"},\"3\":{\"name\":\"punctuation.definition.command.apl\"},\"4\":{\"patterns\":[{\"include\":\"#comment\"}]}},\"contentName\":\"text.embedded.apl\",\"end\":\"(?=N)A\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.round.bracket.begin.apl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.round.bracket.end.apl\"}},\"name\":\"meta.round.bracketed.group.apl\",\"patterns\":[{\"include\":\"#main\"}]},{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.square.bracket.begin.apl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.square.bracket.end.apl\"}},\"name\":\"meta.square.bracketed.group.apl\",\"patterns\":[{\"include\":\"#main\"}]},{\"begin\":\"^\\\\s*((\\\\))\\\\S+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"}},\"end\":\"$\",\"name\":\"meta.system.command.apl\",\"patterns\":[{\"include\":\"#command-arguments\"},{\"include\":\"#command-switches\"},{\"include\":\"#main\"}]},{\"begin\":\"^\\\\s*((\\\\])\\\\S+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"}},\"end\":\"$\",\"name\":\"meta.user.command.apl\",\"patterns\":[{\"include\":\"#command-arguments\"},{\"include\":\"#command-switches\"},{\"include\":\"#main\"}]}],\"repository\":{\"class\":{\"patterns\":[{\"begin\":\"(?<=\\\\s|^)((:)Class)\\\\s+('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\\\s*((:)\\\\s*(?:('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\\\s*)?)?(.*?)$\",\"beginCaptures\":{\"0\":{\"name\":\"meta.class.apl\"},\"1\":{\"name\":\"keyword.control.class.apl\"},\"2\":{\"name\":\"punctuation.definition.class.apl\"},\"3\":{\"name\":\"entity.name.type.class.apl\",\"patterns\":[{\"include\":\"#strings\"}]},\"4\":{\"name\":\"entity.other.inherited-class.apl\"},\"5\":{\"name\":\"punctuation.separator.inheritance.apl\"},\"6\":{\"patterns\":[{\"include\":\"#strings\"}]},\"7\":{\"name\":\"entity.other.class.interfaces.apl\",\"patterns\":[{\"include\":\"#csv\"}]}},\"end\":\"(?<=\\\\s|^)((:)EndClass)(?=\\\\b)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.class.apl\"},\"2\":{\"name\":\"punctuation.definition.class.apl\"}},\"patterns\":[{\"begin\":\"(?<=\\\\s|^)(:)Field(?=\\\\s)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.field.apl\"},\"1\":{\"name\":\"punctuation.definition.field.apl\"}},\"end\":\"\\\\s*(←.*)?(?:$|(?=⍝))\",\"endCaptures\":{\"0\":{\"name\":\"entity.other.initial-value.apl\"},\"1\":{\"patterns\":[{\"include\":\"#main\"}]}},\"name\":\"meta.field.apl\",\"patterns\":[{\"match\":\"(?<=\\\\s|^)Public(?=\\\\s|$)\",\"name\":\"storage.modifier.access.public.apl\"},{\"match\":\"(?<=\\\\s|^)Private(?=\\\\s|$)\",\"name\":\"storage.modifier.access.private.apl\"},{\"match\":\"(?<=\\\\s|^)Shared(?=\\\\s|$)\",\"name\":\"storage.modifier.shared.apl\"},{\"match\":\"(?<=\\\\s|^)Instance(?=\\\\s|$)\",\"name\":\"storage.modifier.instance.apl\"},{\"match\":\"(?<=\\\\s|^)ReadOnly(?=\\\\s|$)\",\"name\":\"storage.modifier.readonly.apl\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#strings\"}]}},\"match\":\"('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\",\"name\":\"entity.name.type.apl\"}]},{\"include\":\"$self\"}]}]},\"command-arguments\":{\"patterns\":[{\"begin\":\"\\\\b(?=\\\\S)\",\"end\":\"\\\\b(?=\\\\s)\",\"name\":\"variable.parameter.argument.apl\",\"patterns\":[{\"include\":\"#main\"}]}]},\"command-switches\":{\"patterns\":[{\"begin\":\"(?<=\\\\s)(-)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.delimiter.switch.apl\"},\"2\":{\"name\":\"entity.name.switch.apl\"},\"3\":{\"name\":\"punctuation.assignment.switch.apl\"}},\"end\":\"\\\\b(?=\\\\s)\",\"name\":\"variable.parameter.switch.apl\",\"patterns\":[{\"include\":\"#main\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.delimiter.switch.apl\"},\"2\":{\"name\":\"entity.name.switch.apl\"}},\"match\":\"(?<=\\\\s)(-)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)(?!=)\",\"name\":\"variable.parameter.switch.apl\"}]},\"comment\":{\"patterns\":[{\"begin\":\"⍝\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.apl\"}},\"end\":\"$\",\"name\":\"comment.line.apl\"}]},\"csv\":{\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.apl\"},{\"include\":\"$self\"}]},\"definition\":{\"patterns\":[{\"begin\":\"^\\\\s*?(∇)(?:\\\\s*(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)|\\\\s*((\\\\{)(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\})|(\\\\()(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\))|(\\\\(\\\\s*\\\\{)(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\}\\\\s*\\\\))|(\\\\{\\\\s*\\\\()(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\)\\\\s*\\\\}))\\\\s*)\\\\s*(←))?\\\\s*(?:(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\\\s*((\\\\[)\\\\s*(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*(.*?)|([^\\\\]]*))\\\\s*(\\\\]))?\\\\s*?((?<=\\\\s|\\\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|(\\\\()(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\)))\\\\s*(?=;|$))|(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s+)|((\\\\{)(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\})|(\\\\(\\\\s*\\\\{)(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\}\\\\s*\\\\))|(\\\\{\\\\s*\\\\()(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\)\\\\s*\\\\})))?\\\\s*(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\\\s*((\\\\[)\\\\s*(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*(.*?)|([^\\\\]]*))\\\\s*(\\\\]))?|((\\\\()(\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)?\\\\s*([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\\\s*?((\\\\[)\\\\s*(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*(.*?)|([^\\\\]]*))\\\\s*(\\\\]))?\\\\s*([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)?(\\\\))))\\\\s*((?<=\\\\s|\\\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|\\\\s*(\\\\()(?:\\\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)*(\\\\)))?)\\\\s*([^;]+)?(((?>\\\\s*;(?:\\\\s*[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)+)+)|([^⍝]+))?\\\\s*(⍝.*)?$\",\"beginCaptures\":{\"0\":{\"name\":\"entity.function.definition.apl\"},\"1\":{\"name\":\"keyword.operator.nabla.apl\"},\"2\":{\"name\":\"entity.function.return-value.apl\"},\"3\":{\"name\":\"entity.function.return-value.shy.apl\"},\"4\":{\"name\":\"punctuation.definition.return-value.begin.apl\"},\"5\":{\"name\":\"punctuation.definition.return-value.end.apl\"},\"6\":{\"name\":\"punctuation.definition.return-value.begin.apl\"},\"7\":{\"name\":\"punctuation.definition.return-value.end.apl\"},\"8\":{\"name\":\"punctuation.definition.return-value.begin.apl\"},\"9\":{\"name\":\"punctuation.definition.return-value.end.apl\"},\"10\":{\"name\":\"punctuation.definition.return-value.begin.apl\"},\"11\":{\"name\":\"punctuation.definition.return-value.end.apl\"},\"12\":{\"name\":\"keyword.operator.assignment.apl\"},\"13\":{\"name\":\"entity.function.name.apl\",\"patterns\":[{\"include\":\"#embolden\"}]},\"14\":{\"name\":\"entity.function.axis.apl\"},\"15\":{\"name\":\"punctuation.definition.axis.begin.apl\"},\"16\":{\"name\":\"invalid.illegal.extra-characters.apl\"},\"17\":{\"name\":\"invalid.illegal.apl\"},\"18\":{\"name\":\"punctuation.definition.axis.end.apl\"},\"19\":{\"name\":\"entity.function.arguments.right.apl\"},\"20\":{\"name\":\"punctuation.definition.arguments.begin.apl\"},\"21\":{\"name\":\"punctuation.definition.arguments.end.apl\"},\"22\":{\"name\":\"entity.function.arguments.left.apl\"},\"23\":{\"name\":\"entity.function.arguments.left.optional.apl\"},\"24\":{\"name\":\"punctuation.definition.arguments.begin.apl\"},\"25\":{\"name\":\"punctuation.definition.arguments.end.apl\"},\"26\":{\"name\":\"punctuation.definition.arguments.begin.apl\"},\"27\":{\"name\":\"punctuation.definition.arguments.end.apl\"},\"28\":{\"name\":\"punctuation.definition.arguments.begin.apl\"},\"29\":{\"name\":\"punctuation.definition.arguments.end.apl\"},\"30\":{\"name\":\"entity.function.name.apl\",\"patterns\":[{\"include\":\"#embolden\"}]},\"31\":{\"name\":\"entity.function.axis.apl\"},\"32\":{\"name\":\"punctuation.definition.axis.begin.apl\"},\"33\":{\"name\":\"invalid.illegal.extra-characters.apl\"},\"34\":{\"name\":\"invalid.illegal.apl\"},\"35\":{\"name\":\"punctuation.definition.axis.end.apl\"},\"36\":{\"name\":\"entity.function.operands.apl\"},\"37\":{\"name\":\"punctuation.definition.operands.begin.apl\"},\"38\":{\"name\":\"entity.function.operands.left.apl\"},\"39\":{\"name\":\"entity.function.name.apl\",\"patterns\":[{\"include\":\"#embolden\"}]},\"40\":{\"name\":\"entity.function.axis.apl\"},\"41\":{\"name\":\"punctuation.definition.axis.begin.apl\"},\"42\":{\"name\":\"invalid.illegal.extra-characters.apl\"},\"43\":{\"name\":\"invalid.illegal.apl\"},\"44\":{\"name\":\"punctuation.definition.axis.end.apl\"},\"45\":{\"name\":\"entity.function.operands.right.apl\"},\"46\":{\"name\":\"punctuation.definition.operands.end.apl\"},\"47\":{\"name\":\"entity.function.arguments.right.apl\"},\"48\":{\"name\":\"punctuation.definition.arguments.begin.apl\"},\"49\":{\"name\":\"punctuation.definition.arguments.end.apl\"},\"50\":{\"name\":\"invalid.illegal.arguments.right.apl\"},\"51\":{\"name\":\"entity.function.local-variables.apl\"},\"52\":{\"patterns\":[{\"match\":\";\",\"name\":\"punctuation.separator.apl\"}]},\"53\":{\"name\":\"invalid.illegal.local-variables.apl\"},\"54\":{\"name\":\"comment.line.apl\"}},\"end\":\"^\\\\s*?(?:(∇)|(⍫))\\\\s*?(⍝.*?)?$\",\"endCaptures\":{\"1\":{\"name\":\"keyword.operator.nabla.apl\"},\"2\":{\"name\":\"keyword.operator.lock.apl\"},\"3\":{\"name\":\"comment.line.apl\"}},\"name\":\"meta.function.apl\",\"patterns\":[{\"captures\":{\"0\":{\"name\":\"entity.function.local-variables.apl\"},\"1\":{\"patterns\":[{\"match\":\";\",\"name\":\"punctuation.separator.apl\"}]}},\"match\":\"^\\\\s*((?>;(?:\\\\s*[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\\\s*)+)+)\",\"name\":\"entity.function.definition.apl\"},{\"include\":\"$self\"}]}]},\"embedded-apl\":{\"patterns\":[{\"begin\":\"(?i)(<(\\\\?|%)(?:apl(?=\\\\s+)|=))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.begin.apl\"}},\"end\":\"(?<=\\\\s)(\\\\2>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.end.apl\"}},\"name\":\"meta.embedded.block.apl\",\"patterns\":[{\"include\":\"#main\"}]}]},\"embolden\":{\"patterns\":[{\"match\":\".+\",\"name\":\"markup.bold.identifier.apl\"}]},\"heredocs\":{\"patterns\":[{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")((?i).*?HTML?.*?|END-OF-⎕INP)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"text.embedded.html.basic\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"text.html.basic\"},{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")((?i).*?(?:XML|XSLT|SVG|RSS).*?)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"text.embedded.xml\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"text.xml\"},{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")((?i).*?(?:CSS|stylesheet).*?)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"source.embedded.css\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"source.css\"},{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")((?i).*?(?:JS(?!ON)|(?:ECMA|J|Java).?Script).*?)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"source.embedded.js\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"source.js\"},{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")((?i).*?(?:JSON).*?)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"source.embedded.json\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"source.json\"},{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")(?i)((?:Raw|Plain)?\\\\s*Te?xt)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"contentName\":\"text.embedded.plain\",\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"#embedded-apl\"}]},{\"begin\":\"^.*?⎕INP\\\\s+('|\\\")(.*?)\\\\1.*$\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"include\":\"#main\"}]}},\"end\":\"^.*?\\\\2.*?$\",\"endCaptures\":{\"0\":{\"name\":\"constant.other.apl\"}},\"name\":\"meta.heredoc.apl\",\"patterns\":[{\"include\":\"$self\"}]}]},\"label\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.label.name.apl\"},\"2\":{\"name\":\"punctuation.definition.label.end.apl\"}},\"match\":\"^\\\\s*([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)(:)\",\"name\":\"meta.label.apl\"}]},\"lambda\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.lambda.begin.apl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.lambda.end.apl\"}},\"name\":\"meta.lambda.function.apl\",\"patterns\":[{\"include\":\"#main\"},{\"include\":\"#lambda-variables\"}]},\"lambda-variables\":{\"patterns\":[{\"match\":\"⍺⍺\",\"name\":\"constant.language.lambda.operands.left.apl\"},{\"match\":\"⍵⍵\",\"name\":\"constant.language.lambda.operands.right.apl\"},{\"match\":\"[⍺⍶]\",\"name\":\"constant.language.lambda.arguments.left.apl\"},{\"match\":\"[⍵⍹]\",\"name\":\"constant.language.lambda.arguments.right.apl\"},{\"match\":\"χ\",\"name\":\"constant.language.lambda.arguments.axis.apl\"},{\"match\":\"∇∇\",\"name\":\"constant.language.lambda.operands.self.operator.apl\"},{\"match\":\"∇\",\"name\":\"constant.language.lambda.operands.self.function.apl\"},{\"match\":\"λ\",\"name\":\"constant.language.lambda.symbol.apl\"}]},\"main\":{\"patterns\":[{\"include\":\"#class\"},{\"include\":\"#definition\"},{\"include\":\"#comment\"},{\"include\":\"#label\"},{\"include\":\"#sck\"},{\"include\":\"#strings\"},{\"include\":\"#number\"},{\"include\":\"#lambda\"},{\"include\":\"#sysvars\"},{\"include\":\"#symbols\"},{\"include\":\"#name\"}]},\"name\":{\"patterns\":[{\"match\":\"[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\",\"name\":\"variable.other.readwrite.apl\"}]},\"number\":{\"patterns\":[{\"match\":\"¯?\\\\d[¯0-9A-Za-z]*(?:\\\\.[¯0-9Ee][¯0-9A-Za-z]*)*|¯?\\\\.[0-9Ee][¯0-9A-Za-z]*\",\"name\":\"constant.numeric.apl\"}]},\"sck\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.sck.begin.apl\"}},\"match\":\"(?<=\\\\s|^)(:)[A-Za-z]+\",\"name\":\"keyword.control.sck.apl\"}]},\"strings\":{\"patterns\":[{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apl\"}},\"end\":\"'|$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.apl\"}},\"name\":\"string.quoted.single.apl\",\"patterns\":[{\"match\":\"[^']*[^'\\\\n\\\\r\\\\\\\\]$\",\"name\":\"invalid.illegal.string.apl\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.apl\"}},\"end\":\"\\\"|$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.apl\"}},\"name\":\"string.quoted.double.apl\",\"patterns\":[{\"match\":\"[^\\\"]*[^\\\"\\\\n\\\\r\\\\\\\\]$\",\"name\":\"invalid.illegal.string.apl\"}]}]},\"symbols\":{\"patterns\":[{\"match\":\"(?<=\\\\s)←(?=\\\\s|$)\",\"name\":\"keyword.spaced.operator.assignment.apl\"},{\"match\":\"(?<=\\\\s)→(?=\\\\s|$)\",\"name\":\"keyword.spaced.control.goto.apl\"},{\"match\":\"(?<=\\\\s)≡(?=\\\\s|$)\",\"name\":\"keyword.spaced.operator.identical.apl\"},{\"match\":\"(?<=\\\\s)≢(?=\\\\s|$)\",\"name\":\"keyword.spaced.operator.not-identical.apl\"},{\"match\":\"\\\\+\",\"name\":\"keyword.operator.plus.apl\"},{\"match\":\"[-−]\",\"name\":\"keyword.operator.minus.apl\"},{\"match\":\"×\",\"name\":\"keyword.operator.times.apl\"},{\"match\":\"÷\",\"name\":\"keyword.operator.divide.apl\"},{\"match\":\"⌊\",\"name\":\"keyword.operator.floor.apl\"},{\"match\":\"⌈\",\"name\":\"keyword.operator.ceiling.apl\"},{\"match\":\"[∣|]\",\"name\":\"keyword.operator.absolute.apl\"},{\"match\":\"[⋆*]\",\"name\":\"keyword.operator.exponent.apl\"},{\"match\":\"⍟\",\"name\":\"keyword.operator.logarithm.apl\"},{\"match\":\"○\",\"name\":\"keyword.operator.circle.apl\"},{\"match\":\"!\",\"name\":\"keyword.operator.factorial.apl\"},{\"match\":\"∧\",\"name\":\"keyword.operator.and.apl\"},{\"match\":\"∨\",\"name\":\"keyword.operator.or.apl\"},{\"match\":\"⍲\",\"name\":\"keyword.operator.nand.apl\"},{\"match\":\"⍱\",\"name\":\"keyword.operator.nor.apl\"},{\"match\":\"<\",\"name\":\"keyword.operator.less.apl\"},{\"match\":\"≤\",\"name\":\"keyword.operator.less-or-equal.apl\"},{\"match\":\"=\",\"name\":\"keyword.operator.equal.apl\"},{\"match\":\"≥\",\"name\":\"keyword.operator.greater-or-equal.apl\"},{\"match\":\">\",\"name\":\"keyword.operator.greater.apl\"},{\"match\":\"≠\",\"name\":\"keyword.operator.not-equal.apl\"},{\"match\":\"[∼~]\",\"name\":\"keyword.operator.tilde.apl\"},{\"match\":\"\\\\?\",\"name\":\"keyword.operator.random.apl\"},{\"match\":\"[∊∈]\",\"name\":\"keyword.operator.member-of.apl\"},{\"match\":\"⍷\",\"name\":\"keyword.operator.find.apl\"},{\"match\":\",\",\"name\":\"keyword.operator.comma.apl\"},{\"match\":\"⍪\",\"name\":\"keyword.operator.comma-bar.apl\"},{\"match\":\"⌷\",\"name\":\"keyword.operator.squad.apl\"},{\"match\":\"⍳\",\"name\":\"keyword.operator.iota.apl\"},{\"match\":\"⍴\",\"name\":\"keyword.operator.rho.apl\"},{\"match\":\"↑\",\"name\":\"keyword.operator.take.apl\"},{\"match\":\"↓\",\"name\":\"keyword.operator.drop.apl\"},{\"match\":\"⊣\",\"name\":\"keyword.operator.left.apl\"},{\"match\":\"⊢\",\"name\":\"keyword.operator.right.apl\"},{\"match\":\"⊤\",\"name\":\"keyword.operator.encode.apl\"},{\"match\":\"⊥\",\"name\":\"keyword.operator.decode.apl\"},{\"match\":\"\\\\/\",\"name\":\"keyword.operator.slash.apl\"},{\"match\":\"⌿\",\"name\":\"keyword.operator.slash-bar.apl\"},{\"match\":\"\\\\x5C\",\"name\":\"keyword.operator.backslash.apl\"},{\"match\":\"⍀\",\"name\":\"keyword.operator.backslash-bar.apl\"},{\"match\":\"⌽\",\"name\":\"keyword.operator.rotate-last.apl\"},{\"match\":\"⊖\",\"name\":\"keyword.operator.rotate-first.apl\"},{\"match\":\"⍉\",\"name\":\"keyword.operator.transpose.apl\"},{\"match\":\"⍋\",\"name\":\"keyword.operator.grade-up.apl\"},{\"match\":\"⍒\",\"name\":\"keyword.operator.grade-down.apl\"},{\"match\":\"⌹\",\"name\":\"keyword.operator.quad-divide.apl\"},{\"match\":\"≡\",\"name\":\"keyword.operator.identical.apl\"},{\"match\":\"≢\",\"name\":\"keyword.operator.not-identical.apl\"},{\"match\":\"⊂\",\"name\":\"keyword.operator.enclose.apl\"},{\"match\":\"⊃\",\"name\":\"keyword.operator.pick.apl\"},{\"match\":\"∩\",\"name\":\"keyword.operator.intersection.apl\"},{\"match\":\"∪\",\"name\":\"keyword.operator.union.apl\"},{\"match\":\"⍎\",\"name\":\"keyword.operator.hydrant.apl\"},{\"match\":\"⍕\",\"name\":\"keyword.operator.thorn.apl\"},{\"match\":\"⊆\",\"name\":\"keyword.operator.underbar-shoe-left.apl\"},{\"match\":\"⍸\",\"name\":\"keyword.operator.underbar-iota.apl\"},{\"match\":\"¨\",\"name\":\"keyword.operator.each.apl\"},{\"match\":\"⍤\",\"name\":\"keyword.operator.rank.apl\"},{\"match\":\"⌸\",\"name\":\"keyword.operator.quad-equal.apl\"},{\"match\":\"⍨\",\"name\":\"keyword.operator.commute.apl\"},{\"match\":\"⍣\",\"name\":\"keyword.operator.power.apl\"},{\"match\":\"\\\\.\",\"name\":\"keyword.operator.dot.apl\"},{\"match\":\"∘\",\"name\":\"keyword.operator.jot.apl\"},{\"match\":\"⍠\",\"name\":\"keyword.operator.quad-colon.apl\"},{\"match\":\"&\",\"name\":\"keyword.operator.ampersand.apl\"},{\"match\":\"⌶\",\"name\":\"keyword.operator.i-beam.apl\"},{\"match\":\"⌺\",\"name\":\"keyword.operator.quad-diamond.apl\"},{\"match\":\"@\",\"name\":\"keyword.operator.at.apl\"},{\"match\":\"◊\",\"name\":\"keyword.operator.lozenge.apl\"},{\"match\":\";\",\"name\":\"keyword.operator.semicolon.apl\"},{\"match\":\"¯\",\"name\":\"keyword.operator.high-minus.apl\"},{\"match\":\"←\",\"name\":\"keyword.operator.assignment.apl\"},{\"match\":\"→\",\"name\":\"keyword.control.goto.apl\"},{\"match\":\"⍬\",\"name\":\"constant.language.zilde.apl\"},{\"match\":\"⋄\",\"name\":\"keyword.operator.diamond.apl\"},{\"match\":\"⍫\",\"name\":\"keyword.operator.lock.apl\"},{\"match\":\"⎕\",\"name\":\"keyword.operator.quad.apl\"},{\"match\":\"##\",\"name\":\"constant.language.namespace.parent.apl\"},{\"match\":\"#\",\"name\":\"constant.language.namespace.root.apl\"},{\"match\":\"⌻\",\"name\":\"keyword.operator.quad-jot.apl\"},{\"match\":\"⌼\",\"name\":\"keyword.operator.quad-circle.apl\"},{\"match\":\"⌾\",\"name\":\"keyword.operator.circle-jot.apl\"},{\"match\":\"⍁\",\"name\":\"keyword.operator.quad-slash.apl\"},{\"match\":\"⍂\",\"name\":\"keyword.operator.quad-backslash.apl\"},{\"match\":\"⍃\",\"name\":\"keyword.operator.quad-less.apl\"},{\"match\":\"⍄\",\"name\":\"keyword.operator.greater.apl\"},{\"match\":\"⍅\",\"name\":\"keyword.operator.vane-left.apl\"},{\"match\":\"⍆\",\"name\":\"keyword.operator.vane-right.apl\"},{\"match\":\"⍇\",\"name\":\"keyword.operator.quad-arrow-left.apl\"},{\"match\":\"⍈\",\"name\":\"keyword.operator.quad-arrow-right.apl\"},{\"match\":\"⍊\",\"name\":\"keyword.operator.tack-down.apl\"},{\"match\":\"⍌\",\"name\":\"keyword.operator.quad-caret-down.apl\"},{\"match\":\"⍍\",\"name\":\"keyword.operator.quad-del-up.apl\"},{\"match\":\"⍏\",\"name\":\"keyword.operator.vane-up.apl\"},{\"match\":\"⍐\",\"name\":\"keyword.operator.quad-arrow-up.apl\"},{\"match\":\"⍑\",\"name\":\"keyword.operator.tack-up.apl\"},{\"match\":\"⍓\",\"name\":\"keyword.operator.quad-caret-up.apl\"},{\"match\":\"⍔\",\"name\":\"keyword.operator.quad-del-down.apl\"},{\"match\":\"⍖\",\"name\":\"keyword.operator.vane-down.apl\"},{\"match\":\"⍗\",\"name\":\"keyword.operator.quad-arrow-down.apl\"},{\"match\":\"⍘\",\"name\":\"keyword.operator.underbar-quote.apl\"},{\"match\":\"⍚\",\"name\":\"keyword.operator.underbar-diamond.apl\"},{\"match\":\"⍛\",\"name\":\"keyword.operator.underbar-jot.apl\"},{\"match\":\"⍜\",\"name\":\"keyword.operator.underbar-circle.apl\"},{\"match\":\"⍞\",\"name\":\"keyword.operator.quad-quote.apl\"},{\"match\":\"⍡\",\"name\":\"keyword.operator.dotted-tack-up.apl\"},{\"match\":\"⍢\",\"name\":\"keyword.operator.dotted-del.apl\"},{\"match\":\"⍥\",\"name\":\"keyword.operator.dotted-circle.apl\"},{\"match\":\"⍦\",\"name\":\"keyword.operator.stile-shoe-up.apl\"},{\"match\":\"⍧\",\"name\":\"keyword.operator.stile-shoe-left.apl\"},{\"match\":\"⍩\",\"name\":\"keyword.operator.dotted-greater.apl\"},{\"match\":\"⍭\",\"name\":\"keyword.operator.stile-tilde.apl\"},{\"match\":\"⍮\",\"name\":\"keyword.operator.underbar-semicolon.apl\"},{\"match\":\"⍯\",\"name\":\"keyword.operator.quad-not-equal.apl\"},{\"match\":\"⍰\",\"name\":\"keyword.operator.quad-question.apl\"}]},\"sysvars\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.quad.apl\"},\"2\":{\"name\":\"punctuation.definition.quad-quote.apl\"}},\"match\":\"(?:(⎕)|(⍞))[A-Za-z]*\",\"name\":\"support.system.variable.apl\"}]}},\"scopeName\":\"source.apl\",\"embeddedLangs\":[\"html\",\"xml\",\"css\",\"javascript\",\"json\"]}"))
8
+
9
+ export default [
10
+ ...html,
11
+ ...xml,
12
+ ...css,
13
+ ...javascript,
14
+ ...json,
15
+ lang
16
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"AppleScript\",\"fileTypes\":[\"applescript\",\"scpt\",\"script editor\"],\"firstLineMatch\":\"^#!.*(osascript)\",\"name\":\"applescript\",\"patterns\":[{\"include\":\"#blocks\"},{\"include\":\"#inline\"}],\"repository\":{\"attributes.considering-ignoring\":{\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.array.attributes.applescript\"},{\"match\":\"\\\\b(and)\\\\b\",\"name\":\"keyword.control.attributes.and.applescript\"},{\"match\":\"\\\\b(?i:case|diacriticals|hyphens|numeric\\\\s+strings|punctuation|white\\\\s+space)\\\\b\",\"name\":\"constant.other.attributes.text.applescript\"},{\"match\":\"\\\\b(?i:application\\\\s+responses)\\\\b\",\"name\":\"constant.other.attributes.application.applescript\"}]},\"blocks\":{\"patterns\":[{\"begin\":\"^\\\\s*(script)\\\\s+(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.script.applescript\"},\"2\":{\"name\":\"entity.name.type.script-object.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+script)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.script.applescript\"}},\"name\":\"meta.block.script.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(\\\\()((?:[\\\\s,:{}]*(?:\\\\w+)?)*)(\\\\))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"},\"3\":{\"name\":\"punctuation.definition.parameters.begin.applescript\"},\"4\":{\"name\":\"variable.parameter.handler.applescript\"},\"5\":{\"name\":\"punctuation.definition.parameters.end.applescript\"}},\"comment\":\"\\n\\t\\t\\t\\t\\t\\tThis is not a very well-designed rule. For now,\\n\\t\\t\\t\\t\\t\\twe can leave it like this though, as it sorta works.\\n\\t\\t\\t\\t\\t\",\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.positional.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(?:\\\\s+(of|in)\\\\s+(\\\\w+))?(?=\\\\s+(above|against|apart\\\\s+from|around|aside\\\\s+from|at|below|beneath|beside|between|by|for|from|instead\\\\s+of|into|on|onto|out\\\\s+of|over|thru|under)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"},\"3\":{\"name\":\"keyword.control.function.applescript\"},\"4\":{\"name\":\"variable.parameter.handler.direct.applescript\"}},\"comment\":\"TODO: match `given` parameters\",\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.prepositional.applescript\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.preposition.applescript\"},\"2\":{\"name\":\"variable.parameter.handler.applescript\"}},\"match\":\"\\\\b(?i:above|against|apart\\\\s+from|around|aside\\\\s+from|at|below|beneath|beside|between|by|for|from|instead\\\\s+of|into|on|onto|out\\\\s+of|over|thru|under)\\\\s+(\\\\w+)\\\\b\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(?=\\\\s*(--.*?)?$)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"}},\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.parameterless.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"include\":\"#blocks.tell\"},{\"include\":\"#blocks.repeat\"},{\"include\":\"#blocks.statement\"},{\"include\":\"#blocks.other\"}]},\"blocks.other\":{\"patterns\":[{\"begin\":\"^\\\\s*(considering)\\\\b\",\"end\":\"^\\\\s*(end(?:\\\\s+considering)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.considering.applescript\",\"patterns\":[{\"begin\":\"(?<=considering)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.considering.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"begin\":\"(?<=ignoring)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.ignoring.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"match\":\"\\\\b(but)\\\\b\",\"name\":\"keyword.control.but.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(ignoring)\\\\b\",\"end\":\"^\\\\s*(end(?:\\\\s+ignoring)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.ignoring.applescript\",\"patterns\":[{\"begin\":\"(?<=considering)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.considering.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"begin\":\"(?<=ignoring)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.ignoring.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"match\":\"\\\\b(but)\\\\b\",\"name\":\"keyword.control.but.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(if)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.if.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+if)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.if.applescript\",\"patterns\":[{\"match\":\"\\\\b(then)\\\\b\",\"name\":\"keyword.control.then.applescript\"},{\"match\":\"\\\\b(else\\\\s+if)\\\\b\",\"name\":\"keyword.control.else-if.applescript\"},{\"match\":\"\\\\b(else)\\\\b\",\"name\":\"keyword.control.else.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(try)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.try.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+(try|error))?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.try.applescript\",\"patterns\":[{\"begin\":\"^\\\\s*(on\\\\s+error)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.exception.on-error.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.property.error.applescript\",\"patterns\":[{\"match\":\"\\\\b(?i:number|partial|from|to)\\\\b\",\"name\":\"keyword.control.exception.modifier.applescript\"},{\"include\":\"#inline\"}]},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(using\\\\s+terms\\\\s+from)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.terms.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+using\\\\s+terms\\\\s+from)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.terms.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(with\\\\s+timeout(\\\\s+of)?)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.timeout.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+timeout)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.timeout.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(with\\\\s+transaction(\\\\s+of)?)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.transaction.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+transaction)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.transaction.applescript\",\"patterns\":[{\"include\":\"$self\"}]}]},\"blocks.repeat\":{\"patterns\":[{\"begin\":\"^\\\\s*(repeat)\\\\s+(until)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.repeat.applescript\"},\"2\":{\"name\":\"keyword.control.until.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+repeat)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.repeat.until.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(repeat)\\\\s+(while)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.repeat.applescript\"},\"2\":{\"name\":\"keyword.control.while.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+repeat)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.repeat.while.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(repeat)\\\\s+(with)\\\\s+(\\\\w+)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.repeat.applescript\"},\"2\":{\"name\":\"keyword.control.until.applescript\"},\"3\":{\"name\":\"variable.parameter.loop.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+repeat)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.repeat.with.applescript\",\"patterns\":[{\"match\":\"\\\\b(from|to|by)\\\\b\",\"name\":\"keyword.control.modifier.range.applescript\"},{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.control.modifier.list.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(repeat)\\\\b(?=\\\\s*(--.*?)?$)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.repeat.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+repeat)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.repeat.forever.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(repeat)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.repeat.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+repeat)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.end.applescript\"}},\"name\":\"meta.block.repeat.times.applescript\",\"patterns\":[{\"match\":\"\\\\b(times)\\\\b\",\"name\":\"keyword.control.times.applescript\"},{\"include\":\"$self\"}]}]},\"blocks.statement\":{\"patterns\":[{\"begin\":\"\\\\b(prop(?:erty)?)\\\\s+(\\\\w+)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.def.property.applescript\"},\"2\":{\"name\":\"variable.other.property.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.property.applescript\",\"patterns\":[{\"match\":\":\",\"name\":\"punctuation.separator.key-value.property.applescript\"},{\"include\":\"#inline\"}]},{\"begin\":\"\\\\b(set)\\\\s+(\\\\w+)\\\\s+(to)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.def.set.applescript\"},\"2\":{\"name\":\"variable.other.readwrite.set.applescript\"},\"3\":{\"name\":\"keyword.control.def.set.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.set.applescript\",\"patterns\":[{\"include\":\"#inline\"}]},{\"begin\":\"\\\\b(local)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.def.local.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.local.applescript\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.variables.local.applescript\"},{\"match\":\"\\\\b\\\\w+\",\"name\":\"variable.other.readwrite.local.applescript\"},{\"include\":\"#inline\"}]},{\"begin\":\"\\\\b(global)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.def.global.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.global.applescript\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.variables.global.applescript\"},{\"match\":\"\\\\b\\\\w+\",\"name\":\"variable.other.readwrite.global.applescript\"},{\"include\":\"#inline\"}]},{\"begin\":\"\\\\b(error)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.exception.error.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.error.applescript\",\"patterns\":[{\"match\":\"\\\\b(number|partial|from|to)\\\\b\",\"name\":\"keyword.control.exception.modifier.applescript\"},{\"include\":\"#inline\"}]},{\"begin\":\"\\\\b(if)\\\\b(?=.*\\\\bthen\\\\b(?!\\\\s*(--.*?)?$))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.if.applescript\"}},\"end\":\"(?<!¬)$\",\"name\":\"meta.statement.if-then.applescript\",\"patterns\":[{\"include\":\"#inline\"}]}]},\"blocks.tell\":{\"patterns\":[{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\s+\\\"(?i:textmate)\\\")(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell Textmate\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application.textmate.applescript\",\"patterns\":[{\"include\":\"#textmate\"},{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\s+\\\"(?i:finder)\\\")(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell Finder\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application.finder.applescript\",\"patterns\":[{\"include\":\"#finder\"},{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\s+\\\"(?i:system events)\\\")(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell System Events\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application.system-events.applescript\",\"patterns\":[{\"include\":\"#system-events\"},{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\s+\\\"(?i:itunes)\\\")(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell iTunes\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application.itunes.applescript\",\"patterns\":[{\"include\":\"#itunes\"},{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\s+process\\\\b)(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell generic application process\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application-process.generic.applescript\",\"patterns\":[{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=app(lication)?\\\\b)(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell generic application\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.application.generic.applescript\",\"patterns\":[{\"include\":\"#standard-suite\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?!.*\\\\bto(?!\\\\s+tell)\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"generic tell block\",\"end\":\"^\\\\s*(end(?:\\\\s+tell)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.tell.generic.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(tell)\\\\s+(?=.*\\\\bto\\\\b)\",\"captures\":{\"1\":{\"name\":\"keyword.control.tell.applescript\"}},\"comment\":\"tell … to statement\",\"end\":\"(?<!¬)$\",\"name\":\"meta.block.tell.generic.applescript\",\"patterns\":[{\"include\":\"$self\"}]}]},\"built-in\":{\"patterns\":[{\"include\":\"#built-in.constant\"},{\"include\":\"#built-in.keyword\"},{\"include\":\"#built-in.support\"},{\"include\":\"#built-in.punctuation\"}]},\"built-in.constant\":{\"patterns\":[{\"comment\":\"yes/no can’t always be used as booleans, e.g. in an if() expression. But they work e.g. for boolean arguments.\",\"match\":\"\\\\b(?i:true|false|yes|no)\\\\b\",\"name\":\"constant.language.boolean.applescript\"},{\"match\":\"\\\\b(?i:null|missing\\\\s+value)\\\\b\",\"name\":\"constant.language.null.applescript\"},{\"match\":\"-?\\\\b\\\\d+((\\\\.(\\\\d+\\\\b)?)?(?i:e\\\\+?\\\\d*\\\\b)?|\\\\b)\",\"name\":\"constant.numeric.applescript\"},{\"match\":\"\\\\b(?i:space|tab|return|linefeed|quote)\\\\b\",\"name\":\"constant.other.text.applescript\"},{\"match\":\"\\\\b(?i:all\\\\s+(caps|lowercase)|bold|condensed|expanded|hidden|italic|outline|plain|shadow|small\\\\s+caps|strikethrough|(sub|super)script|underline)\\\\b\",\"name\":\"constant.other.styles.applescript\"},{\"match\":\"\\\\b(?i:Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)\\\\b\",\"name\":\"constant.other.time.month.applescript\"},{\"match\":\"\\\\b(?i:Mon(day)?|Tue(sday)?|Wed(nesday)?|Thu(rsday)?|Fri(day)?|Sat(urday)?|Sun(day)?)\\\\b\",\"name\":\"constant.other.time.weekday.applescript\"},{\"match\":\"\\\\b(?i:AppleScript|pi|result|version|current\\\\s+application|its?|m[ey])\\\\b\",\"name\":\"constant.other.miscellaneous.applescript\"},{\"match\":\"\\\\b(?i:text\\\\s+item\\\\s+delimiters|print\\\\s+(length|depth))\\\\b\",\"name\":\"variable.language.applescript\"}]},\"built-in.keyword\":{\"patterns\":[{\"match\":\"(&|\\\\*|\\\\+|-|/|÷|\\\\^)\",\"name\":\"keyword.operator.arithmetic.applescript\"},{\"match\":\"(=|≠|>|<|≥|>=|≤|<=)\",\"name\":\"keyword.operator.comparison.applescript\"},{\"match\":\"(?i)\\\\b(and|or|div|mod|as|not|(a\\\\s+)?(ref(\\\\s+to)?|reference\\\\s+to)|equal(s|\\\\s+to)|contains?|comes\\\\s+(after|before)|(start|begin|end)s?\\\\s+with)\\\\b\",\"name\":\"keyword.operator.word.applescript\"},{\"comment\":\"In double quotes so we can use a single quote in the keywords.\",\"match\":\"(?i)\\\\b(is(n't|\\\\s+not)?(\\\\s+(equal(\\\\s+to)?|(less|greater)\\\\s+than(\\\\s+or\\\\s+equal(\\\\s+to)?)?|in|contained\\\\s+by))?|does(n't|\\\\s+not)\\\\s+(equal|come\\\\s+(before|after)|contain))\\\\b\",\"name\":\"keyword.operator.word.applescript\"},{\"match\":\"\\\\b(?i:some|every|whose|where|that|id|index|\\\\d+(st|nd|rd|th)|first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|last|front|back|middle|named|beginning|end|from|to|thr(u|ough)|before|(front|back|beginning|end)\\\\s+of|after|behind|in\\\\s+(front|back|beginning|end)\\\\s+of)\\\\b\",\"name\":\"keyword.operator.reference.applescript\"},{\"match\":\"\\\\b(?i:continue|return|exit(\\\\s+repeat)?)\\\\b\",\"name\":\"keyword.control.loop.applescript\"},{\"match\":\"\\\\b(?i:about|above|after|against|and|apart\\\\s+from|around|as|aside\\\\s+from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|contain|contains|contains|copy|div|does|eighth|else|end|equal|equals|error|every|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead\\\\s+of|into|is|it|its|last|local|me|middle|mod|my|ninth|not|of|on|onto|or|out\\\\s+of|over|prop|property|put|ref|reference|repeat|returning|script|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\\\\b\",\"name\":\"keyword.other.applescript\"}]},\"built-in.punctuation\":{\"patterns\":[{\"match\":\"¬\",\"name\":\"punctuation.separator.continuation.line.applescript\"},{\"comment\":\"the : in property assignments\",\"match\":\":\",\"name\":\"punctuation.separator.key-value.property.applescript\"},{\"comment\":\"the parentheses in groups\",\"match\":\"[()]\",\"name\":\"punctuation.section.group.applescript\"}]},\"built-in.support\":{\"patterns\":[{\"match\":\"\\\\b(?i:POSIX\\\\s+path|frontmost|id|name|running|version|days?|weekdays?|months?|years?|time|date\\\\s+string|time\\\\s+string|length|rest|reverse|items?|contents|quoted\\\\s+form|characters?|paragraphs?|words?)\\\\b\",\"name\":\"support.function.built-in.property.applescript\"},{\"match\":\"\\\\b(?i:activate|log|clipboard\\\\s+info|set\\\\s+the\\\\s+clipboard\\\\s+to|the\\\\s+clipboard|info\\\\s+for|list\\\\s+(disks|folder)|mount\\\\s+volume|path\\\\s+to(\\\\s+resource)?|close\\\\s+access|get\\\\s+eof|open\\\\s+for\\\\s+access|read|set\\\\s+eof|write|open\\\\s+location|current\\\\s+date|do\\\\s+shell\\\\s+script|get\\\\s+volume\\\\s+settings|random\\\\s+number|round|set\\\\s+volume|system\\\\s+(attribute|info)|time\\\\s+to\\\\s+GMT|load\\\\s+script|run\\\\s+script|scripting\\\\s+components|store\\\\s+script|copy|count|get|launch|run|set|ASCII\\\\s+(character|number)|localized\\\\s+string|offset|summarize|beep|choose\\\\s+(application|color|file(\\\\s+name)?|folder|from\\\\s+list|remote\\\\s+application|URL)|delay|display\\\\s+(alert|dialog)|say)\\\\b\",\"name\":\"support.function.built-in.command.applescript\"},{\"match\":\"\\\\b(?i:get|run)\\\\b\",\"name\":\"support.function.built-in.applescript\"},{\"match\":\"\\\\b(?i:anything|data|text|upper\\\\s+case|propert(y|ies))\\\\b\",\"name\":\"support.class.built-in.applescript\"},{\"match\":\"\\\\b(?i:alias|class)(es)?\\\\b\",\"name\":\"support.class.built-in.applescript\"},{\"match\":\"\\\\b(?i:app(lication)?|boolean|character|constant|date|event|file(\\\\s+specification)?|handler|integer|item|keystroke|linked\\\\s+list|list|machine|number|picture|preposition|POSIX\\\\s+file|real|record|reference(\\\\s+form)?|RGB\\\\s+color|script|sound|text\\\\s+item|type\\\\s+class|vector|writing\\\\s+code(\\\\s+info)?|zone|((international|styled(\\\\s+(Clipboard|Unicode))?|Unicode)\\\\s+)?text|((C|encoded|Pascal)\\\\s+)?string)s?\\\\b\",\"name\":\"support.class.built-in.applescript\"},{\"match\":\"(?i)\\\\b((cubic\\\\s+(centi)?|square\\\\s+(kilo)?|centi|kilo)met(er|re)s|square\\\\s+(yards|feet|miles)|cubic\\\\s+(yards|feet|inches)|miles|inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees\\\\s+(Celsius|Fahrenheit|Kelvin))\\\\b\",\"name\":\"support.class.built-in.unit.applescript\"},{\"match\":\"\\\\b(?i:seconds|minutes|hours|days)\\\\b\",\"name\":\"support.class.built-in.time.applescript\"}]},\"comments\":{\"patterns\":[{\"begin\":\"^\\\\s*(#!)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.applescript\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.applescript\"},{\"begin\":\"(^[ \\\\t]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.applescript\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.applescript\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.applescript\"}]},{\"begin\":\"(^[ \\\\t]+)?(?=--)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.applescript\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.applescript\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.applescript\"}]},{\"begin\":\"\\\\(\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.applescript\"}},\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.applescript\",\"patterns\":[{\"include\":\"#comments.nested\"}]}]},\"comments.nested\":{\"patterns\":[{\"begin\":\"\\\\(\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.applescript\"}},\"end\":\"\\\\*\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.applescript\"}},\"name\":\"comment.block.applescript\",\"patterns\":[{\"include\":\"#comments.nested\"}]}]},\"data-structures\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.begin.applescript\"}},\"comment\":\"We cannot necessarily distinguish \\\"records\\\" from \\\"arrays\\\", and so this could be either.\",\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.end.applescript\"}},\"name\":\"meta.array.applescript\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.other.key.applescript\"},\"2\":{\"name\":\"meta.identifier.applescript\"},\"3\":{\"name\":\"punctuation.definition.identifier.applescript\"},\"4\":{\"name\":\"punctuation.definition.identifier.applescript\"},\"5\":{\"name\":\"punctuation.separator.key-value.applescript\"}},\"match\":\"(\\\\w+|((\\\\|)[^|\\\\n]*(\\\\|)))\\\\s*(:)\"},{\"match\":\":\",\"name\":\"punctuation.separator.key-value.applescript\"},{\"match\":\",\",\"name\":\"punctuation.separator.array.applescript\"},{\"include\":\"#inline\"}]},{\"begin\":\"(?:(?<=application )|(?<=app ))(\\\")\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.applescript\"}},\"end\":\"(\\\")\",\"name\":\"string.quoted.double.application-name.applescript\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.applescript\"}]},{\"begin\":\"(\\\")\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.applescript\"}},\"end\":\"(\\\")\",\"name\":\"string.quoted.double.applescript\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.applescript\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.identifier.applescript\"},\"2\":{\"name\":\"punctuation.definition.identifier.applescript\"}},\"match\":\"(\\\\|)[^|\\\\n]*(\\\\|)\",\"name\":\"meta.identifier.applescript\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.data.applescript\"},\"2\":{\"name\":\"support.class.built-in.applescript\"},\"3\":{\"name\":\"storage.type.utxt.applescript\"},\"4\":{\"name\":\"string.unquoted.data.applescript\"},\"5\":{\"name\":\"punctuation.definition.data.applescript\"},\"6\":{\"name\":\"keyword.operator.applescript\"},\"7\":{\"name\":\"support.class.built-in.applescript\"}},\"match\":\"(«)(data) (utxt|utf8)([0-9A-Fa-f]*)(»)(?:\\\\s+(as)\\\\s+(?i:Unicode\\\\s+text))?\",\"name\":\"constant.other.data.utxt.applescript\"},{\"begin\":\"(«)(\\\\w+)\\\\b(?=\\\\s)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.data.applescript\"},\"2\":{\"name\":\"support.class.built-in.applescript\"}},\"end\":\"(»)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.data.applescript\"}},\"name\":\"constant.other.data.raw.applescript\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.data.applescript\"},\"2\":{\"name\":\"punctuation.definition.data.applescript\"}},\"match\":\"(«)[^»]*(»)\",\"name\":\"invalid.illegal.data.applescript\"}]},\"finder\":{\"patterns\":[{\"match\":\"\\\\b(item|container|(computer|disk|trash)-object|disk|folder|((alias|application|document|internet location) )?file|clipping|package)s?\\\\b\",\"name\":\"support.class.finder.items.applescript\"},{\"match\":\"\\\\b((Finder|desktop|information|preferences|clipping) )windows?\\\\b\",\"name\":\"support.class.finder.window-classes.applescript\"},{\"match\":\"\\\\b(preferences|(icon|column|list) view options|(label|column|alias list)s?)\\\\b\",\"name\":\"support.class.finder.type-definitions.applescript\"},{\"match\":\"\\\\b(copy|find|sort|clean up|eject|empty( trash)|erase|reveal|update)\\\\b\",\"name\":\"support.function.finder.items.applescript\"},{\"match\":\"\\\\b(insertion location|product version|startup disk|desktop|trash|home|computer container|finder preferences)\\\\b\",\"name\":\"support.constant.finder.applescript\"},{\"match\":\"\\\\b(visible)\\\\b\",\"name\":\"support.variable.finder.applescript\"}]},\"inline\":{\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#data-structures\"},{\"include\":\"#built-in\"},{\"include\":\"#standardadditions\"}]},\"itunes\":{\"patterns\":[{\"match\":\"\\\\b(artwork|application|encoder|EQ preset|item|source|visual|(EQ |browser )?window|((audio CD|device|shared|URL|file) )?track|playlist window|((audio CD|device|radio tuner|library|folder|user) )?playlist)s?\\\\b\",\"name\":\"support.class.itunes.applescript\"},{\"match\":\"\\\\b(add|back track|convert|fast forward|(next|previous) track|pause|play(pause)?|refresh|resume|rewind|search|stop|update|eject|subscribe|update(Podcast|AllPodcasts)|download)\\\\b\",\"name\":\"support.function.itunes.applescript\"},{\"match\":\"\\\\b(current (playlist|stream (title|URL)|track)|player state)\\\\b\",\"name\":\"support.constant.itunes.applescript\"},{\"match\":\"\\\\b(current (encoder|EQ preset|visual)|EQ enabled|fixed indexing|full screen|mute|player position|sound volume|visuals enabled|visual size)\\\\b\",\"name\":\"support.variable.itunes.applescript\"}]},\"standard-suite\":{\"patterns\":[{\"match\":\"\\\\b(colors?|documents?|items?|windows?)\\\\b\",\"name\":\"support.class.standard-suite.applescript\"},{\"match\":\"\\\\b(close|count|delete|duplicate|exists|make|move|open|print|quit|save|activate|select|data size)\\\\b\",\"name\":\"support.function.standard-suite.applescript\"},{\"match\":\"\\\\b(name|frontmost|version)\\\\b\",\"name\":\"support.constant.standard-suite.applescript\"},{\"match\":\"\\\\b(selection)\\\\b\",\"name\":\"support.variable.standard-suite.applescript\"},{\"match\":\"\\\\b(attachments?|attribute runs?|characters?|paragraphs?|texts?|words?)\\\\b\",\"name\":\"support.class.text-suite.applescript\"}]},\"standardadditions\":{\"patterns\":[{\"match\":\"\\\\b((alert|dialog) reply)\\\\b\",\"name\":\"support.class.standardadditions.user-interaction.applescript\"},{\"match\":\"\\\\b(file information)\\\\b\",\"name\":\"support.class.standardadditions.file.applescript\"},{\"match\":\"\\\\b(POSIX files?|system information|volume settings)\\\\b\",\"name\":\"support.class.standardadditions.miscellaneous.applescript\"},{\"match\":\"\\\\b(URLs?|internet address(es)?|web pages?|FTP items?)\\\\b\",\"name\":\"support.class.standardadditions.internet.applescript\"},{\"match\":\"\\\\b(info for|list (disks|folder)|mount volume|path to( resource)?)\\\\b\",\"name\":\"support.function.standardadditions.file.applescript\"},{\"match\":\"\\\\b(beep|choose (application|color|file( name)?|folder|from list|remote application|URL)|delay|display (alert|dialog)|say)\\\\b\",\"name\":\"support.function.standardadditions.user-interaction.applescript\"},{\"match\":\"\\\\b(ASCII (character|number)|localized string|offset|summarize)\\\\b\",\"name\":\"support.function.standardadditions.string.applescript\"},{\"match\":\"\\\\b(set the clipboard to|the clipboard|clipboard info)\\\\b\",\"name\":\"support.function.standardadditions.clipboard.applescript\"},{\"match\":\"\\\\b(open for access|close access|read|write|get eof|set eof)\\\\b\",\"name\":\"support.function.standardadditions.file-i-o.applescript\"},{\"match\":\"\\\\b((load|store|run) script|scripting components)\\\\b\",\"name\":\"support.function.standardadditions.scripting.applescript\"},{\"match\":\"\\\\b(current date|do shell script|get volume settings|random number|round|set volume|system attribute|system info|time to GMT)\\\\b\",\"name\":\"support.function.standardadditions.miscellaneous.applescript\"},{\"match\":\"\\\\b(opening folder|(closing|moving) folder window for|adding folder items to|removing folder items from)\\\\b\",\"name\":\"support.function.standardadditions.folder-actions.applescript\"},{\"match\":\"\\\\b(open location|handle CGI request)\\\\b\",\"name\":\"support.function.standardadditions.internet.applescript\"}]},\"system-events\":{\"patterns\":[{\"match\":\"\\\\b(audio (data|file))\\\\b\",\"name\":\"support.class.system-events.audio-file.applescript\"},{\"match\":\"\\\\b(alias(es)?|(Classic|local|network|system|user) domain objects?|disk( item)?s?|domains?|file( package)?s?|folders?|items?)\\\\b\",\"name\":\"support.class.system-events.disk-folder-file.applescript\"},{\"match\":\"\\\\b(delete|open|move)\\\\b\",\"name\":\"support.function.system-events.disk-folder-file.applescript\"},{\"match\":\"\\\\b(folder actions?|scripts?)\\\\b\",\"name\":\"support.class.system-events.folder-actions.applescript\"},{\"match\":\"\\\\b(attach action to|attached scripts|edit action of|remove action from)\\\\b\",\"name\":\"support.function.system-events.folder-actions.applescript\"},{\"match\":\"\\\\b(movie data|movie file)\\\\b\",\"name\":\"support.class.system-events.movie-file.applescript\"},{\"match\":\"\\\\b(log out|restart|shut down|sleep)\\\\b\",\"name\":\"support.function.system-events.power.applescript\"},{\"match\":\"\\\\b(((application |desk accessory )?process|(check|combo )?box)(es)?|(action|attribute|browser|(busy|progress|relevance) indicator|color well|column|drawer|group|grow area|image|incrementor|list|menu( bar)?( item)?|(menu |pop up |radio )?button|outline|(radio|tab|splitter) group|row|scroll (area|bar)|sheet|slider|splitter|static text|table|text (area|field)|tool bar|UI element|window)s?)\\\\b\",\"name\":\"support.class.system-events.processes.applescript\"},{\"match\":\"\\\\b(click|key code|keystroke|perform|select)\\\\b\",\"name\":\"support.function.system-events.processes.applescript\"},{\"match\":\"\\\\b(property list (file|item))\\\\b\",\"name\":\"support.class.system-events.property-list.applescript\"},{\"match\":\"\\\\b(annotation|QuickTime (data|file)|track)s?\\\\b\",\"name\":\"support.class.system-events.quicktime-file.applescript\"},{\"match\":\"\\\\b((abort|begin|end) transaction)\\\\b\",\"name\":\"support.function.system-events.system-events.applescript\"},{\"match\":\"\\\\b(XML (attribute|data|element|file)s?)\\\\b\",\"name\":\"support.class.system-events.xml.applescript\"},{\"match\":\"\\\\b(print settings|users?|login items?)\\\\b\",\"name\":\"support.class.sytem-events.other.applescript\"}]},\"textmate\":{\"patterns\":[{\"match\":\"\\\\b(print settings)\\\\b\",\"name\":\"support.class.textmate.applescript\"},{\"match\":\"\\\\b(get url|insert|reload bundles)\\\\b\",\"name\":\"support.function.textmate.applescript\"}]}},\"scopeName\":\"source.applescript\"}"))
2
+
3
+ export default [
4
+ lang
5
+ ]
package/dist/ara.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/ara.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Ara\",\"fileTypes\":[\"ara\"],\"name\":\"ara\",\"patterns\":[{\"include\":\"#namespace\"},{\"include\":\"#named-arguments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#strings\"},{\"include\":\"#numbers\"},{\"include\":\"#operators\"},{\"include\":\"#type\"},{\"include\":\"#function-call\"}],\"repository\":{\"class-name\":{\"patterns\":[{\"begin\":\"\\\\b(?i)(?<!\\\\$)(?=[\\\\\\\\a-zA-Z_])\",\"end\":\"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\\\\\])\\\\b\",\"endCaptures\":{\"1\":{\"name\":\"support.class.ara\"}},\"patterns\":[{\"include\":\"#namespace\"}]}]},\"comments\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.ara\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block.ara\"},{\"begin\":\"(^[ \\\\t]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.ara\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.ara\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-slash.ara\"}]}]},\"function-call\":{\"patterns\":[{\"begin\":\"(?i)(?=\\\\\\\\?[a-z_0-9\\\\\\\\]+\\\\\\\\[a-z_][a-z0-9_]*\\\\s*(\\\\(|(::<)))\",\"comment\":\"Functions in a user-defined namespace (overrides any built-ins)\",\"end\":\"(?=\\\\s*(\\\\(|(::<)))\",\"patterns\":[{\"include\":\"#user-function-call\"}]},{\"begin\":\"(?i)(\\\\\\\\)?(?=\\\\b[a-z_][a-z_0-9]*\\\\s*(\\\\(|(::<)))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"comment\":\"Root namespace function calls (built-in or user)\",\"end\":\"(?=\\\\s*(\\\\(|(::<)))\",\"patterns\":[{\"include\":\"#user-function-call\"}]}]},\"interpolation\":{\"patterns\":[{\"comment\":\"Interpolating octal values e.g. \\\\01 or \\\\07.\",\"match\":\"\\\\\\\\[0-7]{1,3}\",\"name\":\"constant.numeric.octal.ara\"},{\"comment\":\"Interpolating hex values e.g. \\\\x1 or \\\\xFF.\",\"match\":\"\\\\\\\\x[0-9A-Fa-f]{1,2}\",\"name\":\"constant.numeric.hex.ara\"},{\"comment\":\"Escaped characters in double-quoted strings e.g. \\\\n or \\\\t.\",\"match\":\"\\\\\\\\[nrt\\\\\\\\$\\\\\\\"]\",\"name\":\"constant.character.escape.ara\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(await|async|concurrently|break|continue|do|else|elseif|for|if|loop|while|foreach|match|return|try|yield|from|catch|finally|default|exit)\\\\b\",\"name\":\"keyword.control.ara\"},{\"match\":\"\\\\b(const|enum|class|interface|trait|namespace|type|case|function|fn)\\\\b\",\"name\":\"storage.decl.ara\"},{\"match\":\"\\\\b(final|abstract|static|readonly|public|private|protected)\\\\b\",\"name\":\"storage.modifier.ara\"},{\"match\":\"\\\\b(as|is|extends|implements|use|where|clone|new)\\\\b\",\"name\":\"keyword.other.ara\"}]},\"named-arguments\":{\"captures\":{\"1\":{\"name\":\"entity.name.variable.parameter.ara\"},\"2\":{\"name\":\"punctuation.separator.colon.ara\"}},\"match\":\"(?i)(?<=^|\\\\(|,)\\\\s*([a-z_\\\\x{7f}-\\\\x{10ffff}][a-z0-9_\\\\x{7f}-\\\\x{10ffff}]*)\\\\s*(:)(?!:)\"},\"namespace\":{\"begin\":\"(?i)((namespace)|[a-z0-9_]+)?(\\\\\\\\)(?=.*?[^a-z_0-9\\\\\\\\])\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.namespace.php\"},\"3\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"end\":\"(?i)(?=[a-z0-9_]*[^a-z0-9_\\\\\\\\])\",\"name\":\"support.other.namespace.php\",\"patterns\":[{\"match\":\"(?i)[a-z0-9_]+(?=\\\\\\\\)\",\"name\":\"entity.name.type.namespace.php\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"match\":\"(?i)(\\\\\\\\)\"}]},\"numbers\":{\"patterns\":[{\"match\":\"0[xX][0-9a-fA-F]+(?:_[0-9a-fA-F]+)*\",\"name\":\"constant.numeric.hex.ara\"},{\"match\":\"0[bB][01]+(?:_[01]+)*\",\"name\":\"constant.numeric.binary.ara\"},{\"match\":\"0[oO][0-7]+(?:_[0-7]+)*\",\"name\":\"constant.numeric.octal.ara\"},{\"match\":\"0(?:_?[0-7]+)+\",\"name\":\"constant.numeric.octal.ara\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.decimal.period.ara\"},\"2\":{\"name\":\"punctuation.separator.decimal.period.ara\"}},\"match\":\"(?:(?:\\\\d+(?:_\\\\d+)*)?(\\\\.)\\\\d+(?:_\\\\d+)*(?:[eE][+-]?\\\\d+(?:_\\\\d+)*)?|\\\\d+(?:_\\\\d+)*(\\\\.)(?:\\\\d+(?:_\\\\d+)*)?(?:[eE][+-]?\\\\d+(?:_\\\\d+)*)?|\\\\d+(?:_\\\\d+)*[eE][+-]?\\\\d+(?:_\\\\d+)*)\",\"name\":\"constant.numeric.decimal.ara\"},{\"match\":\"0|[1-9](?:_?\\\\d+)*\",\"name\":\"constant.numeric.decimal.ara\"}]},\"operators\":{\"patterns\":[{\"comment\":\"assignment operators\",\"match\":\"(\\\\+=|-=|\\\\*=|/=|%=|\\\\^=|&&=|<=|>=|&=|\\\\|=|<<=|>>=|\\\\?\\\\?=)\",\"name\":\"keyword.assignments.ara\"},{\"comment\":\"logical operators\",\"match\":\"(\\\\^|\\\\||\\\\|\\\\||&&|>>|<<|&|~|<<|>>|>|<|<=>|\\\\?\\\\?|\\\\?|:|\\\\?:)(?!=)\",\"name\":\"keyword.operators.ara\"},{\"comment\":\"comparison operators\",\"match\":\"(==|===|!==|!=|<=|>=|<|>)(?!=)\",\"name\":\"keyword.operator.comparison.ara\"},{\"comment\":\"math operators\",\"match\":\"(([+%]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))\",\"name\":\"keyword.operator.math.ara\"},{\"comment\":\"single equal assignment operator\",\"match\":\"(?<![<>])=(?!=|>)\",\"name\":\"keyword.operator.assignment.ara\"},{\"captures\":{\"1\":{\"name\":\"punctuation.brackets.round.ara\"},\"2\":{\"name\":\"punctuation.brackets.square.ara\"},\"3\":{\"name\":\"punctuation.brackets.curly.ara\"},\"4\":{\"name\":\"keyword.operator.comparison.ara\"},\"5\":{\"name\":\"punctuation.brackets.round.ara\"},\"6\":{\"name\":\"punctuation.brackets.square.ara\"},\"7\":{\"name\":\"punctuation.brackets.curly.ara\"}},\"comment\":\"less than, greater than (special case)\",\"match\":\"(?:\\\\b|(?:(\\\\))|(\\\\])|(\\\\})))[ \\\\t]+([<>])[ \\\\t]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))\"},{\"comment\":\"arrow method call, arrow property access\",\"match\":\"(?:->|\\\\?->)\",\"name\":\"keyword.operator.arrow.ara\"},{\"comment\":\"double arrow key-value pair\",\"match\":\"(?:=>)\",\"name\":\"keyword.operator.double-arrow.ara\"},{\"comment\":\"static method call, static property access\",\"match\":\"(?:::)\",\"name\":\"keyword.operator.static.ara\"},{\"comment\":\"closure creation\",\"match\":\"(?:\\\\(\\\\.\\\\.\\\\.\\\\))\",\"name\":\"keyword.operator.closure.ara\"},{\"comment\":\"spread operator\",\"match\":\"(?:\\\\.\\\\.\\\\.)\",\"name\":\"keyword.operator.spread.ara\"},{\"comment\":\"namespace operator\",\"match\":\"\\\\\\\\\",\"name\":\"keyword.operator.namespace.ara\"}]},\"strings\":{\"patterns\":[{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.ara\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\\\\\\']\",\"name\":\"constant.character.escape.ara\"}]},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.ara\",\"patterns\":[{\"include\":\"#interpolation\"}]}]},\"type\":{\"name\":\"support.type.php\",\"patterns\":[{\"match\":\"\\\\b(?:void|true|false|null|never|float|bool|int|string|dict|vec|object|mixed|nonnull|resource|self|static|parent|iterable)\\\\b\",\"name\":\"support.type.php\"},{\"begin\":\"([A-Za-z_][A-Za-z0-9_]*)<\",\"beginCaptures\":{\"1\":{\"name\":\"support.class.php\"}},\"end\":\">\",\"patterns\":[{\"include\":\"#type-annotation\"}]},{\"begin\":\"(shape\\\\()\",\"end\":\"((,|\\\\.\\\\.\\\\.)?\\\\s*\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"keyword.operator.key.php\"}},\"name\":\"storage.type.shape.php\",\"patterns\":[{\"include\":\"#type-annotation\"},{\"include\":\"#strings\"},{\"include\":\"#constants\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#type-annotation\"}]},{\"begin\":\"\\\\(fn\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#type-annotation\"}]},{\"include\":\"#class-name\"},{\"include\":\"#comments\"}]},\"user-function-call\":{\"begin\":\"(?i)(?=[a-z_0-9\\\\\\\\]*[a-z_][a-z0-9_]*\\\\s*\\\\()\",\"end\":\"(?i)[a-z_][a-z_0-9]*(?=\\\\s*\\\\()\",\"endCaptures\":{\"0\":{\"name\":\"entity.name.function.php\"}},\"name\":\"meta.function-call.php\",\"patterns\":[{\"include\":\"#namespace\"}]}},\"scopeName\":\"source.ara\"}"))
2
+
3
+ export default [
4
+ lang
5
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs