svelte-highlight 7.15.0 → 7.16.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 (1069) hide show
  1. package/Highlight.svelte +14 -5
  2. package/Highlight.svelte.d.ts +15 -0
  3. package/HighlightAuto.svelte +29 -8
  4. package/HighlightAuto.svelte.d.ts +17 -0
  5. package/HighlightEditable.svelte +33 -9
  6. package/HighlightEditable.svelte.d.ts +6 -2
  7. package/HighlightStream.svelte +129 -14
  8. package/HighlightStyle.svelte +52 -15
  9. package/HighlightStyle.svelte.d.ts +25 -12
  10. package/HighlightSvelte.svelte +14 -5
  11. package/HighlightSvelte.svelte.d.ts +15 -0
  12. package/HighlightVirtual.svelte +229 -0
  13. package/HighlightVirtual.svelte.d.ts +36 -0
  14. package/LICENSE.highlight.txt +39 -0
  15. package/README.md +379 -34
  16. package/Typewriter.svelte +3 -3
  17. package/action.js +6 -6
  18. package/compat.d.ts +13 -0
  19. package/compat.js +42 -0
  20. package/convert-language.d.ts +13 -0
  21. package/convert-language.js +203 -0
  22. package/engine.d.ts +215 -0
  23. package/engine.js +1283 -0
  24. package/highlight-theme.d.ts +6 -0
  25. package/highlight-theme.js +77 -0
  26. package/incremental-tokenize.js +242 -0
  27. package/index.d.ts +2 -0
  28. package/index.js +1 -0
  29. package/languages/1c.js +1360 -3
  30. package/languages/abnf.js +89 -3
  31. package/languages/accesslog.js +88 -3
  32. package/languages/actionscript.js +221 -3
  33. package/languages/ada.js +235 -3
  34. package/languages/all.d.ts +4 -0
  35. package/languages/all.js +497 -0
  36. package/languages/angelscript.js +177 -3
  37. package/languages/apache.js +99 -3
  38. package/languages/applescript.js +291 -3
  39. package/languages/arcade.js +1040 -3
  40. package/languages/arduino.js +6201 -3
  41. package/languages/armasm.js +551 -3
  42. package/languages/asciidoc.js +237 -3
  43. package/languages/aspectj.js +770 -3
  44. package/languages/astro.js +70 -60
  45. package/languages/autohotkey.js +133 -3
  46. package/languages/autoit.js +598 -3
  47. package/languages/avrasm.js +372 -3
  48. package/languages/awk.js +115 -3
  49. package/languages/axapta.js +451 -3
  50. package/languages/bash.js +335 -3
  51. package/languages/basic.js +262 -3
  52. package/languages/bibtex.js +47 -45
  53. package/languages/bicep.js +141 -75
  54. package/languages/blade.js +96 -88
  55. package/languages/bnf.js +53 -3
  56. package/languages/brainfuck.js +69 -3
  57. package/languages/c.js +2283 -3
  58. package/languages/caddy.js +131 -56
  59. package/languages/cairo.js +165 -81
  60. package/languages/cal.js +197 -3
  61. package/languages/capnproto.js +105 -3
  62. package/languages/ceylon.js +188 -3
  63. package/languages/clarity.js +157 -52
  64. package/languages/clean.js +107 -3
  65. package/languages/clojure-repl.js +25 -3
  66. package/languages/clojure.js +553 -3
  67. package/languages/cmake.js +223 -3
  68. package/languages/coffeescript.js +827 -3
  69. package/languages/coq.js +447 -3
  70. package/languages/cos.js +183 -3
  71. package/languages/cpp.js +2288 -3
  72. package/languages/crmsh.js +201 -3
  73. package/languages/crystal.js +740 -3
  74. package/languages/csharp.js +1113 -3
  75. package/languages/csp.js +49 -3
  76. package/languages/css.js +216 -3
  77. package/languages/cue.js +137 -95
  78. package/languages/cypher.js +145 -67
  79. package/languages/d.js +244 -3
  80. package/languages/d2.js +118 -58
  81. package/languages/dart.js +309 -3
  82. package/languages/dax.js +270 -73
  83. package/languages/delphi.js +468 -3
  84. package/languages/dhall.js +160 -78
  85. package/languages/diff.js +37 -3
  86. package/languages/django.js +216 -3
  87. package/languages/dns.js +103 -3
  88. package/languages/dockerfile.js +82 -3
  89. package/languages/dos.js +173 -3
  90. package/languages/dotenv.js +71 -45
  91. package/languages/dsconfig.js +76 -3
  92. package/languages/dts.js +199 -3
  93. package/languages/dust.js +57 -3
  94. package/languages/ebnf.js +45 -3
  95. package/languages/elixir.js +517 -3
  96. package/languages/elm.js +172 -3
  97. package/languages/erb.js +39 -3
  98. package/languages/erlang-repl.js +108 -3
  99. package/languages/erlang.js +355 -3
  100. package/languages/excel.js +593 -3
  101. package/languages/fish.js +117 -73
  102. package/languages/fix.js +38 -3
  103. package/languages/flix.js +107 -3
  104. package/languages/fortran.js +630 -3
  105. package/languages/fsharp.js +850 -3
  106. package/languages/gams.js +705 -3
  107. package/languages/gauss.js +3845 -3
  108. package/languages/gcode.js +181 -3
  109. package/languages/gdscript.d.ts +2 -0
  110. package/languages/gdscript.js +158 -0
  111. package/languages/gherkin.js +68 -3
  112. package/languages/gleam.js +115 -68
  113. package/languages/glsl.js +638 -3
  114. package/languages/gml.js +3151 -3
  115. package/languages/go.js +253 -3
  116. package/languages/golo.js +97 -3
  117. package/languages/gradle.js +233 -3
  118. package/languages/graphql.js +101 -3
  119. package/languages/groovy.js +209 -3
  120. package/languages/groq.js +94 -86
  121. package/languages/haml.js +111 -3
  122. package/languages/handlebars.js +368 -3
  123. package/languages/haskell.js +272 -3
  124. package/languages/haxe.js +290 -3
  125. package/languages/hcl.js +143 -80
  126. package/languages/heex.d.ts +2 -0
  127. package/languages/heex.js +130 -0
  128. package/languages/hlsl.js +303 -89
  129. package/languages/hsp.js +490 -3
  130. package/languages/html.js +203 -158
  131. package/languages/http.js +84 -3
  132. package/languages/hy.js +423 -3
  133. package/languages/index.d.ts +11 -2
  134. package/languages/index.js +3 -0
  135. package/languages/inform7.js +63 -3
  136. package/languages/ini.js +89 -3
  137. package/languages/irpf90.js +612 -3
  138. package/languages/isbl.js +10135 -3
  139. package/languages/java.js +550 -3
  140. package/languages/javascript.js +1240 -3
  141. package/languages/jboss-cli.js +114 -3
  142. package/languages/jq.js +328 -117
  143. package/languages/json.js +96 -3
  144. package/languages/json5.js +107 -53
  145. package/languages/jsonc.js +75 -34
  146. package/languages/jsonnet.js +138 -68
  147. package/languages/julia-repl.js +33 -3
  148. package/languages/julia.js +621 -3
  149. package/languages/just.js +225 -116
  150. package/languages/kotlin.js +595 -3
  151. package/languages/kql.js +275 -113
  152. package/languages/lasso.js +568 -3
  153. package/languages/latex.js +670 -3
  154. package/languages/ldif.js +41 -3
  155. package/languages/leaf.js +60 -3
  156. package/languages/less.js +787 -3
  157. package/languages/liquid.js +113 -54
  158. package/languages/lisp.js +150 -3
  159. package/languages/livecodeserver.js +828 -3
  160. package/languages/livescript.js +1082 -3
  161. package/languages/llvm.js +369 -3
  162. package/languages/logql.js +119 -79
  163. package/languages/lsl.js +130 -3
  164. package/languages/lua.js +278 -3
  165. package/languages/makefile.js +124 -3
  166. package/languages/markdown.js +222 -3
  167. package/languages/marko.js +148 -165
  168. package/languages/mathematica.js +99 -3
  169. package/languages/matlab.js +335 -3
  170. package/languages/maxima.js +2495 -3
  171. package/languages/mdx.js +106 -74
  172. package/languages/mel.js +1309 -3
  173. package/languages/mercury.js +231 -3
  174. package/languages/mipsasm.js +289 -3
  175. package/languages/mizar.js +115 -3
  176. package/languages/mojolicious.js +32 -3
  177. package/languages/monkey.js +205 -3
  178. package/languages/moonscript.js +334 -3
  179. package/languages/move.js +149 -89
  180. package/languages/n1ql.js +375 -3
  181. package/languages/nestedtext.js +76 -3
  182. package/languages/nginx.js +201 -3
  183. package/languages/nickel.js +126 -77
  184. package/languages/nim.js +206 -3
  185. package/languages/nix.js +310 -3
  186. package/languages/node-repl.js +33 -3
  187. package/languages/nsis.js +441 -3
  188. package/languages/nushell.js +158 -97
  189. package/languages/objectivec.js +303 -3
  190. package/languages/ocaml.js +165 -3
  191. package/languages/odin.js +176 -75
  192. package/languages/openscad.js +185 -3
  193. package/languages/oxygene.js +459 -3
  194. package/languages/parser3.js +111 -3
  195. package/languages/perl.js +864 -3
  196. package/languages/pf.js +168 -3
  197. package/languages/pgsql.js +1253 -3
  198. package/languages/php-template.js +28 -3
  199. package/languages/php.js +1031 -3
  200. package/languages/pkl.js +190 -76
  201. package/languages/plaintext.js +17 -3
  202. package/languages/pony.js +132 -3
  203. package/languages/powershell.js +405 -3
  204. package/languages/prisma.js +95 -68
  205. package/languages/processing.js +445 -3
  206. package/languages/profile.js +66 -3
  207. package/languages/prolog.js +142 -3
  208. package/languages/promql.js +204 -91
  209. package/languages/properties.js +75 -3
  210. package/languages/protobuf.js +106 -3
  211. package/languages/pug.js +119 -67
  212. package/languages/puppet.js +415 -3
  213. package/languages/purebasic.js +187 -3
  214. package/languages/python-repl.js +35 -3
  215. package/languages/python.js +784 -3
  216. package/languages/q.js +215 -3
  217. package/languages/qml.js +401 -3
  218. package/languages/r.js +351 -3
  219. package/languages/razor.js +417 -126
  220. package/languages/reasonml.js +207 -3
  221. package/languages/rego.js +179 -91
  222. package/languages/rescript.js +202 -138
  223. package/languages/rib.js +148 -3
  224. package/languages/roboconf.js +128 -3
  225. package/languages/routeros.js +169 -3
  226. package/languages/rsl.js +175 -3
  227. package/languages/rst.js +111 -142
  228. package/languages/ruby.js +890 -3
  229. package/languages/ruleslanguage.js +377 -3
  230. package/languages/rust.js +392 -3
  231. package/languages/sas.js +211 -3
  232. package/languages/scala.js +332 -3
  233. package/languages/scheme.js +398 -3
  234. package/languages/scilab.js +190 -3
  235. package/languages/scss.js +236 -3
  236. package/languages/shell.js +32 -3
  237. package/languages/smali.js +91 -3
  238. package/languages/smalltalk.js +89 -3
  239. package/languages/sml.js +145 -3
  240. package/languages/solidity.js +400 -99
  241. package/languages/sparql.d.ts +2 -0
  242. package/languages/sparql.js +153 -0
  243. package/languages/sqf.js +2641 -3
  244. package/languages/sql.js +474 -3
  245. package/languages/stan.js +526 -3
  246. package/languages/starlark.js +122 -51
  247. package/languages/stata.js +1903 -3
  248. package/languages/step21.js +100 -3
  249. package/languages/stylus.js +261 -3
  250. package/languages/subunit.js +59 -3
  251. package/languages/svelte.js +148 -141
  252. package/languages/swift.js +2245 -3
  253. package/languages/taggerscript.js +51 -3
  254. package/languages/tap.js +48 -3
  255. package/languages/tcl.js +218 -3
  256. package/languages/templ.js +254 -250
  257. package/languages/thrift.js +129 -3
  258. package/languages/toml.js +107 -74
  259. package/languages/tp.js +209 -3
  260. package/languages/twig.js +204 -3
  261. package/languages/typescript.js +1410 -3
  262. package/languages/typst.js +340 -183
  263. package/languages/v.js +230 -101
  264. package/languages/vala.js +161 -3
  265. package/languages/vbnet.js +333 -3
  266. package/languages/vbscript-html.js +18 -3
  267. package/languages/vbscript.js +225 -3
  268. package/languages/verilog.js +576 -3
  269. package/languages/vhdl.js +229 -3
  270. package/languages/vim.js +1294 -3
  271. package/languages/vue.js +99 -98
  272. package/languages/vyper.js +144 -72
  273. package/languages/wasm.js +140 -3
  274. package/languages/wgsl.js +370 -93
  275. package/languages/wren.js +311 -3
  276. package/languages/x86asm.js +2330 -3
  277. package/languages/xl.js +474 -3
  278. package/languages/xml.js +198 -3
  279. package/languages/xquery.js +315 -3
  280. package/languages/yaml.js +267 -3
  281. package/languages/zephir.js +333 -3
  282. package/languages/zig.js +196 -100
  283. package/package.json +57 -2
  284. package/preprocessor.js +3 -5
  285. package/registry.d.ts +17 -0
  286. package/registry.js +17 -0
  287. package/textmate-theme.d.ts +41 -0
  288. package/textmate-theme.js +211 -0
  289. package/theme-style.js +94 -0
  290. package/theme-vars.js +205 -0
  291. package/theme.d.ts +104 -0
  292. package/theme.js +130 -0
  293. package/themes/1c-light.css +1 -0
  294. package/themes/1c-light.d.ts +1 -0
  295. package/themes/1c-light.js +53 -0
  296. package/themes/3024.css +1 -0
  297. package/themes/3024.d.ts +1 -0
  298. package/themes/3024.js +62 -0
  299. package/themes/_shl-fallbacks.d.ts +1 -0
  300. package/themes/_shl-fallbacks.js +27 -0
  301. package/themes/a11y-dark.css +29 -0
  302. package/themes/a11y-dark.d.ts +1 -0
  303. package/themes/a11y-dark.js +47 -0
  304. package/themes/a11y-light.css +29 -0
  305. package/themes/a11y-light.d.ts +1 -0
  306. package/themes/a11y-light.js +47 -0
  307. package/themes/agate.css +1 -0
  308. package/themes/agate.d.ts +1 -0
  309. package/themes/agate.js +58 -0
  310. package/themes/an-old-hope.css +1 -0
  311. package/themes/an-old-hope.d.ts +1 -0
  312. package/themes/an-old-hope.js +45 -0
  313. package/themes/androidstudio.css +1 -0
  314. package/themes/androidstudio.d.ts +1 -0
  315. package/themes/androidstudio.js +45 -0
  316. package/themes/apathy.css +1 -0
  317. package/themes/apathy.d.ts +1 -0
  318. package/themes/apathy.js +62 -0
  319. package/themes/apprentice.css +1 -0
  320. package/themes/apprentice.d.ts +1 -0
  321. package/themes/apprentice.js +62 -0
  322. package/themes/arduino-light.css +1 -0
  323. package/themes/arduino-light.d.ts +1 -0
  324. package/themes/arduino-light.js +52 -0
  325. package/themes/arta.css +1 -0
  326. package/themes/arta.d.ts +1 -0
  327. package/themes/arta.js +50 -0
  328. package/themes/ascetic.css +1 -0
  329. package/themes/ascetic.d.ts +1 -0
  330. package/themes/ascetic.js +45 -0
  331. package/themes/ashes.css +1 -0
  332. package/themes/ashes.d.ts +1 -0
  333. package/themes/ashes.js +62 -0
  334. package/themes/atelier-cave-light.css +1 -0
  335. package/themes/atelier-cave-light.d.ts +1 -0
  336. package/themes/atelier-cave-light.js +62 -0
  337. package/themes/atelier-cave.css +1 -0
  338. package/themes/atelier-cave.d.ts +1 -0
  339. package/themes/atelier-cave.js +62 -0
  340. package/themes/atelier-dune-light.css +1 -0
  341. package/themes/atelier-dune-light.d.ts +1 -0
  342. package/themes/atelier-dune-light.js +62 -0
  343. package/themes/atelier-dune.css +1 -0
  344. package/themes/atelier-dune.d.ts +1 -0
  345. package/themes/atelier-dune.js +62 -0
  346. package/themes/atelier-estuary-light.css +1 -0
  347. package/themes/atelier-estuary-light.d.ts +1 -0
  348. package/themes/atelier-estuary-light.js +62 -0
  349. package/themes/atelier-estuary.css +1 -0
  350. package/themes/atelier-estuary.d.ts +1 -0
  351. package/themes/atelier-estuary.js +62 -0
  352. package/themes/atelier-forest-light.css +1 -0
  353. package/themes/atelier-forest-light.d.ts +1 -0
  354. package/themes/atelier-forest-light.js +62 -0
  355. package/themes/atelier-forest.css +1 -0
  356. package/themes/atelier-forest.d.ts +1 -0
  357. package/themes/atelier-forest.js +62 -0
  358. package/themes/atelier-heath-light.css +1 -0
  359. package/themes/atelier-heath-light.d.ts +1 -0
  360. package/themes/atelier-heath-light.js +62 -0
  361. package/themes/atelier-heath.css +1 -0
  362. package/themes/atelier-heath.d.ts +1 -0
  363. package/themes/atelier-heath.js +62 -0
  364. package/themes/atelier-lakeside-light.css +1 -0
  365. package/themes/atelier-lakeside-light.d.ts +1 -0
  366. package/themes/atelier-lakeside-light.js +62 -0
  367. package/themes/atelier-lakeside.css +1 -0
  368. package/themes/atelier-lakeside.d.ts +1 -0
  369. package/themes/atelier-lakeside.js +62 -0
  370. package/themes/atelier-plateau-light.css +1 -0
  371. package/themes/atelier-plateau-light.d.ts +1 -0
  372. package/themes/atelier-plateau-light.js +62 -0
  373. package/themes/atelier-plateau.css +1 -0
  374. package/themes/atelier-plateau.d.ts +1 -0
  375. package/themes/atelier-plateau.js +62 -0
  376. package/themes/atelier-savanna-light.css +1 -0
  377. package/themes/atelier-savanna-light.d.ts +1 -0
  378. package/themes/atelier-savanna-light.js +62 -0
  379. package/themes/atelier-savanna.css +1 -0
  380. package/themes/atelier-savanna.d.ts +1 -0
  381. package/themes/atelier-savanna.js +62 -0
  382. package/themes/atelier-seaside-light.css +1 -0
  383. package/themes/atelier-seaside-light.d.ts +1 -0
  384. package/themes/atelier-seaside-light.js +62 -0
  385. package/themes/atelier-seaside.css +1 -0
  386. package/themes/atelier-seaside.d.ts +1 -0
  387. package/themes/atelier-seaside.js +62 -0
  388. package/themes/atelier-sulphurpool-light.css +1 -0
  389. package/themes/atelier-sulphurpool-light.d.ts +1 -0
  390. package/themes/atelier-sulphurpool-light.js +62 -0
  391. package/themes/atelier-sulphurpool.css +1 -0
  392. package/themes/atelier-sulphurpool.d.ts +1 -0
  393. package/themes/atelier-sulphurpool.js +62 -0
  394. package/themes/atlas.css +1 -0
  395. package/themes/atlas.d.ts +1 -0
  396. package/themes/atlas.js +62 -0
  397. package/themes/atom-one-dark-reasonable.css +1 -0
  398. package/themes/atom-one-dark-reasonable.d.ts +1 -0
  399. package/themes/atom-one-dark-reasonable.js +62 -0
  400. package/themes/atom-one-dark.css +1 -0
  401. package/themes/atom-one-dark.d.ts +1 -0
  402. package/themes/atom-one-dark.js +54 -0
  403. package/themes/atom-one-light.css +1 -0
  404. package/themes/atom-one-light.d.ts +1 -0
  405. package/themes/atom-one-light.js +54 -0
  406. package/themes/base.css +1 -0
  407. package/themes/base16-github.css +1 -0
  408. package/themes/base16-github.d.ts +1 -0
  409. package/themes/base16-github.js +62 -0
  410. package/themes/base16-ir-black.css +1 -0
  411. package/themes/base16-ir-black.d.ts +1 -0
  412. package/themes/base16-ir-black.js +62 -0
  413. package/themes/base16-monokai.css +1 -0
  414. package/themes/base16-monokai.d.ts +1 -0
  415. package/themes/base16-monokai.js +62 -0
  416. package/themes/base16-nord.css +1 -0
  417. package/themes/base16-nord.d.ts +1 -0
  418. package/themes/base16-nord.js +62 -0
  419. package/themes/bespin.css +1 -0
  420. package/themes/bespin.d.ts +1 -0
  421. package/themes/bespin.js +62 -0
  422. package/themes/black-metal-bathory.css +1 -0
  423. package/themes/black-metal-bathory.d.ts +1 -0
  424. package/themes/black-metal-bathory.js +62 -0
  425. package/themes/black-metal-burzum.css +1 -0
  426. package/themes/black-metal-burzum.d.ts +1 -0
  427. package/themes/black-metal-burzum.js +62 -0
  428. package/themes/black-metal-dark-funeral.css +1 -0
  429. package/themes/black-metal-dark-funeral.d.ts +1 -0
  430. package/themes/black-metal-dark-funeral.js +62 -0
  431. package/themes/black-metal-gorgoroth.css +1 -0
  432. package/themes/black-metal-gorgoroth.d.ts +1 -0
  433. package/themes/black-metal-gorgoroth.js +62 -0
  434. package/themes/black-metal-immortal.css +1 -0
  435. package/themes/black-metal-immortal.d.ts +1 -0
  436. package/themes/black-metal-immortal.js +62 -0
  437. package/themes/black-metal-khold.css +1 -0
  438. package/themes/black-metal-khold.d.ts +1 -0
  439. package/themes/black-metal-khold.js +62 -0
  440. package/themes/black-metal-marduk.css +1 -0
  441. package/themes/black-metal-marduk.d.ts +1 -0
  442. package/themes/black-metal-marduk.js +62 -0
  443. package/themes/black-metal-mayhem.css +1 -0
  444. package/themes/black-metal-mayhem.d.ts +1 -0
  445. package/themes/black-metal-mayhem.js +62 -0
  446. package/themes/black-metal-nile.css +1 -0
  447. package/themes/black-metal-nile.d.ts +1 -0
  448. package/themes/black-metal-nile.js +62 -0
  449. package/themes/black-metal-venom.css +1 -0
  450. package/themes/black-metal-venom.d.ts +1 -0
  451. package/themes/black-metal-venom.js +62 -0
  452. package/themes/black-metal.css +1 -0
  453. package/themes/black-metal.d.ts +1 -0
  454. package/themes/black-metal.js +62 -0
  455. package/themes/brewer.css +1 -0
  456. package/themes/brewer.d.ts +1 -0
  457. package/themes/brewer.js +62 -0
  458. package/themes/bright.css +1 -0
  459. package/themes/bright.d.ts +1 -0
  460. package/themes/bright.js +62 -0
  461. package/themes/brogrammer.css +1 -0
  462. package/themes/brogrammer.d.ts +1 -0
  463. package/themes/brogrammer.js +62 -0
  464. package/themes/brown-paper.css +1 -0
  465. package/themes/brown-paper.d.ts +1 -0
  466. package/themes/brown-paper.js +53 -0
  467. package/themes/brush-trees-dark.css +1 -0
  468. package/themes/brush-trees-dark.d.ts +1 -0
  469. package/themes/brush-trees-dark.js +62 -0
  470. package/themes/brush-trees.css +1 -0
  471. package/themes/brush-trees.d.ts +1 -0
  472. package/themes/brush-trees.js +62 -0
  473. package/themes/chalk.css +1 -0
  474. package/themes/chalk.d.ts +1 -0
  475. package/themes/chalk.js +62 -0
  476. package/themes/circus.css +1 -0
  477. package/themes/circus.d.ts +1 -0
  478. package/themes/circus.js +62 -0
  479. package/themes/classic-dark.css +1 -0
  480. package/themes/classic-dark.d.ts +1 -0
  481. package/themes/classic-dark.js +62 -0
  482. package/themes/classic-light.css +1 -0
  483. package/themes/classic-light.d.ts +1 -0
  484. package/themes/classic-light.js +62 -0
  485. package/themes/codepen-embed.css +1 -0
  486. package/themes/codepen-embed.d.ts +1 -0
  487. package/themes/codepen-embed.js +45 -0
  488. package/themes/codeschool.css +1 -0
  489. package/themes/codeschool.d.ts +1 -0
  490. package/themes/codeschool.js +62 -0
  491. package/themes/color-brewer.css +1 -0
  492. package/themes/color-brewer.d.ts +1 -0
  493. package/themes/color-brewer.js +45 -0
  494. package/themes/colors.css +1 -0
  495. package/themes/colors.d.ts +1 -0
  496. package/themes/colors.js +62 -0
  497. package/themes/cupcake.css +1 -0
  498. package/themes/cupcake.d.ts +1 -0
  499. package/themes/cupcake.js +62 -0
  500. package/themes/cupertino.css +1 -0
  501. package/themes/cupertino.d.ts +1 -0
  502. package/themes/cupertino.js +62 -0
  503. package/themes/cybertopia-cherry.css +1 -0
  504. package/themes/cybertopia-cherry.d.ts +1 -0
  505. package/themes/cybertopia-cherry.js +61 -0
  506. package/themes/cybertopia-dimmer.css +1 -0
  507. package/themes/cybertopia-dimmer.d.ts +1 -0
  508. package/themes/cybertopia-dimmer.js +61 -0
  509. package/themes/cybertopia-icecap.css +1 -0
  510. package/themes/cybertopia-icecap.d.ts +1 -0
  511. package/themes/cybertopia-icecap.js +61 -0
  512. package/themes/cybertopia-saturated.css +1 -0
  513. package/themes/cybertopia-saturated.d.ts +1 -0
  514. package/themes/cybertopia-saturated.js +61 -0
  515. package/themes/danqing.css +1 -0
  516. package/themes/danqing.d.ts +1 -0
  517. package/themes/danqing.js +62 -0
  518. package/themes/darcula.css +1 -0
  519. package/themes/darcula.d.ts +1 -0
  520. package/themes/darcula.js +62 -0
  521. package/themes/dark-violet.css +1 -0
  522. package/themes/dark-violet.d.ts +1 -0
  523. package/themes/dark-violet.js +62 -0
  524. package/themes/dark.css +1 -0
  525. package/themes/dark.d.ts +1 -0
  526. package/themes/dark.js +52 -0
  527. package/themes/darkmoss.css +1 -0
  528. package/themes/darkmoss.d.ts +1 -0
  529. package/themes/darkmoss.js +62 -0
  530. package/themes/darktooth.css +1 -0
  531. package/themes/darktooth.d.ts +1 -0
  532. package/themes/darktooth.js +62 -0
  533. package/themes/decaf.css +1 -0
  534. package/themes/decaf.d.ts +1 -0
  535. package/themes/decaf.js +62 -0
  536. package/themes/default-dark.css +1 -0
  537. package/themes/default-dark.d.ts +1 -0
  538. package/themes/default-dark.js +62 -0
  539. package/themes/default-light.css +1 -0
  540. package/themes/default-light.d.ts +1 -0
  541. package/themes/default-light.js +62 -0
  542. package/themes/default.css +1 -0
  543. package/themes/default.d.ts +1 -0
  544. package/themes/default.js +59 -0
  545. package/themes/devibeans.css +1 -0
  546. package/themes/devibeans.d.ts +1 -0
  547. package/themes/devibeans.js +52 -0
  548. package/themes/dirtysea.css +1 -0
  549. package/themes/dirtysea.d.ts +1 -0
  550. package/themes/dirtysea.js +62 -0
  551. package/themes/docco.css +1 -0
  552. package/themes/docco.d.ts +1 -0
  553. package/themes/docco.js +57 -0
  554. package/themes/dracula.css +1 -0
  555. package/themes/dracula.d.ts +1 -0
  556. package/themes/dracula.js +62 -0
  557. package/themes/edge-dark.css +1 -0
  558. package/themes/edge-dark.d.ts +1 -0
  559. package/themes/edge-dark.js +62 -0
  560. package/themes/edge-light.css +1 -0
  561. package/themes/edge-light.d.ts +1 -0
  562. package/themes/edge-light.js +62 -0
  563. package/themes/eighties.css +1 -0
  564. package/themes/eighties.d.ts +1 -0
  565. package/themes/eighties.js +62 -0
  566. package/themes/embers.css +1 -0
  567. package/themes/embers.d.ts +1 -0
  568. package/themes/embers.js +62 -0
  569. package/themes/equilibrium-dark.css +1 -0
  570. package/themes/equilibrium-dark.d.ts +1 -0
  571. package/themes/equilibrium-dark.js +62 -0
  572. package/themes/equilibrium-gray-dark.css +1 -0
  573. package/themes/equilibrium-gray-dark.d.ts +1 -0
  574. package/themes/equilibrium-gray-dark.js +62 -0
  575. package/themes/equilibrium-gray-light.css +1 -0
  576. package/themes/equilibrium-gray-light.d.ts +1 -0
  577. package/themes/equilibrium-gray-light.js +62 -0
  578. package/themes/equilibrium-light.css +1 -0
  579. package/themes/equilibrium-light.d.ts +1 -0
  580. package/themes/equilibrium-light.js +62 -0
  581. package/themes/espresso.css +1 -0
  582. package/themes/espresso.d.ts +1 -0
  583. package/themes/espresso.js +62 -0
  584. package/themes/eva-dim.css +1 -0
  585. package/themes/eva-dim.d.ts +1 -0
  586. package/themes/eva-dim.js +62 -0
  587. package/themes/eva.css +1 -0
  588. package/themes/eva.d.ts +1 -0
  589. package/themes/eva.js +62 -0
  590. package/themes/far.css +1 -0
  591. package/themes/far.d.ts +1 -0
  592. package/themes/far.js +50 -0
  593. package/themes/felipec.css +1 -0
  594. package/themes/felipec.d.ts +1 -0
  595. package/themes/felipec.js +54 -0
  596. package/themes/flat.css +1 -0
  597. package/themes/flat.d.ts +1 -0
  598. package/themes/flat.js +62 -0
  599. package/themes/foundation.css +1 -0
  600. package/themes/foundation.d.ts +1 -0
  601. package/themes/foundation.js +52 -0
  602. package/themes/framer.css +1 -0
  603. package/themes/framer.d.ts +1 -0
  604. package/themes/framer.js +62 -0
  605. package/themes/fruit-soda.css +1 -0
  606. package/themes/fruit-soda.d.ts +1 -0
  607. package/themes/fruit-soda.js +62 -0
  608. package/themes/gigavolt.css +1 -0
  609. package/themes/gigavolt.d.ts +1 -0
  610. package/themes/gigavolt.js +62 -0
  611. package/themes/github-dark-dimmed.css +1 -0
  612. package/themes/github-dark-dimmed.d.ts +1 -0
  613. package/themes/github-dark-dimmed.js +59 -0
  614. package/themes/github-dark.css +1 -0
  615. package/themes/github-dark.d.ts +1 -0
  616. package/themes/github-dark.js +59 -0
  617. package/themes/github.css +1 -0
  618. package/themes/github.d.ts +1 -0
  619. package/themes/github.js +59 -0
  620. package/themes/gml.css +1 -0
  621. package/themes/gml.d.ts +1 -0
  622. package/themes/gml.js +51 -0
  623. package/themes/google-dark.css +1 -0
  624. package/themes/google-dark.d.ts +1 -0
  625. package/themes/google-dark.js +62 -0
  626. package/themes/google-light.css +1 -0
  627. package/themes/google-light.d.ts +1 -0
  628. package/themes/google-light.js +62 -0
  629. package/themes/googlecode.css +1 -0
  630. package/themes/googlecode.d.ts +1 -0
  631. package/themes/googlecode.js +53 -0
  632. package/themes/gradient-dark.css +1 -0
  633. package/themes/gradient-dark.d.ts +1 -0
  634. package/themes/gradient-dark.js +60 -0
  635. package/themes/gradient-light.css +1 -0
  636. package/themes/gradient-light.d.ts +1 -0
  637. package/themes/gradient-light.js +60 -0
  638. package/themes/grayscale-dark.css +1 -0
  639. package/themes/grayscale-dark.d.ts +1 -0
  640. package/themes/grayscale-dark.js +62 -0
  641. package/themes/grayscale-light.css +1 -0
  642. package/themes/grayscale-light.d.ts +1 -0
  643. package/themes/grayscale-light.js +62 -0
  644. package/themes/grayscale.css +1 -0
  645. package/themes/grayscale.d.ts +1 -0
  646. package/themes/grayscale.js +66 -0
  647. package/themes/green-screen.css +1 -0
  648. package/themes/green-screen.d.ts +1 -0
  649. package/themes/green-screen.js +62 -0
  650. package/themes/gruvbox-dark-hard.css +1 -0
  651. package/themes/gruvbox-dark-hard.d.ts +1 -0
  652. package/themes/gruvbox-dark-hard.js +62 -0
  653. package/themes/gruvbox-dark-medium.css +1 -0
  654. package/themes/gruvbox-dark-medium.d.ts +1 -0
  655. package/themes/gruvbox-dark-medium.js +62 -0
  656. package/themes/gruvbox-dark-pale.css +1 -0
  657. package/themes/gruvbox-dark-pale.d.ts +1 -0
  658. package/themes/gruvbox-dark-pale.js +62 -0
  659. package/themes/gruvbox-dark-soft.css +1 -0
  660. package/themes/gruvbox-dark-soft.d.ts +1 -0
  661. package/themes/gruvbox-dark-soft.js +62 -0
  662. package/themes/gruvbox-light-hard.css +1 -0
  663. package/themes/gruvbox-light-hard.d.ts +1 -0
  664. package/themes/gruvbox-light-hard.js +62 -0
  665. package/themes/gruvbox-light-medium.css +1 -0
  666. package/themes/gruvbox-light-medium.d.ts +1 -0
  667. package/themes/gruvbox-light-medium.js +62 -0
  668. package/themes/gruvbox-light-soft.css +1 -0
  669. package/themes/gruvbox-light-soft.d.ts +1 -0
  670. package/themes/gruvbox-light-soft.js +62 -0
  671. package/themes/hardcore.css +1 -0
  672. package/themes/hardcore.d.ts +1 -0
  673. package/themes/hardcore.js +62 -0
  674. package/themes/harmonic16-dark.css +1 -0
  675. package/themes/harmonic16-dark.d.ts +1 -0
  676. package/themes/harmonic16-dark.js +62 -0
  677. package/themes/harmonic16-light.css +1 -0
  678. package/themes/harmonic16-light.d.ts +1 -0
  679. package/themes/harmonic16-light.js +62 -0
  680. package/themes/heetch-dark.css +1 -0
  681. package/themes/heetch-dark.d.ts +1 -0
  682. package/themes/heetch-dark.js +62 -0
  683. package/themes/heetch-light.css +1 -0
  684. package/themes/heetch-light.d.ts +1 -0
  685. package/themes/heetch-light.js +62 -0
  686. package/themes/helios.css +1 -0
  687. package/themes/helios.d.ts +1 -0
  688. package/themes/helios.js +62 -0
  689. package/themes/hopscotch.css +1 -0
  690. package/themes/hopscotch.d.ts +1 -0
  691. package/themes/hopscotch.js +62 -0
  692. package/themes/horizon-dark.css +1 -0
  693. package/themes/horizon-dark.d.ts +1 -0
  694. package/themes/horizon-dark.js +62 -0
  695. package/themes/horizon-light.css +1 -0
  696. package/themes/horizon-light.d.ts +1 -0
  697. package/themes/horizon-light.js +62 -0
  698. package/themes/humanoid-dark.css +1 -0
  699. package/themes/humanoid-dark.d.ts +1 -0
  700. package/themes/humanoid-dark.js +62 -0
  701. package/themes/humanoid-light.css +1 -0
  702. package/themes/humanoid-light.d.ts +1 -0
  703. package/themes/humanoid-light.js +62 -0
  704. package/themes/hybrid.css +1 -0
  705. package/themes/hybrid.d.ts +1 -0
  706. package/themes/hybrid.js +51 -0
  707. package/themes/ia-dark.css +1 -0
  708. package/themes/ia-dark.d.ts +1 -0
  709. package/themes/ia-dark.js +62 -0
  710. package/themes/ia-light.css +1 -0
  711. package/themes/ia-light.d.ts +1 -0
  712. package/themes/ia-light.js +62 -0
  713. package/themes/icy-dark.css +1 -0
  714. package/themes/icy-dark.d.ts +1 -0
  715. package/themes/icy-dark.js +62 -0
  716. package/themes/idea.css +1 -0
  717. package/themes/idea.d.ts +1 -0
  718. package/themes/idea.js +75 -0
  719. package/themes/index.d.ts +258 -0
  720. package/themes/index.js +256 -0
  721. package/themes/intellij-light.css +1 -0
  722. package/themes/intellij-light.d.ts +1 -0
  723. package/themes/intellij-light.js +63 -0
  724. package/themes/ir-black.css +1 -0
  725. package/themes/ir-black.d.ts +1 -0
  726. package/themes/ir-black.js +48 -0
  727. package/themes/isbl-editor-dark.css +1 -0
  728. package/themes/isbl-editor-dark.d.ts +1 -0
  729. package/themes/isbl-editor-dark.js +62 -0
  730. package/themes/isbl-editor-light.css +1 -0
  731. package/themes/isbl-editor-light.d.ts +1 -0
  732. package/themes/isbl-editor-light.js +62 -0
  733. package/themes/isotope.css +1 -0
  734. package/themes/isotope.d.ts +1 -0
  735. package/themes/isotope.js +62 -0
  736. package/themes/kimber.css +1 -0
  737. package/themes/kimber.d.ts +1 -0
  738. package/themes/kimber.js +62 -0
  739. package/themes/kimbie-dark.css +1 -0
  740. package/themes/kimbie-dark.d.ts +1 -0
  741. package/themes/kimbie-dark.js +47 -0
  742. package/themes/kimbie-light.css +1 -0
  743. package/themes/kimbie-light.d.ts +1 -0
  744. package/themes/kimbie-light.js +47 -0
  745. package/themes/lightfair.css +1 -0
  746. package/themes/lightfair.d.ts +1 -0
  747. package/themes/lightfair.js +54 -0
  748. package/themes/lioshi.css +1 -0
  749. package/themes/lioshi.d.ts +1 -0
  750. package/themes/lioshi.js +49 -0
  751. package/themes/london-tube.css +1 -0
  752. package/themes/london-tube.d.ts +1 -0
  753. package/themes/london-tube.js +62 -0
  754. package/themes/macintosh.css +1 -0
  755. package/themes/macintosh.d.ts +1 -0
  756. package/themes/macintosh.js +62 -0
  757. package/themes/magula.css +1 -0
  758. package/themes/magula.d.ts +1 -0
  759. package/themes/magula.js +56 -0
  760. package/themes/marrakesh.css +1 -0
  761. package/themes/marrakesh.d.ts +1 -0
  762. package/themes/marrakesh.js +62 -0
  763. package/themes/materia.css +1 -0
  764. package/themes/materia.d.ts +1 -0
  765. package/themes/materia.js +62 -0
  766. package/themes/material-darker.css +1 -0
  767. package/themes/material-darker.d.ts +1 -0
  768. package/themes/material-darker.js +62 -0
  769. package/themes/material-lighter.css +1 -0
  770. package/themes/material-lighter.d.ts +1 -0
  771. package/themes/material-lighter.js +62 -0
  772. package/themes/material-palenight.css +1 -0
  773. package/themes/material-palenight.d.ts +1 -0
  774. package/themes/material-palenight.js +62 -0
  775. package/themes/material-vivid.css +1 -0
  776. package/themes/material-vivid.d.ts +1 -0
  777. package/themes/material-vivid.js +62 -0
  778. package/themes/material.css +1 -0
  779. package/themes/material.d.ts +1 -0
  780. package/themes/material.js +62 -0
  781. package/themes/mellow-purple.css +1 -0
  782. package/themes/mellow-purple.d.ts +1 -0
  783. package/themes/mellow-purple.js +62 -0
  784. package/themes/mexico-light.css +1 -0
  785. package/themes/mexico-light.d.ts +1 -0
  786. package/themes/mexico-light.js +62 -0
  787. package/themes/mocha.css +1 -0
  788. package/themes/mocha.d.ts +1 -0
  789. package/themes/mocha.js +62 -0
  790. package/themes/mono-blue.css +1 -0
  791. package/themes/mono-blue.d.ts +1 -0
  792. package/themes/mono-blue.js +54 -0
  793. package/themes/monokai-sublime.css +1 -0
  794. package/themes/monokai-sublime.d.ts +1 -0
  795. package/themes/monokai-sublime.js +52 -0
  796. package/themes/monokai.css +1 -0
  797. package/themes/monokai.d.ts +1 -0
  798. package/themes/monokai.js +58 -0
  799. package/themes/nebula.css +1 -0
  800. package/themes/nebula.d.ts +1 -0
  801. package/themes/nebula.js +62 -0
  802. package/themes/night-owl.css +1 -0
  803. package/themes/night-owl.d.ts +1 -0
  804. package/themes/night-owl.js +64 -0
  805. package/themes/nnfx-dark.css +1 -0
  806. package/themes/nnfx-dark.d.ts +1 -0
  807. package/themes/nnfx-dark.js +74 -0
  808. package/themes/nnfx-light.css +1 -0
  809. package/themes/nnfx-light.d.ts +1 -0
  810. package/themes/nnfx-light.js +74 -0
  811. package/themes/nord.css +1 -0
  812. package/themes/nord.d.ts +1 -0
  813. package/themes/nord.js +59 -0
  814. package/themes/nova.css +1 -0
  815. package/themes/nova.d.ts +1 -0
  816. package/themes/nova.js +62 -0
  817. package/themes/obsidian.css +1 -0
  818. package/themes/obsidian.d.ts +1 -0
  819. package/themes/obsidian.js +58 -0
  820. package/themes/ocean.css +1 -0
  821. package/themes/ocean.d.ts +1 -0
  822. package/themes/ocean.js +62 -0
  823. package/themes/oceanicnext.css +1 -0
  824. package/themes/oceanicnext.d.ts +1 -0
  825. package/themes/oceanicnext.js +62 -0
  826. package/themes/one-light.css +1 -0
  827. package/themes/one-light.d.ts +1 -0
  828. package/themes/one-light.js +62 -0
  829. package/themes/onedark.css +1 -0
  830. package/themes/onedark.d.ts +1 -0
  831. package/themes/onedark.js +62 -0
  832. package/themes/outrun-dark.css +1 -0
  833. package/themes/outrun-dark.d.ts +1 -0
  834. package/themes/outrun-dark.js +62 -0
  835. package/themes/panda-syntax-dark.css +1 -0
  836. package/themes/panda-syntax-dark.d.ts +1 -0
  837. package/themes/panda-syntax-dark.js +59 -0
  838. package/themes/panda-syntax-light.css +1 -0
  839. package/themes/panda-syntax-light.d.ts +1 -0
  840. package/themes/panda-syntax-light.js +59 -0
  841. package/themes/papercolor-dark.css +1 -0
  842. package/themes/papercolor-dark.d.ts +1 -0
  843. package/themes/papercolor-dark.js +62 -0
  844. package/themes/papercolor-light.css +1 -0
  845. package/themes/papercolor-light.d.ts +1 -0
  846. package/themes/papercolor-light.js +62 -0
  847. package/themes/paraiso-dark.css +1 -0
  848. package/themes/paraiso-dark.d.ts +1 -0
  849. package/themes/paraiso-dark.js +45 -0
  850. package/themes/paraiso-light.css +1 -0
  851. package/themes/paraiso-light.d.ts +1 -0
  852. package/themes/paraiso-light.js +45 -0
  853. package/themes/paraiso.css +1 -0
  854. package/themes/paraiso.d.ts +1 -0
  855. package/themes/paraiso.js +62 -0
  856. package/themes/pasque.css +1 -0
  857. package/themes/pasque.d.ts +1 -0
  858. package/themes/pasque.js +62 -0
  859. package/themes/phd.css +1 -0
  860. package/themes/phd.d.ts +1 -0
  861. package/themes/phd.js +62 -0
  862. package/themes/pico.css +1 -0
  863. package/themes/pico.d.ts +1 -0
  864. package/themes/pico.js +62 -0
  865. package/themes/pojoaque.css +1 -0
  866. package/themes/pojoaque.d.ts +1 -0
  867. package/themes/pojoaque.js +54 -0
  868. package/themes/pop.css +1 -0
  869. package/themes/pop.d.ts +1 -0
  870. package/themes/pop.js +62 -0
  871. package/themes/porple.css +1 -0
  872. package/themes/porple.d.ts +1 -0
  873. package/themes/porple.js +62 -0
  874. package/themes/purebasic.css +1 -0
  875. package/themes/purebasic.d.ts +1 -0
  876. package/themes/purebasic.js +60 -0
  877. package/themes/qtcreator-dark.css +1 -0
  878. package/themes/qtcreator-dark.d.ts +1 -0
  879. package/themes/qtcreator-dark.js +55 -0
  880. package/themes/qtcreator-light.css +1 -0
  881. package/themes/qtcreator-light.d.ts +1 -0
  882. package/themes/qtcreator-light.js +55 -0
  883. package/themes/qualia.css +1 -0
  884. package/themes/qualia.d.ts +1 -0
  885. package/themes/qualia.js +62 -0
  886. package/themes/railscasts.css +1 -0
  887. package/themes/railscasts.d.ts +1 -0
  888. package/themes/railscasts.js +62 -0
  889. package/themes/rainbow.css +1 -0
  890. package/themes/rainbow.d.ts +1 -0
  891. package/themes/rainbow.js +55 -0
  892. package/themes/rebecca.css +1 -0
  893. package/themes/rebecca.d.ts +1 -0
  894. package/themes/rebecca.js +62 -0
  895. package/themes/ros-pine-dawn.css +1 -0
  896. package/themes/ros-pine-dawn.d.ts +1 -0
  897. package/themes/ros-pine-dawn.js +62 -0
  898. package/themes/ros-pine-moon.css +1 -0
  899. package/themes/ros-pine-moon.d.ts +1 -0
  900. package/themes/ros-pine-moon.js +62 -0
  901. package/themes/ros-pine.css +1 -0
  902. package/themes/ros-pine.d.ts +1 -0
  903. package/themes/ros-pine.js +62 -0
  904. package/themes/rose-pine-dawn.css +1 -0
  905. package/themes/rose-pine-dawn.d.ts +1 -0
  906. package/themes/rose-pine-dawn.js +54 -0
  907. package/themes/rose-pine-moon.css +1 -0
  908. package/themes/rose-pine-moon.d.ts +1 -0
  909. package/themes/rose-pine-moon.js +54 -0
  910. package/themes/rose-pine.css +1 -0
  911. package/themes/rose-pine.d.ts +1 -0
  912. package/themes/rose-pine.js +54 -0
  913. package/themes/routeros.css +1 -0
  914. package/themes/routeros.d.ts +1 -0
  915. package/themes/routeros.js +57 -0
  916. package/themes/sagelight.css +1 -0
  917. package/themes/sagelight.d.ts +1 -0
  918. package/themes/sagelight.js +62 -0
  919. package/themes/sandcastle.css +1 -0
  920. package/themes/sandcastle.d.ts +1 -0
  921. package/themes/sandcastle.js +62 -0
  922. package/themes/school-book.css +1 -0
  923. package/themes/school-book.d.ts +1 -0
  924. package/themes/school-book.js +56 -0
  925. package/themes/seti-ui.css +1 -0
  926. package/themes/seti-ui.d.ts +1 -0
  927. package/themes/seti-ui.js +62 -0
  928. package/themes/shades-of-purple.css +1 -0
  929. package/themes/shades-of-purple.d.ts +1 -0
  930. package/themes/shades-of-purple.js +56 -0
  931. package/themes/shapeshifter.css +1 -0
  932. package/themes/shapeshifter.d.ts +1 -0
  933. package/themes/shapeshifter.js +62 -0
  934. package/themes/silk-dark.css +1 -0
  935. package/themes/silk-dark.d.ts +1 -0
  936. package/themes/silk-dark.js +62 -0
  937. package/themes/silk-light.css +1 -0
  938. package/themes/silk-light.d.ts +1 -0
  939. package/themes/silk-light.js +62 -0
  940. package/themes/snazzy.css +1 -0
  941. package/themes/snazzy.d.ts +1 -0
  942. package/themes/snazzy.js +62 -0
  943. package/themes/solar-flare-light.css +1 -0
  944. package/themes/solar-flare-light.d.ts +1 -0
  945. package/themes/solar-flare-light.js +62 -0
  946. package/themes/solar-flare.css +1 -0
  947. package/themes/solar-flare.d.ts +1 -0
  948. package/themes/solar-flare.js +62 -0
  949. package/themes/solarized-dark.css +1 -0
  950. package/themes/solarized-dark.d.ts +1 -0
  951. package/themes/solarized-dark.js +62 -0
  952. package/themes/solarized-light.css +1 -0
  953. package/themes/solarized-light.d.ts +1 -0
  954. package/themes/solarized-light.js +62 -0
  955. package/themes/spacemacs.css +1 -0
  956. package/themes/spacemacs.d.ts +1 -0
  957. package/themes/spacemacs.js +62 -0
  958. package/themes/srcery.css +1 -0
  959. package/themes/srcery.d.ts +1 -0
  960. package/themes/srcery.js +51 -0
  961. package/themes/stackoverflow-dark.css +1 -0
  962. package/themes/stackoverflow-dark.d.ts +1 -0
  963. package/themes/stackoverflow-dark.js +50 -0
  964. package/themes/stackoverflow-light.css +1 -0
  965. package/themes/stackoverflow-light.d.ts +1 -0
  966. package/themes/stackoverflow-light.js +50 -0
  967. package/themes/summercamp.css +1 -0
  968. package/themes/summercamp.d.ts +1 -0
  969. package/themes/summercamp.js +62 -0
  970. package/themes/summerfruit-dark.css +1 -0
  971. package/themes/summerfruit-dark.d.ts +1 -0
  972. package/themes/summerfruit-dark.js +62 -0
  973. package/themes/summerfruit-light.css +1 -0
  974. package/themes/summerfruit-light.d.ts +1 -0
  975. package/themes/summerfruit-light.js +62 -0
  976. package/themes/sunburst.css +1 -0
  977. package/themes/sunburst.d.ts +1 -0
  978. package/themes/sunburst.js +57 -0
  979. package/themes/synth-midnight-terminal-dark.css +1 -0
  980. package/themes/synth-midnight-terminal-dark.d.ts +1 -0
  981. package/themes/synth-midnight-terminal-dark.js +62 -0
  982. package/themes/synth-midnight-terminal-light.css +1 -0
  983. package/themes/synth-midnight-terminal-light.d.ts +1 -0
  984. package/themes/synth-midnight-terminal-light.js +62 -0
  985. package/themes/tango.css +1 -0
  986. package/themes/tango.d.ts +1 -0
  987. package/themes/tango.js +62 -0
  988. package/themes/tender.css +1 -0
  989. package/themes/tender.d.ts +1 -0
  990. package/themes/tender.js +62 -0
  991. package/themes/tokyo-night-dark.css +1 -0
  992. package/themes/tokyo-night-dark.d.ts +1 -0
  993. package/themes/tokyo-night-dark.js +54 -0
  994. package/themes/tokyo-night-light.css +1 -0
  995. package/themes/tokyo-night-light.d.ts +1 -0
  996. package/themes/tokyo-night-light.js +54 -0
  997. package/themes/tomorrow-night-blue.css +1 -0
  998. package/themes/tomorrow-night-blue.d.ts +1 -0
  999. package/themes/tomorrow-night-blue.js +45 -0
  1000. package/themes/tomorrow-night-bright.css +1 -0
  1001. package/themes/tomorrow-night-bright.d.ts +1 -0
  1002. package/themes/tomorrow-night-bright.js +45 -0
  1003. package/themes/tomorrow-night.css +1 -0
  1004. package/themes/tomorrow-night.d.ts +1 -0
  1005. package/themes/tomorrow-night.js +62 -0
  1006. package/themes/tomorrow.css +1 -0
  1007. package/themes/tomorrow.d.ts +1 -0
  1008. package/themes/tomorrow.js +62 -0
  1009. package/themes/twilight.css +1 -0
  1010. package/themes/twilight.d.ts +1 -0
  1011. package/themes/twilight.js +62 -0
  1012. package/themes/unikitty-dark.css +1 -0
  1013. package/themes/unikitty-dark.d.ts +1 -0
  1014. package/themes/unikitty-dark.js +62 -0
  1015. package/themes/unikitty-light.css +1 -0
  1016. package/themes/unikitty-light.d.ts +1 -0
  1017. package/themes/unikitty-light.js +62 -0
  1018. package/themes/vs.css +1 -0
  1019. package/themes/vs.d.ts +1 -0
  1020. package/themes/vs.js +45 -0
  1021. package/themes/vs2015.css +1 -0
  1022. package/themes/vs2015.d.ts +1 -0
  1023. package/themes/vs2015.js +59 -0
  1024. package/themes/vulcan.css +1 -0
  1025. package/themes/vulcan.d.ts +1 -0
  1026. package/themes/vulcan.js +62 -0
  1027. package/themes/windows-10-light.css +1 -0
  1028. package/themes/windows-10-light.d.ts +1 -0
  1029. package/themes/windows-10-light.js +62 -0
  1030. package/themes/windows-10.css +1 -0
  1031. package/themes/windows-10.d.ts +1 -0
  1032. package/themes/windows-10.js +62 -0
  1033. package/themes/windows-95-light.css +1 -0
  1034. package/themes/windows-95-light.d.ts +1 -0
  1035. package/themes/windows-95-light.js +62 -0
  1036. package/themes/windows-95.css +1 -0
  1037. package/themes/windows-95.d.ts +1 -0
  1038. package/themes/windows-95.js +62 -0
  1039. package/themes/windows-high-contrast-light.css +1 -0
  1040. package/themes/windows-high-contrast-light.d.ts +1 -0
  1041. package/themes/windows-high-contrast-light.js +62 -0
  1042. package/themes/windows-high-contrast.css +1 -0
  1043. package/themes/windows-high-contrast.d.ts +1 -0
  1044. package/themes/windows-high-contrast.js +62 -0
  1045. package/themes/windows-nt-light.css +1 -0
  1046. package/themes/windows-nt-light.d.ts +1 -0
  1047. package/themes/windows-nt-light.js +62 -0
  1048. package/themes/windows-nt.css +1 -0
  1049. package/themes/windows-nt.d.ts +1 -0
  1050. package/themes/windows-nt.js +62 -0
  1051. package/themes/woodland.css +1 -0
  1052. package/themes/woodland.d.ts +1 -0
  1053. package/themes/woodland.js +62 -0
  1054. package/themes/xcode-dusk.css +1 -0
  1055. package/themes/xcode-dusk.d.ts +1 -0
  1056. package/themes/xcode-dusk.js +62 -0
  1057. package/themes/xcode.css +1 -0
  1058. package/themes/xcode.d.ts +1 -0
  1059. package/themes/xcode.js +57 -0
  1060. package/themes/xt256.css +1 -0
  1061. package/themes/xt256.d.ts +1 -0
  1062. package/themes/xt256.js +56 -0
  1063. package/themes/zenburn.css +1 -0
  1064. package/themes/zenburn.d.ts +1 -0
  1065. package/themes/zenburn.js +62 -0
  1066. package/tokenized-document.d.ts +29 -0
  1067. package/tokenized-document.js +263 -0
  1068. package/token-ranges.d.ts +0 -18
  1069. package/token-ranges.js +0 -112
package/languages/cpp.js CHANGED
@@ -1,4 +1,2289 @@
1
- import register from "highlight.js/lib/languages/cpp";
2
-
3
- export const cpp = { name: "cpp", register };
1
+ /*!
2
+ * Grammar "cpp" derived from highlight.js 11.11.1 (BSD-3-Clause).
3
+ * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
+ */
5
+ export const cpp = /** @type {import("./index.d.ts").LanguageType<"cpp">} */ ({
6
+ name: "cpp",
7
+ aliases: ["cc", "c++", "h++", "hpp", "hh", "hxx", "cxx"],
8
+ register: {
9
+ name: "cpp",
10
+ caseInsensitive: false,
11
+ unicode: false,
12
+ disableAutodetect: false,
13
+ states: [
14
+ {
15
+ rules: [
16
+ 1, 31, 35, 39, 2, 2, 3, 17, 10, 57, 21, 22, 23, 25, 26, 3, 60, 61, 62,
17
+ ],
18
+ illegal: "</",
19
+ keywords: {
20
+ bool: ["type", 1],
21
+ char: ["type", 1],
22
+ char16_t: ["type", 1],
23
+ char32_t: ["type", 1],
24
+ char8_t: ["type", 1],
25
+ double: ["type", 1],
26
+ float: ["type", 1],
27
+ int: ["type", 1],
28
+ long: ["type", 1],
29
+ short: ["type", 1],
30
+ void: ["type", 1],
31
+ wchar_t: ["type", 1],
32
+ unsigned: ["type", 1],
33
+ signed: ["type", 1],
34
+ const: ["type", 1],
35
+ static: ["type", 1],
36
+ alignas: ["keyword", 1],
37
+ alignof: ["keyword", 1],
38
+ and: ["keyword", 0],
39
+ and_eq: ["keyword", 1],
40
+ asm: ["keyword", 1],
41
+ atomic_cancel: ["keyword", 1],
42
+ atomic_commit: ["keyword", 1],
43
+ atomic_noexcept: ["keyword", 1],
44
+ auto: ["keyword", 1],
45
+ bitand: ["keyword", 1],
46
+ bitor: ["keyword", 1],
47
+ break: ["keyword", 1],
48
+ case: ["keyword", 1],
49
+ catch: ["keyword", 1],
50
+ class: ["keyword", 1],
51
+ co_await: ["keyword", 1],
52
+ co_return: ["keyword", 1],
53
+ co_yield: ["keyword", 1],
54
+ compl: ["keyword", 1],
55
+ concept: ["keyword", 1],
56
+ const_cast: ["keyword", 10],
57
+ consteval: ["keyword", 1],
58
+ constexpr: ["keyword", 1],
59
+ constinit: ["keyword", 1],
60
+ continue: ["keyword", 1],
61
+ decltype: ["keyword", 1],
62
+ default: ["keyword", 1],
63
+ delete: ["keyword", 1],
64
+ do: ["keyword", 1],
65
+ dynamic_cast: ["keyword", 10],
66
+ else: ["keyword", 1],
67
+ enum: ["keyword", 1],
68
+ explicit: ["keyword", 1],
69
+ export: ["keyword", 1],
70
+ extern: ["keyword", 1],
71
+ false: ["literal", 1],
72
+ final: ["keyword", 1],
73
+ for: ["keyword", 0],
74
+ friend: ["keyword", 1],
75
+ goto: ["keyword", 1],
76
+ if: ["keyword", 0],
77
+ import: ["keyword", 1],
78
+ inline: ["keyword", 1],
79
+ module: ["keyword", 1],
80
+ mutable: ["keyword", 1],
81
+ namespace: ["keyword", 1],
82
+ "new": ["keyword", 1],
83
+ noexcept: ["keyword", 1],
84
+ not: ["keyword", 0],
85
+ not_eq: ["keyword", 1],
86
+ nullptr: ["literal", 1],
87
+ operator: ["keyword", 1],
88
+ or: ["keyword", 0],
89
+ or_eq: ["keyword", 1],
90
+ override: ["keyword", 1],
91
+ private: ["keyword", 1],
92
+ protected: ["keyword", 1],
93
+ public: ["keyword", 1],
94
+ reflexpr: ["keyword", 1],
95
+ register: ["keyword", 1],
96
+ reinterpret_cast: ["keyword", 10],
97
+ requires: ["keyword", 1],
98
+ return: ["keyword", 1],
99
+ sizeof: ["keyword", 1],
100
+ static_assert: ["keyword", 1],
101
+ static_cast: ["keyword", 10],
102
+ struct: ["keyword", 1],
103
+ switch: ["keyword", 1],
104
+ synchronized: ["keyword", 1],
105
+ template: ["keyword", 1],
106
+ this: ["keyword", 1],
107
+ thread_local: ["keyword", 1],
108
+ throw: ["keyword", 1],
109
+ transaction_safe: ["keyword", 1],
110
+ transaction_safe_dynamic: ["keyword", 1],
111
+ true: ["literal", 1],
112
+ try: ["keyword", 1],
113
+ typedef: ["keyword", 1],
114
+ typeid: ["keyword", 1],
115
+ typename: ["keyword", 1],
116
+ union: ["keyword", 1],
117
+ using: ["keyword", 1],
118
+ virtual: ["keyword", 1],
119
+ volatile: ["keyword", 1],
120
+ while: ["keyword", 1],
121
+ xor: ["keyword", 1],
122
+ xor_eq: ["keyword", 1],
123
+ NULL: ["literal", 1],
124
+ nullopt: ["literal", 1],
125
+ _Pragma: ["built_in", 1],
126
+ any: ["_type_hints", 1],
127
+ auto_ptr: ["_type_hints", 1],
128
+ barrier: ["_type_hints", 1],
129
+ binary_semaphore: ["_type_hints", 1],
130
+ bitset: ["_type_hints", 1],
131
+ complex: ["_type_hints", 1],
132
+ condition_variable: ["_type_hints", 1],
133
+ condition_variable_any: ["_type_hints", 1],
134
+ counting_semaphore: ["_type_hints", 1],
135
+ deque: ["_type_hints", 1],
136
+ false_type: ["_type_hints", 1],
137
+ flat_map: ["_type_hints", 1],
138
+ flat_set: ["_type_hints", 1],
139
+ future: ["_type_hints", 1],
140
+ imaginary: ["_type_hints", 1],
141
+ initializer_list: ["_type_hints", 1],
142
+ istringstream: ["_type_hints", 1],
143
+ jthread: ["_type_hints", 1],
144
+ latch: ["_type_hints", 1],
145
+ lock_guard: ["_type_hints", 1],
146
+ multimap: ["_type_hints", 1],
147
+ multiset: ["_type_hints", 1],
148
+ mutex: ["_type_hints", 1],
149
+ optional: ["_type_hints", 1],
150
+ ostringstream: ["_type_hints", 1],
151
+ packaged_task: ["_type_hints", 1],
152
+ pair: ["_type_hints", 1],
153
+ promise: ["_type_hints", 1],
154
+ priority_queue: ["_type_hints", 1],
155
+ queue: ["_type_hints", 1],
156
+ recursive_mutex: ["_type_hints", 1],
157
+ recursive_timed_mutex: ["_type_hints", 1],
158
+ scoped_lock: ["_type_hints", 1],
159
+ set: ["_type_hints", 1],
160
+ shared_future: ["_type_hints", 1],
161
+ shared_lock: ["_type_hints", 1],
162
+ shared_mutex: ["_type_hints", 1],
163
+ shared_timed_mutex: ["_type_hints", 1],
164
+ shared_ptr: ["_type_hints", 1],
165
+ stack: ["_type_hints", 1],
166
+ string_view: ["_type_hints", 1],
167
+ stringstream: ["_type_hints", 1],
168
+ timed_mutex: ["_type_hints", 1],
169
+ thread: ["_type_hints", 1],
170
+ true_type: ["_type_hints", 1],
171
+ tuple: ["_type_hints", 1],
172
+ unique_lock: ["_type_hints", 1],
173
+ unique_ptr: ["_type_hints", 1],
174
+ unordered_map: ["_type_hints", 1],
175
+ unordered_multimap: ["_type_hints", 1],
176
+ unordered_multiset: ["_type_hints", 1],
177
+ unordered_set: ["_type_hints", 1],
178
+ variant: ["_type_hints", 1],
179
+ vector: ["_type_hints", 1],
180
+ weak_ptr: ["_type_hints", 1],
181
+ wstring: ["_type_hints", 1],
182
+ wstring_view: ["_type_hints", 1],
183
+ },
184
+ keywordPattern: "\\w+",
185
+ },
186
+ {
187
+ relevance: 0,
188
+ rules: [2, 3, 17, 10, 18, 21, 22, 23, 25, 26, 27],
189
+ begin: "=",
190
+ end: ";",
191
+ keywords: {
192
+ bool: ["type", 1],
193
+ char: ["type", 1],
194
+ char16_t: ["type", 1],
195
+ char32_t: ["type", 1],
196
+ char8_t: ["type", 1],
197
+ double: ["type", 1],
198
+ float: ["type", 1],
199
+ int: ["type", 1],
200
+ long: ["type", 1],
201
+ short: ["type", 1],
202
+ void: ["type", 1],
203
+ wchar_t: ["type", 1],
204
+ unsigned: ["type", 1],
205
+ signed: ["type", 1],
206
+ const: ["type", 1],
207
+ static: ["type", 1],
208
+ alignas: ["keyword", 1],
209
+ alignof: ["keyword", 1],
210
+ and: ["keyword", 0],
211
+ and_eq: ["keyword", 1],
212
+ asm: ["keyword", 1],
213
+ atomic_cancel: ["keyword", 1],
214
+ atomic_commit: ["keyword", 1],
215
+ atomic_noexcept: ["keyword", 1],
216
+ auto: ["keyword", 1],
217
+ bitand: ["keyword", 1],
218
+ bitor: ["keyword", 1],
219
+ break: ["keyword", 1],
220
+ case: ["keyword", 1],
221
+ catch: ["keyword", 1],
222
+ class: ["keyword", 1],
223
+ co_await: ["keyword", 1],
224
+ co_return: ["keyword", 1],
225
+ co_yield: ["keyword", 1],
226
+ compl: ["keyword", 1],
227
+ concept: ["keyword", 1],
228
+ const_cast: ["keyword", 10],
229
+ consteval: ["keyword", 1],
230
+ constexpr: ["keyword", 1],
231
+ constinit: ["keyword", 1],
232
+ continue: ["keyword", 1],
233
+ decltype: ["keyword", 1],
234
+ default: ["keyword", 1],
235
+ delete: ["keyword", 1],
236
+ do: ["keyword", 1],
237
+ dynamic_cast: ["keyword", 10],
238
+ else: ["keyword", 1],
239
+ enum: ["keyword", 1],
240
+ explicit: ["keyword", 1],
241
+ export: ["keyword", 1],
242
+ extern: ["keyword", 1],
243
+ false: ["literal", 1],
244
+ final: ["keyword", 1],
245
+ for: ["keyword", 0],
246
+ friend: ["keyword", 1],
247
+ goto: ["keyword", 1],
248
+ if: ["keyword", 0],
249
+ import: ["keyword", 1],
250
+ inline: ["keyword", 1],
251
+ module: ["keyword", 1],
252
+ mutable: ["keyword", 1],
253
+ namespace: ["keyword", 1],
254
+ "new": ["keyword", 1],
255
+ noexcept: ["keyword", 1],
256
+ not: ["keyword", 0],
257
+ not_eq: ["keyword", 1],
258
+ nullptr: ["literal", 1],
259
+ operator: ["keyword", 1],
260
+ or: ["keyword", 0],
261
+ or_eq: ["keyword", 1],
262
+ override: ["keyword", 1],
263
+ private: ["keyword", 1],
264
+ protected: ["keyword", 1],
265
+ public: ["keyword", 1],
266
+ reflexpr: ["keyword", 1],
267
+ register: ["keyword", 1],
268
+ reinterpret_cast: ["keyword", 10],
269
+ requires: ["keyword", 1],
270
+ return: ["keyword", 1],
271
+ sizeof: ["keyword", 1],
272
+ static_assert: ["keyword", 1],
273
+ static_cast: ["keyword", 10],
274
+ struct: ["keyword", 1],
275
+ switch: ["keyword", 1],
276
+ synchronized: ["keyword", 1],
277
+ template: ["keyword", 1],
278
+ this: ["keyword", 1],
279
+ thread_local: ["keyword", 1],
280
+ throw: ["keyword", 1],
281
+ transaction_safe: ["keyword", 1],
282
+ transaction_safe_dynamic: ["keyword", 1],
283
+ true: ["literal", 1],
284
+ try: ["keyword", 1],
285
+ typedef: ["keyword", 1],
286
+ typeid: ["keyword", 1],
287
+ typename: ["keyword", 1],
288
+ union: ["keyword", 1],
289
+ using: ["keyword", 1],
290
+ virtual: ["keyword", 1],
291
+ volatile: ["keyword", 1],
292
+ while: ["keyword", 1],
293
+ xor: ["keyword", 1],
294
+ xor_eq: ["keyword", 1],
295
+ NULL: ["literal", 1],
296
+ nullopt: ["literal", 1],
297
+ _Pragma: ["built_in", 1],
298
+ any: ["_type_hints", 1],
299
+ auto_ptr: ["_type_hints", 1],
300
+ barrier: ["_type_hints", 1],
301
+ binary_semaphore: ["_type_hints", 1],
302
+ bitset: ["_type_hints", 1],
303
+ complex: ["_type_hints", 1],
304
+ condition_variable: ["_type_hints", 1],
305
+ condition_variable_any: ["_type_hints", 1],
306
+ counting_semaphore: ["_type_hints", 1],
307
+ deque: ["_type_hints", 1],
308
+ false_type: ["_type_hints", 1],
309
+ flat_map: ["_type_hints", 1],
310
+ flat_set: ["_type_hints", 1],
311
+ future: ["_type_hints", 1],
312
+ imaginary: ["_type_hints", 1],
313
+ initializer_list: ["_type_hints", 1],
314
+ istringstream: ["_type_hints", 1],
315
+ jthread: ["_type_hints", 1],
316
+ latch: ["_type_hints", 1],
317
+ lock_guard: ["_type_hints", 1],
318
+ multimap: ["_type_hints", 1],
319
+ multiset: ["_type_hints", 1],
320
+ mutex: ["_type_hints", 1],
321
+ optional: ["_type_hints", 1],
322
+ ostringstream: ["_type_hints", 1],
323
+ packaged_task: ["_type_hints", 1],
324
+ pair: ["_type_hints", 1],
325
+ promise: ["_type_hints", 1],
326
+ priority_queue: ["_type_hints", 1],
327
+ queue: ["_type_hints", 1],
328
+ recursive_mutex: ["_type_hints", 1],
329
+ recursive_timed_mutex: ["_type_hints", 1],
330
+ scoped_lock: ["_type_hints", 1],
331
+ set: ["_type_hints", 1],
332
+ shared_future: ["_type_hints", 1],
333
+ shared_lock: ["_type_hints", 1],
334
+ shared_mutex: ["_type_hints", 1],
335
+ shared_timed_mutex: ["_type_hints", 1],
336
+ shared_ptr: ["_type_hints", 1],
337
+ stack: ["_type_hints", 1],
338
+ string_view: ["_type_hints", 1],
339
+ stringstream: ["_type_hints", 1],
340
+ timed_mutex: ["_type_hints", 1],
341
+ thread: ["_type_hints", 1],
342
+ true_type: ["_type_hints", 1],
343
+ tuple: ["_type_hints", 1],
344
+ unique_lock: ["_type_hints", 1],
345
+ unique_ptr: ["_type_hints", 1],
346
+ unordered_map: ["_type_hints", 1],
347
+ unordered_multimap: ["_type_hints", 1],
348
+ unordered_multiset: ["_type_hints", 1],
349
+ unordered_set: ["_type_hints", 1],
350
+ variant: ["_type_hints", 1],
351
+ vector: ["_type_hints", 1],
352
+ weak_ptr: ["_type_hints", 1],
353
+ wstring: ["_type_hints", 1],
354
+ wstring_view: ["_type_hints", 1],
355
+ },
356
+ keywordPattern: "\\w+",
357
+ },
358
+ {
359
+ relevance: 0,
360
+ rules: [],
361
+ scope: "built_in",
362
+ begin:
363
+ "\\b(?!decltype)(?!if)(?!for)(?!switch)(?!while)[a-zA-Z]\\w*(?=(<[^<>]+>|)\\s*\\()",
364
+ end: "\\B|\\b",
365
+ keywords: {
366
+ abort: ["_hint", 1],
367
+ abs: ["_hint", 1],
368
+ acos: ["_hint", 1],
369
+ apply: ["_hint", 1],
370
+ as_const: ["_hint", 1],
371
+ asin: ["_hint", 1],
372
+ atan: ["_hint", 1],
373
+ atan2: ["_hint", 1],
374
+ calloc: ["_hint", 1],
375
+ ceil: ["_hint", 1],
376
+ cerr: ["_hint", 1],
377
+ cin: ["_hint", 1],
378
+ clog: ["_hint", 1],
379
+ cos: ["_hint", 1],
380
+ cosh: ["_hint", 1],
381
+ cout: ["_hint", 1],
382
+ declval: ["_hint", 1],
383
+ endl: ["_hint", 1],
384
+ exchange: ["_hint", 1],
385
+ exit: ["_hint", 1],
386
+ exp: ["_hint", 1],
387
+ fabs: ["_hint", 1],
388
+ floor: ["_hint", 1],
389
+ fmod: ["_hint", 1],
390
+ forward: ["_hint", 1],
391
+ fprintf: ["_hint", 1],
392
+ fputs: ["_hint", 1],
393
+ free: ["_hint", 1],
394
+ frexp: ["_hint", 1],
395
+ fscanf: ["_hint", 1],
396
+ future: ["_hint", 1],
397
+ invoke: ["_hint", 1],
398
+ isalnum: ["_hint", 1],
399
+ isalpha: ["_hint", 1],
400
+ iscntrl: ["_hint", 1],
401
+ isdigit: ["_hint", 1],
402
+ isgraph: ["_hint", 1],
403
+ islower: ["_hint", 1],
404
+ isprint: ["_hint", 1],
405
+ ispunct: ["_hint", 1],
406
+ isspace: ["_hint", 1],
407
+ isupper: ["_hint", 1],
408
+ isxdigit: ["_hint", 1],
409
+ labs: ["_hint", 1],
410
+ launder: ["_hint", 1],
411
+ ldexp: ["_hint", 1],
412
+ log: ["_hint", 1],
413
+ log10: ["_hint", 1],
414
+ make_pair: ["_hint", 1],
415
+ make_shared: ["_hint", 1],
416
+ make_shared_for_overwrite: ["_hint", 1],
417
+ make_tuple: ["_hint", 1],
418
+ make_unique: ["_hint", 1],
419
+ malloc: ["_hint", 1],
420
+ memchr: ["_hint", 1],
421
+ memcmp: ["_hint", 1],
422
+ memcpy: ["_hint", 1],
423
+ memset: ["_hint", 1],
424
+ modf: ["_hint", 1],
425
+ move: ["_hint", 1],
426
+ pow: ["_hint", 1],
427
+ printf: ["_hint", 1],
428
+ putchar: ["_hint", 1],
429
+ puts: ["_hint", 1],
430
+ realloc: ["_hint", 1],
431
+ scanf: ["_hint", 1],
432
+ sin: ["_hint", 1],
433
+ sinh: ["_hint", 1],
434
+ snprintf: ["_hint", 1],
435
+ sprintf: ["_hint", 1],
436
+ sqrt: ["_hint", 1],
437
+ sscanf: ["_hint", 1],
438
+ std: ["_hint", 1],
439
+ stderr: ["_hint", 1],
440
+ stdin: ["_hint", 1],
441
+ stdout: ["_hint", 1],
442
+ strcat: ["_hint", 1],
443
+ strchr: ["_hint", 1],
444
+ strcmp: ["_hint", 1],
445
+ strcpy: ["_hint", 1],
446
+ strcspn: ["_hint", 1],
447
+ strlen: ["_hint", 1],
448
+ strncat: ["_hint", 1],
449
+ strncmp: ["_hint", 1],
450
+ strncpy: ["_hint", 1],
451
+ strpbrk: ["_hint", 1],
452
+ strrchr: ["_hint", 1],
453
+ strspn: ["_hint", 1],
454
+ strstr: ["_hint", 1],
455
+ swap: ["_hint", 1],
456
+ tan: ["_hint", 1],
457
+ tanh: ["_hint", 1],
458
+ terminate: ["_hint", 1],
459
+ to_underlying: ["_hint", 1],
460
+ tolower: ["_hint", 1],
461
+ toupper: ["_hint", 1],
462
+ vfprintf: ["_hint", 1],
463
+ visit: ["_hint", 1],
464
+ vprintf: ["_hint", 1],
465
+ vsprintf: ["_hint", 1],
466
+ },
467
+ keywordPattern: "\\w+",
468
+ },
469
+ {
470
+ rules: [4, 5, 7, 8, 9, 10, 14],
471
+ scope: "meta",
472
+ begin: "#\\s*[a-z]+\\b",
473
+ end: "$",
474
+ keywords: {
475
+ if: ["keyword", 0],
476
+ else: ["keyword", 1],
477
+ elif: ["keyword", 1],
478
+ endif: ["keyword", 1],
479
+ define: ["keyword", 1],
480
+ undef: ["keyword", 1],
481
+ warning: ["keyword", 1],
482
+ error: ["keyword", 1],
483
+ line: ["keyword", 1],
484
+ pragma: ["keyword", 1],
485
+ _Pragma: ["keyword", 1],
486
+ ifdef: ["keyword", 1],
487
+ ifndef: ["keyword", 1],
488
+ include: ["keyword", 1],
489
+ },
490
+ keywordPattern: "\\w+",
491
+ },
492
+ { relevance: 0, rules: [], begin: "\\\\\\n", end: "\\B|\\b" },
493
+ {
494
+ rules: [6],
495
+ scope: "string",
496
+ begin: '(u8?|U|L)?"',
497
+ end: '"',
498
+ illegal: "\\n",
499
+ },
500
+ { relevance: 0, rules: [], begin: "\\\\[\\s\\S]", end: "\\B|\\b" },
501
+ {
502
+ rules: [],
503
+ scope: "string",
504
+ begin:
505
+ "(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
506
+ end: "'",
507
+ illegal: ".",
508
+ },
509
+ {
510
+ rules: [],
511
+ scope: "string",
512
+ begin: '(?:u8?|U|L)?R"([^()\\\\ ]{0,16})\\(',
513
+ end: '\\)([^()\\\\ ]{0,16})"',
514
+ endSameAsBegin: true,
515
+ },
516
+ { rules: [], scope: "string", begin: "<.*?>", end: "\\B|\\b" },
517
+ { rules: [11, 12, 13], scope: "comment", begin: "//", end: "$" },
518
+ { rules: [], begin: "\\\\\\n", end: "\\B|\\b" },
519
+ {
520
+ relevance: 0,
521
+ rules: [],
522
+ scope: "doctag",
523
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
524
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
525
+ excludeBegin: true,
526
+ },
527
+ {
528
+ rules: [],
529
+ begin:
530
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
531
+ end: "\\B|\\b",
532
+ },
533
+ { rules: [15, 16], scope: "comment", begin: "/\\*", end: "\\*/" },
534
+ {
535
+ relevance: 0,
536
+ rules: [],
537
+ scope: "doctag",
538
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
539
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
540
+ excludeBegin: true,
541
+ },
542
+ {
543
+ rules: [],
544
+ begin:
545
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
546
+ end: "\\B|\\b",
547
+ },
548
+ { rules: [], scope: "type", begin: "\\b[a-z\\d_]*_t\\b", end: "\\B|\\b" },
549
+ { rules: [19, 20], scope: "comment", begin: "/\\*", end: "\\*/" },
550
+ {
551
+ relevance: 0,
552
+ rules: [],
553
+ scope: "doctag",
554
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
555
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
556
+ excludeBegin: true,
557
+ },
558
+ {
559
+ rules: [],
560
+ begin:
561
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
562
+ end: "\\B|\\b",
563
+ },
564
+ {
565
+ relevance: 0,
566
+ rules: [],
567
+ scope: "number",
568
+ begin:
569
+ "[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)",
570
+ end: "\\B|\\b",
571
+ },
572
+ {
573
+ relevance: 0,
574
+ rules: [],
575
+ scope: "number",
576
+ begin:
577
+ "[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)",
578
+ end: "\\B|\\b",
579
+ },
580
+ {
581
+ rules: [24],
582
+ scope: "string",
583
+ begin: '(u8?|U|L)?"',
584
+ end: '"',
585
+ illegal: "\\n",
586
+ },
587
+ { relevance: 0, rules: [], begin: "\\\\[\\s\\S]", end: "\\B|\\b" },
588
+ {
589
+ rules: [],
590
+ scope: "string",
591
+ begin:
592
+ "(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
593
+ end: "'",
594
+ illegal: ".",
595
+ },
596
+ {
597
+ rules: [],
598
+ scope: "string",
599
+ begin: '(?:u8?|U|L)?R"([^()\\\\ ]{0,16})\\(',
600
+ end: '\\)([^()\\\\ ]{0,16})"',
601
+ endSameAsBegin: true,
602
+ },
603
+ {
604
+ relevance: 0,
605
+ rules: [2, 3, 17, 10, 28, 21, 22, 23, 25, 26, 27],
606
+ begin: "\\(",
607
+ end: "\\)",
608
+ keywords: {
609
+ bool: ["type", 1],
610
+ char: ["type", 1],
611
+ char16_t: ["type", 1],
612
+ char32_t: ["type", 1],
613
+ char8_t: ["type", 1],
614
+ double: ["type", 1],
615
+ float: ["type", 1],
616
+ int: ["type", 1],
617
+ long: ["type", 1],
618
+ short: ["type", 1],
619
+ void: ["type", 1],
620
+ wchar_t: ["type", 1],
621
+ unsigned: ["type", 1],
622
+ signed: ["type", 1],
623
+ const: ["type", 1],
624
+ static: ["type", 1],
625
+ alignas: ["keyword", 1],
626
+ alignof: ["keyword", 1],
627
+ and: ["keyword", 0],
628
+ and_eq: ["keyword", 1],
629
+ asm: ["keyword", 1],
630
+ atomic_cancel: ["keyword", 1],
631
+ atomic_commit: ["keyword", 1],
632
+ atomic_noexcept: ["keyword", 1],
633
+ auto: ["keyword", 1],
634
+ bitand: ["keyword", 1],
635
+ bitor: ["keyword", 1],
636
+ break: ["keyword", 1],
637
+ case: ["keyword", 1],
638
+ catch: ["keyword", 1],
639
+ class: ["keyword", 1],
640
+ co_await: ["keyword", 1],
641
+ co_return: ["keyword", 1],
642
+ co_yield: ["keyword", 1],
643
+ compl: ["keyword", 1],
644
+ concept: ["keyword", 1],
645
+ const_cast: ["keyword", 10],
646
+ consteval: ["keyword", 1],
647
+ constexpr: ["keyword", 1],
648
+ constinit: ["keyword", 1],
649
+ continue: ["keyword", 1],
650
+ decltype: ["keyword", 1],
651
+ default: ["keyword", 1],
652
+ delete: ["keyword", 1],
653
+ do: ["keyword", 1],
654
+ dynamic_cast: ["keyword", 10],
655
+ else: ["keyword", 1],
656
+ enum: ["keyword", 1],
657
+ explicit: ["keyword", 1],
658
+ export: ["keyword", 1],
659
+ extern: ["keyword", 1],
660
+ false: ["literal", 1],
661
+ final: ["keyword", 1],
662
+ for: ["keyword", 0],
663
+ friend: ["keyword", 1],
664
+ goto: ["keyword", 1],
665
+ if: ["keyword", 0],
666
+ import: ["keyword", 1],
667
+ inline: ["keyword", 1],
668
+ module: ["keyword", 1],
669
+ mutable: ["keyword", 1],
670
+ namespace: ["keyword", 1],
671
+ "new": ["keyword", 1],
672
+ noexcept: ["keyword", 1],
673
+ not: ["keyword", 0],
674
+ not_eq: ["keyword", 1],
675
+ nullptr: ["literal", 1],
676
+ operator: ["keyword", 1],
677
+ or: ["keyword", 0],
678
+ or_eq: ["keyword", 1],
679
+ override: ["keyword", 1],
680
+ private: ["keyword", 1],
681
+ protected: ["keyword", 1],
682
+ public: ["keyword", 1],
683
+ reflexpr: ["keyword", 1],
684
+ register: ["keyword", 1],
685
+ reinterpret_cast: ["keyword", 10],
686
+ requires: ["keyword", 1],
687
+ return: ["keyword", 1],
688
+ sizeof: ["keyword", 1],
689
+ static_assert: ["keyword", 1],
690
+ static_cast: ["keyword", 10],
691
+ struct: ["keyword", 1],
692
+ switch: ["keyword", 1],
693
+ synchronized: ["keyword", 1],
694
+ template: ["keyword", 1],
695
+ this: ["keyword", 1],
696
+ thread_local: ["keyword", 1],
697
+ throw: ["keyword", 1],
698
+ transaction_safe: ["keyword", 1],
699
+ transaction_safe_dynamic: ["keyword", 1],
700
+ true: ["literal", 1],
701
+ try: ["keyword", 1],
702
+ typedef: ["keyword", 1],
703
+ typeid: ["keyword", 1],
704
+ typename: ["keyword", 1],
705
+ union: ["keyword", 1],
706
+ using: ["keyword", 1],
707
+ virtual: ["keyword", 1],
708
+ volatile: ["keyword", 1],
709
+ while: ["keyword", 1],
710
+ xor: ["keyword", 1],
711
+ xor_eq: ["keyword", 1],
712
+ NULL: ["literal", 1],
713
+ nullopt: ["literal", 1],
714
+ _Pragma: ["built_in", 1],
715
+ any: ["_type_hints", 1],
716
+ auto_ptr: ["_type_hints", 1],
717
+ barrier: ["_type_hints", 1],
718
+ binary_semaphore: ["_type_hints", 1],
719
+ bitset: ["_type_hints", 1],
720
+ complex: ["_type_hints", 1],
721
+ condition_variable: ["_type_hints", 1],
722
+ condition_variable_any: ["_type_hints", 1],
723
+ counting_semaphore: ["_type_hints", 1],
724
+ deque: ["_type_hints", 1],
725
+ false_type: ["_type_hints", 1],
726
+ flat_map: ["_type_hints", 1],
727
+ flat_set: ["_type_hints", 1],
728
+ future: ["_type_hints", 1],
729
+ imaginary: ["_type_hints", 1],
730
+ initializer_list: ["_type_hints", 1],
731
+ istringstream: ["_type_hints", 1],
732
+ jthread: ["_type_hints", 1],
733
+ latch: ["_type_hints", 1],
734
+ lock_guard: ["_type_hints", 1],
735
+ multimap: ["_type_hints", 1],
736
+ multiset: ["_type_hints", 1],
737
+ mutex: ["_type_hints", 1],
738
+ optional: ["_type_hints", 1],
739
+ ostringstream: ["_type_hints", 1],
740
+ packaged_task: ["_type_hints", 1],
741
+ pair: ["_type_hints", 1],
742
+ promise: ["_type_hints", 1],
743
+ priority_queue: ["_type_hints", 1],
744
+ queue: ["_type_hints", 1],
745
+ recursive_mutex: ["_type_hints", 1],
746
+ recursive_timed_mutex: ["_type_hints", 1],
747
+ scoped_lock: ["_type_hints", 1],
748
+ set: ["_type_hints", 1],
749
+ shared_future: ["_type_hints", 1],
750
+ shared_lock: ["_type_hints", 1],
751
+ shared_mutex: ["_type_hints", 1],
752
+ shared_timed_mutex: ["_type_hints", 1],
753
+ shared_ptr: ["_type_hints", 1],
754
+ stack: ["_type_hints", 1],
755
+ string_view: ["_type_hints", 1],
756
+ stringstream: ["_type_hints", 1],
757
+ timed_mutex: ["_type_hints", 1],
758
+ thread: ["_type_hints", 1],
759
+ true_type: ["_type_hints", 1],
760
+ tuple: ["_type_hints", 1],
761
+ unique_lock: ["_type_hints", 1],
762
+ unique_ptr: ["_type_hints", 1],
763
+ unordered_map: ["_type_hints", 1],
764
+ unordered_multimap: ["_type_hints", 1],
765
+ unordered_multiset: ["_type_hints", 1],
766
+ unordered_set: ["_type_hints", 1],
767
+ variant: ["_type_hints", 1],
768
+ vector: ["_type_hints", 1],
769
+ weak_ptr: ["_type_hints", 1],
770
+ wstring: ["_type_hints", 1],
771
+ wstring_view: ["_type_hints", 1],
772
+ },
773
+ keywordPattern: "\\w+",
774
+ },
775
+ { rules: [29, 30], scope: "comment", begin: "/\\*", end: "\\*/" },
776
+ {
777
+ relevance: 0,
778
+ rules: [],
779
+ scope: "doctag",
780
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
781
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
782
+ excludeBegin: true,
783
+ },
784
+ {
785
+ rules: [],
786
+ begin:
787
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
788
+ end: "\\B|\\b",
789
+ },
790
+ {
791
+ relevance: 0,
792
+ rules: [2, 3, 17, 10, 32, 21, 22, 23, 25, 26, 27],
793
+ begin: "\\(",
794
+ end: "\\)",
795
+ keywords: {
796
+ bool: ["type", 1],
797
+ char: ["type", 1],
798
+ char16_t: ["type", 1],
799
+ char32_t: ["type", 1],
800
+ char8_t: ["type", 1],
801
+ double: ["type", 1],
802
+ float: ["type", 1],
803
+ int: ["type", 1],
804
+ long: ["type", 1],
805
+ short: ["type", 1],
806
+ void: ["type", 1],
807
+ wchar_t: ["type", 1],
808
+ unsigned: ["type", 1],
809
+ signed: ["type", 1],
810
+ const: ["type", 1],
811
+ static: ["type", 1],
812
+ alignas: ["keyword", 1],
813
+ alignof: ["keyword", 1],
814
+ and: ["keyword", 0],
815
+ and_eq: ["keyword", 1],
816
+ asm: ["keyword", 1],
817
+ atomic_cancel: ["keyword", 1],
818
+ atomic_commit: ["keyword", 1],
819
+ atomic_noexcept: ["keyword", 1],
820
+ auto: ["keyword", 1],
821
+ bitand: ["keyword", 1],
822
+ bitor: ["keyword", 1],
823
+ break: ["keyword", 1],
824
+ case: ["keyword", 1],
825
+ catch: ["keyword", 1],
826
+ class: ["keyword", 1],
827
+ co_await: ["keyword", 1],
828
+ co_return: ["keyword", 1],
829
+ co_yield: ["keyword", 1],
830
+ compl: ["keyword", 1],
831
+ concept: ["keyword", 1],
832
+ const_cast: ["keyword", 10],
833
+ consteval: ["keyword", 1],
834
+ constexpr: ["keyword", 1],
835
+ constinit: ["keyword", 1],
836
+ continue: ["keyword", 1],
837
+ decltype: ["keyword", 1],
838
+ default: ["keyword", 1],
839
+ delete: ["keyword", 1],
840
+ do: ["keyword", 1],
841
+ dynamic_cast: ["keyword", 10],
842
+ else: ["keyword", 1],
843
+ enum: ["keyword", 1],
844
+ explicit: ["keyword", 1],
845
+ export: ["keyword", 1],
846
+ extern: ["keyword", 1],
847
+ false: ["literal", 1],
848
+ final: ["keyword", 1],
849
+ for: ["keyword", 0],
850
+ friend: ["keyword", 1],
851
+ goto: ["keyword", 1],
852
+ if: ["keyword", 0],
853
+ import: ["keyword", 1],
854
+ inline: ["keyword", 1],
855
+ module: ["keyword", 1],
856
+ mutable: ["keyword", 1],
857
+ namespace: ["keyword", 1],
858
+ "new": ["keyword", 1],
859
+ noexcept: ["keyword", 1],
860
+ not: ["keyword", 0],
861
+ not_eq: ["keyword", 1],
862
+ nullptr: ["literal", 1],
863
+ operator: ["keyword", 1],
864
+ or: ["keyword", 0],
865
+ or_eq: ["keyword", 1],
866
+ override: ["keyword", 1],
867
+ private: ["keyword", 1],
868
+ protected: ["keyword", 1],
869
+ public: ["keyword", 1],
870
+ reflexpr: ["keyword", 1],
871
+ register: ["keyword", 1],
872
+ reinterpret_cast: ["keyword", 10],
873
+ requires: ["keyword", 1],
874
+ return: ["keyword", 1],
875
+ sizeof: ["keyword", 1],
876
+ static_assert: ["keyword", 1],
877
+ static_cast: ["keyword", 10],
878
+ struct: ["keyword", 1],
879
+ switch: ["keyword", 1],
880
+ synchronized: ["keyword", 1],
881
+ template: ["keyword", 1],
882
+ this: ["keyword", 1],
883
+ thread_local: ["keyword", 1],
884
+ throw: ["keyword", 1],
885
+ transaction_safe: ["keyword", 1],
886
+ transaction_safe_dynamic: ["keyword", 1],
887
+ true: ["literal", 1],
888
+ try: ["keyword", 1],
889
+ typedef: ["keyword", 1],
890
+ typeid: ["keyword", 1],
891
+ typename: ["keyword", 1],
892
+ union: ["keyword", 1],
893
+ using: ["keyword", 1],
894
+ virtual: ["keyword", 1],
895
+ volatile: ["keyword", 1],
896
+ while: ["keyword", 1],
897
+ xor: ["keyword", 1],
898
+ xor_eq: ["keyword", 1],
899
+ NULL: ["literal", 1],
900
+ nullopt: ["literal", 1],
901
+ _Pragma: ["built_in", 1],
902
+ any: ["_type_hints", 1],
903
+ auto_ptr: ["_type_hints", 1],
904
+ barrier: ["_type_hints", 1],
905
+ binary_semaphore: ["_type_hints", 1],
906
+ bitset: ["_type_hints", 1],
907
+ complex: ["_type_hints", 1],
908
+ condition_variable: ["_type_hints", 1],
909
+ condition_variable_any: ["_type_hints", 1],
910
+ counting_semaphore: ["_type_hints", 1],
911
+ deque: ["_type_hints", 1],
912
+ false_type: ["_type_hints", 1],
913
+ flat_map: ["_type_hints", 1],
914
+ flat_set: ["_type_hints", 1],
915
+ future: ["_type_hints", 1],
916
+ imaginary: ["_type_hints", 1],
917
+ initializer_list: ["_type_hints", 1],
918
+ istringstream: ["_type_hints", 1],
919
+ jthread: ["_type_hints", 1],
920
+ latch: ["_type_hints", 1],
921
+ lock_guard: ["_type_hints", 1],
922
+ multimap: ["_type_hints", 1],
923
+ multiset: ["_type_hints", 1],
924
+ mutex: ["_type_hints", 1],
925
+ optional: ["_type_hints", 1],
926
+ ostringstream: ["_type_hints", 1],
927
+ packaged_task: ["_type_hints", 1],
928
+ pair: ["_type_hints", 1],
929
+ promise: ["_type_hints", 1],
930
+ priority_queue: ["_type_hints", 1],
931
+ queue: ["_type_hints", 1],
932
+ recursive_mutex: ["_type_hints", 1],
933
+ recursive_timed_mutex: ["_type_hints", 1],
934
+ scoped_lock: ["_type_hints", 1],
935
+ set: ["_type_hints", 1],
936
+ shared_future: ["_type_hints", 1],
937
+ shared_lock: ["_type_hints", 1],
938
+ shared_mutex: ["_type_hints", 1],
939
+ shared_timed_mutex: ["_type_hints", 1],
940
+ shared_ptr: ["_type_hints", 1],
941
+ stack: ["_type_hints", 1],
942
+ string_view: ["_type_hints", 1],
943
+ stringstream: ["_type_hints", 1],
944
+ timed_mutex: ["_type_hints", 1],
945
+ thread: ["_type_hints", 1],
946
+ true_type: ["_type_hints", 1],
947
+ tuple: ["_type_hints", 1],
948
+ unique_lock: ["_type_hints", 1],
949
+ unique_ptr: ["_type_hints", 1],
950
+ unordered_map: ["_type_hints", 1],
951
+ unordered_multimap: ["_type_hints", 1],
952
+ unordered_multiset: ["_type_hints", 1],
953
+ unordered_set: ["_type_hints", 1],
954
+ variant: ["_type_hints", 1],
955
+ vector: ["_type_hints", 1],
956
+ weak_ptr: ["_type_hints", 1],
957
+ wstring: ["_type_hints", 1],
958
+ wstring_view: ["_type_hints", 1],
959
+ },
960
+ keywordPattern: "\\w+",
961
+ },
962
+ { rules: [33, 34], scope: "comment", begin: "/\\*", end: "\\*/" },
963
+ {
964
+ relevance: 0,
965
+ rules: [],
966
+ scope: "doctag",
967
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
968
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
969
+ excludeBegin: true,
970
+ },
971
+ {
972
+ rules: [],
973
+ begin:
974
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
975
+ end: "\\B|\\b",
976
+ },
977
+ {
978
+ relevance: 0,
979
+ rules: [2, 3, 17, 10, 36, 21, 22, 23, 25, 26, 27],
980
+ begin: "\\b(new|throw|return|else)(?!\\.)(?=\\b|\\s)",
981
+ end: ";",
982
+ keywords: {
983
+ bool: ["type", 1],
984
+ char: ["type", 1],
985
+ char16_t: ["type", 1],
986
+ char32_t: ["type", 1],
987
+ char8_t: ["type", 1],
988
+ double: ["type", 1],
989
+ float: ["type", 1],
990
+ int: ["type", 1],
991
+ long: ["type", 1],
992
+ short: ["type", 1],
993
+ void: ["type", 1],
994
+ wchar_t: ["type", 1],
995
+ unsigned: ["type", 1],
996
+ signed: ["type", 1],
997
+ const: ["type", 1],
998
+ static: ["type", 1],
999
+ alignas: ["keyword", 1],
1000
+ alignof: ["keyword", 1],
1001
+ and: ["keyword", 0],
1002
+ and_eq: ["keyword", 1],
1003
+ asm: ["keyword", 1],
1004
+ atomic_cancel: ["keyword", 1],
1005
+ atomic_commit: ["keyword", 1],
1006
+ atomic_noexcept: ["keyword", 1],
1007
+ auto: ["keyword", 1],
1008
+ bitand: ["keyword", 1],
1009
+ bitor: ["keyword", 1],
1010
+ break: ["keyword", 1],
1011
+ case: ["keyword", 1],
1012
+ catch: ["keyword", 1],
1013
+ class: ["keyword", 1],
1014
+ co_await: ["keyword", 1],
1015
+ co_return: ["keyword", 1],
1016
+ co_yield: ["keyword", 1],
1017
+ compl: ["keyword", 1],
1018
+ concept: ["keyword", 1],
1019
+ const_cast: ["keyword", 10],
1020
+ consteval: ["keyword", 1],
1021
+ constexpr: ["keyword", 1],
1022
+ constinit: ["keyword", 1],
1023
+ continue: ["keyword", 1],
1024
+ decltype: ["keyword", 1],
1025
+ default: ["keyword", 1],
1026
+ delete: ["keyword", 1],
1027
+ do: ["keyword", 1],
1028
+ dynamic_cast: ["keyword", 10],
1029
+ else: ["keyword", 1],
1030
+ enum: ["keyword", 1],
1031
+ explicit: ["keyword", 1],
1032
+ export: ["keyword", 1],
1033
+ extern: ["keyword", 1],
1034
+ false: ["literal", 1],
1035
+ final: ["keyword", 1],
1036
+ for: ["keyword", 0],
1037
+ friend: ["keyword", 1],
1038
+ goto: ["keyword", 1],
1039
+ if: ["keyword", 0],
1040
+ import: ["keyword", 1],
1041
+ inline: ["keyword", 1],
1042
+ module: ["keyword", 1],
1043
+ mutable: ["keyword", 1],
1044
+ namespace: ["keyword", 1],
1045
+ "new": ["keyword", 1],
1046
+ noexcept: ["keyword", 1],
1047
+ not: ["keyword", 0],
1048
+ not_eq: ["keyword", 1],
1049
+ nullptr: ["literal", 1],
1050
+ operator: ["keyword", 1],
1051
+ or: ["keyword", 0],
1052
+ or_eq: ["keyword", 1],
1053
+ override: ["keyword", 1],
1054
+ private: ["keyword", 1],
1055
+ protected: ["keyword", 1],
1056
+ public: ["keyword", 1],
1057
+ reflexpr: ["keyword", 1],
1058
+ register: ["keyword", 1],
1059
+ reinterpret_cast: ["keyword", 10],
1060
+ requires: ["keyword", 1],
1061
+ return: ["keyword", 1],
1062
+ sizeof: ["keyword", 1],
1063
+ static_assert: ["keyword", 1],
1064
+ static_cast: ["keyword", 10],
1065
+ struct: ["keyword", 1],
1066
+ switch: ["keyword", 1],
1067
+ synchronized: ["keyword", 1],
1068
+ template: ["keyword", 1],
1069
+ this: ["keyword", 1],
1070
+ thread_local: ["keyword", 1],
1071
+ throw: ["keyword", 1],
1072
+ transaction_safe: ["keyword", 1],
1073
+ transaction_safe_dynamic: ["keyword", 1],
1074
+ true: ["literal", 1],
1075
+ try: ["keyword", 1],
1076
+ typedef: ["keyword", 1],
1077
+ typeid: ["keyword", 1],
1078
+ typename: ["keyword", 1],
1079
+ union: ["keyword", 1],
1080
+ using: ["keyword", 1],
1081
+ virtual: ["keyword", 1],
1082
+ volatile: ["keyword", 1],
1083
+ while: ["keyword", 1],
1084
+ xor: ["keyword", 1],
1085
+ xor_eq: ["keyword", 1],
1086
+ NULL: ["literal", 1],
1087
+ nullopt: ["literal", 1],
1088
+ _Pragma: ["built_in", 1],
1089
+ any: ["_type_hints", 1],
1090
+ auto_ptr: ["_type_hints", 1],
1091
+ barrier: ["_type_hints", 1],
1092
+ binary_semaphore: ["_type_hints", 1],
1093
+ bitset: ["_type_hints", 1],
1094
+ complex: ["_type_hints", 1],
1095
+ condition_variable: ["_type_hints", 1],
1096
+ condition_variable_any: ["_type_hints", 1],
1097
+ counting_semaphore: ["_type_hints", 1],
1098
+ deque: ["_type_hints", 1],
1099
+ false_type: ["_type_hints", 1],
1100
+ flat_map: ["_type_hints", 1],
1101
+ flat_set: ["_type_hints", 1],
1102
+ future: ["_type_hints", 1],
1103
+ imaginary: ["_type_hints", 1],
1104
+ initializer_list: ["_type_hints", 1],
1105
+ istringstream: ["_type_hints", 1],
1106
+ jthread: ["_type_hints", 1],
1107
+ latch: ["_type_hints", 1],
1108
+ lock_guard: ["_type_hints", 1],
1109
+ multimap: ["_type_hints", 1],
1110
+ multiset: ["_type_hints", 1],
1111
+ mutex: ["_type_hints", 1],
1112
+ optional: ["_type_hints", 1],
1113
+ ostringstream: ["_type_hints", 1],
1114
+ packaged_task: ["_type_hints", 1],
1115
+ pair: ["_type_hints", 1],
1116
+ promise: ["_type_hints", 1],
1117
+ priority_queue: ["_type_hints", 1],
1118
+ queue: ["_type_hints", 1],
1119
+ recursive_mutex: ["_type_hints", 1],
1120
+ recursive_timed_mutex: ["_type_hints", 1],
1121
+ scoped_lock: ["_type_hints", 1],
1122
+ set: ["_type_hints", 1],
1123
+ shared_future: ["_type_hints", 1],
1124
+ shared_lock: ["_type_hints", 1],
1125
+ shared_mutex: ["_type_hints", 1],
1126
+ shared_timed_mutex: ["_type_hints", 1],
1127
+ shared_ptr: ["_type_hints", 1],
1128
+ stack: ["_type_hints", 1],
1129
+ string_view: ["_type_hints", 1],
1130
+ stringstream: ["_type_hints", 1],
1131
+ timed_mutex: ["_type_hints", 1],
1132
+ thread: ["_type_hints", 1],
1133
+ true_type: ["_type_hints", 1],
1134
+ tuple: ["_type_hints", 1],
1135
+ unique_lock: ["_type_hints", 1],
1136
+ unique_ptr: ["_type_hints", 1],
1137
+ unordered_map: ["_type_hints", 1],
1138
+ unordered_multimap: ["_type_hints", 1],
1139
+ unordered_multiset: ["_type_hints", 1],
1140
+ unordered_set: ["_type_hints", 1],
1141
+ variant: ["_type_hints", 1],
1142
+ vector: ["_type_hints", 1],
1143
+ weak_ptr: ["_type_hints", 1],
1144
+ wstring: ["_type_hints", 1],
1145
+ wstring_view: ["_type_hints", 1],
1146
+ },
1147
+ keywordPattern: "\\w+",
1148
+ notAfterDot: true,
1149
+ },
1150
+ { rules: [37, 38], scope: "comment", begin: "/\\*", end: "\\*/" },
1151
+ {
1152
+ relevance: 0,
1153
+ rules: [],
1154
+ scope: "doctag",
1155
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1156
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1157
+ excludeBegin: true,
1158
+ },
1159
+ {
1160
+ rules: [],
1161
+ begin:
1162
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1163
+ end: "\\B|\\b",
1164
+ },
1165
+ {
1166
+ rules: [40, 41, 43, 44, 45, 46, 17, 10, 54, 3],
1167
+ scope: "function",
1168
+ begin:
1169
+ "((?!struct)(decltype\\(auto\\)|(?:[a-zA-Z_]\\w*::)?[a-zA-Z_]\\w*(?:<[^<>]+>)?)[\\*&\\s]+)+(?:[a-zA-Z_]\\w*::)?[a-zA-Z]\\w*\\s*\\(",
1170
+ end: "[{;=]",
1171
+ excludeEnd: true,
1172
+ returnBegin: true,
1173
+ illegal: "[^\\w\\s\\*&:<>.]",
1174
+ keywords: {
1175
+ bool: ["type", 1],
1176
+ char: ["type", 1],
1177
+ char16_t: ["type", 1],
1178
+ char32_t: ["type", 1],
1179
+ char8_t: ["type", 1],
1180
+ double: ["type", 1],
1181
+ float: ["type", 1],
1182
+ int: ["type", 1],
1183
+ long: ["type", 1],
1184
+ short: ["type", 1],
1185
+ void: ["type", 1],
1186
+ wchar_t: ["type", 1],
1187
+ unsigned: ["type", 1],
1188
+ signed: ["type", 1],
1189
+ const: ["type", 1],
1190
+ static: ["type", 1],
1191
+ alignas: ["keyword", 1],
1192
+ alignof: ["keyword", 1],
1193
+ and: ["keyword", 0],
1194
+ and_eq: ["keyword", 1],
1195
+ asm: ["keyword", 1],
1196
+ atomic_cancel: ["keyword", 1],
1197
+ atomic_commit: ["keyword", 1],
1198
+ atomic_noexcept: ["keyword", 1],
1199
+ auto: ["keyword", 1],
1200
+ bitand: ["keyword", 1],
1201
+ bitor: ["keyword", 1],
1202
+ break: ["keyword", 1],
1203
+ case: ["keyword", 1],
1204
+ catch: ["keyword", 1],
1205
+ class: ["keyword", 1],
1206
+ co_await: ["keyword", 1],
1207
+ co_return: ["keyword", 1],
1208
+ co_yield: ["keyword", 1],
1209
+ compl: ["keyword", 1],
1210
+ concept: ["keyword", 1],
1211
+ const_cast: ["keyword", 10],
1212
+ consteval: ["keyword", 1],
1213
+ constexpr: ["keyword", 1],
1214
+ constinit: ["keyword", 1],
1215
+ continue: ["keyword", 1],
1216
+ decltype: ["keyword", 1],
1217
+ default: ["keyword", 1],
1218
+ delete: ["keyword", 1],
1219
+ do: ["keyword", 1],
1220
+ dynamic_cast: ["keyword", 10],
1221
+ else: ["keyword", 1],
1222
+ enum: ["keyword", 1],
1223
+ explicit: ["keyword", 1],
1224
+ export: ["keyword", 1],
1225
+ extern: ["keyword", 1],
1226
+ false: ["literal", 1],
1227
+ final: ["keyword", 1],
1228
+ for: ["keyword", 0],
1229
+ friend: ["keyword", 1],
1230
+ goto: ["keyword", 1],
1231
+ if: ["keyword", 0],
1232
+ import: ["keyword", 1],
1233
+ inline: ["keyword", 1],
1234
+ module: ["keyword", 1],
1235
+ mutable: ["keyword", 1],
1236
+ namespace: ["keyword", 1],
1237
+ "new": ["keyword", 1],
1238
+ noexcept: ["keyword", 1],
1239
+ not: ["keyword", 0],
1240
+ not_eq: ["keyword", 1],
1241
+ nullptr: ["literal", 1],
1242
+ operator: ["keyword", 1],
1243
+ or: ["keyword", 0],
1244
+ or_eq: ["keyword", 1],
1245
+ override: ["keyword", 1],
1246
+ private: ["keyword", 1],
1247
+ protected: ["keyword", 1],
1248
+ public: ["keyword", 1],
1249
+ reflexpr: ["keyword", 1],
1250
+ register: ["keyword", 1],
1251
+ reinterpret_cast: ["keyword", 10],
1252
+ requires: ["keyword", 1],
1253
+ return: ["keyword", 1],
1254
+ sizeof: ["keyword", 1],
1255
+ static_assert: ["keyword", 1],
1256
+ static_cast: ["keyword", 10],
1257
+ struct: ["keyword", 1],
1258
+ switch: ["keyword", 1],
1259
+ synchronized: ["keyword", 1],
1260
+ template: ["keyword", 1],
1261
+ this: ["keyword", 1],
1262
+ thread_local: ["keyword", 1],
1263
+ throw: ["keyword", 1],
1264
+ transaction_safe: ["keyword", 1],
1265
+ transaction_safe_dynamic: ["keyword", 1],
1266
+ true: ["literal", 1],
1267
+ try: ["keyword", 1],
1268
+ typedef: ["keyword", 1],
1269
+ typeid: ["keyword", 1],
1270
+ typename: ["keyword", 1],
1271
+ union: ["keyword", 1],
1272
+ using: ["keyword", 1],
1273
+ virtual: ["keyword", 1],
1274
+ volatile: ["keyword", 1],
1275
+ while: ["keyword", 1],
1276
+ xor: ["keyword", 1],
1277
+ xor_eq: ["keyword", 1],
1278
+ NULL: ["literal", 1],
1279
+ nullopt: ["literal", 1],
1280
+ _Pragma: ["built_in", 1],
1281
+ any: ["_type_hints", 1],
1282
+ auto_ptr: ["_type_hints", 1],
1283
+ barrier: ["_type_hints", 1],
1284
+ binary_semaphore: ["_type_hints", 1],
1285
+ bitset: ["_type_hints", 1],
1286
+ complex: ["_type_hints", 1],
1287
+ condition_variable: ["_type_hints", 1],
1288
+ condition_variable_any: ["_type_hints", 1],
1289
+ counting_semaphore: ["_type_hints", 1],
1290
+ deque: ["_type_hints", 1],
1291
+ false_type: ["_type_hints", 1],
1292
+ flat_map: ["_type_hints", 1],
1293
+ flat_set: ["_type_hints", 1],
1294
+ future: ["_type_hints", 1],
1295
+ imaginary: ["_type_hints", 1],
1296
+ initializer_list: ["_type_hints", 1],
1297
+ istringstream: ["_type_hints", 1],
1298
+ jthread: ["_type_hints", 1],
1299
+ latch: ["_type_hints", 1],
1300
+ lock_guard: ["_type_hints", 1],
1301
+ multimap: ["_type_hints", 1],
1302
+ multiset: ["_type_hints", 1],
1303
+ mutex: ["_type_hints", 1],
1304
+ optional: ["_type_hints", 1],
1305
+ ostringstream: ["_type_hints", 1],
1306
+ packaged_task: ["_type_hints", 1],
1307
+ pair: ["_type_hints", 1],
1308
+ promise: ["_type_hints", 1],
1309
+ priority_queue: ["_type_hints", 1],
1310
+ queue: ["_type_hints", 1],
1311
+ recursive_mutex: ["_type_hints", 1],
1312
+ recursive_timed_mutex: ["_type_hints", 1],
1313
+ scoped_lock: ["_type_hints", 1],
1314
+ set: ["_type_hints", 1],
1315
+ shared_future: ["_type_hints", 1],
1316
+ shared_lock: ["_type_hints", 1],
1317
+ shared_mutex: ["_type_hints", 1],
1318
+ shared_timed_mutex: ["_type_hints", 1],
1319
+ shared_ptr: ["_type_hints", 1],
1320
+ stack: ["_type_hints", 1],
1321
+ string_view: ["_type_hints", 1],
1322
+ stringstream: ["_type_hints", 1],
1323
+ timed_mutex: ["_type_hints", 1],
1324
+ thread: ["_type_hints", 1],
1325
+ true_type: ["_type_hints", 1],
1326
+ tuple: ["_type_hints", 1],
1327
+ unique_lock: ["_type_hints", 1],
1328
+ unique_ptr: ["_type_hints", 1],
1329
+ unordered_map: ["_type_hints", 1],
1330
+ unordered_multimap: ["_type_hints", 1],
1331
+ unordered_multiset: ["_type_hints", 1],
1332
+ unordered_set: ["_type_hints", 1],
1333
+ variant: ["_type_hints", 1],
1334
+ vector: ["_type_hints", 1],
1335
+ weak_ptr: ["_type_hints", 1],
1336
+ wstring: ["_type_hints", 1],
1337
+ wstring_view: ["_type_hints", 1],
1338
+ },
1339
+ keywordPattern: "\\w+",
1340
+ },
1341
+ {
1342
+ relevance: 0,
1343
+ rules: [],
1344
+ begin: "decltype\\(auto\\)",
1345
+ end: "\\B|\\b",
1346
+ keywords: {
1347
+ bool: ["type", 1],
1348
+ char: ["type", 1],
1349
+ char16_t: ["type", 1],
1350
+ char32_t: ["type", 1],
1351
+ char8_t: ["type", 1],
1352
+ double: ["type", 1],
1353
+ float: ["type", 1],
1354
+ int: ["type", 1],
1355
+ long: ["type", 1],
1356
+ short: ["type", 1],
1357
+ void: ["type", 1],
1358
+ wchar_t: ["type", 1],
1359
+ unsigned: ["type", 1],
1360
+ signed: ["type", 1],
1361
+ const: ["type", 1],
1362
+ static: ["type", 1],
1363
+ alignas: ["keyword", 1],
1364
+ alignof: ["keyword", 1],
1365
+ and: ["keyword", 0],
1366
+ and_eq: ["keyword", 1],
1367
+ asm: ["keyword", 1],
1368
+ atomic_cancel: ["keyword", 1],
1369
+ atomic_commit: ["keyword", 1],
1370
+ atomic_noexcept: ["keyword", 1],
1371
+ auto: ["keyword", 1],
1372
+ bitand: ["keyword", 1],
1373
+ bitor: ["keyword", 1],
1374
+ break: ["keyword", 1],
1375
+ case: ["keyword", 1],
1376
+ catch: ["keyword", 1],
1377
+ class: ["keyword", 1],
1378
+ co_await: ["keyword", 1],
1379
+ co_return: ["keyword", 1],
1380
+ co_yield: ["keyword", 1],
1381
+ compl: ["keyword", 1],
1382
+ concept: ["keyword", 1],
1383
+ const_cast: ["keyword", 10],
1384
+ consteval: ["keyword", 1],
1385
+ constexpr: ["keyword", 1],
1386
+ constinit: ["keyword", 1],
1387
+ continue: ["keyword", 1],
1388
+ decltype: ["keyword", 1],
1389
+ default: ["keyword", 1],
1390
+ delete: ["keyword", 1],
1391
+ do: ["keyword", 1],
1392
+ dynamic_cast: ["keyword", 10],
1393
+ else: ["keyword", 1],
1394
+ enum: ["keyword", 1],
1395
+ explicit: ["keyword", 1],
1396
+ export: ["keyword", 1],
1397
+ extern: ["keyword", 1],
1398
+ false: ["literal", 1],
1399
+ final: ["keyword", 1],
1400
+ for: ["keyword", 0],
1401
+ friend: ["keyword", 1],
1402
+ goto: ["keyword", 1],
1403
+ if: ["keyword", 0],
1404
+ import: ["keyword", 1],
1405
+ inline: ["keyword", 1],
1406
+ module: ["keyword", 1],
1407
+ mutable: ["keyword", 1],
1408
+ namespace: ["keyword", 1],
1409
+ "new": ["keyword", 1],
1410
+ noexcept: ["keyword", 1],
1411
+ not: ["keyword", 0],
1412
+ not_eq: ["keyword", 1],
1413
+ nullptr: ["literal", 1],
1414
+ operator: ["keyword", 1],
1415
+ or: ["keyword", 0],
1416
+ or_eq: ["keyword", 1],
1417
+ override: ["keyword", 1],
1418
+ private: ["keyword", 1],
1419
+ protected: ["keyword", 1],
1420
+ public: ["keyword", 1],
1421
+ reflexpr: ["keyword", 1],
1422
+ register: ["keyword", 1],
1423
+ reinterpret_cast: ["keyword", 10],
1424
+ requires: ["keyword", 1],
1425
+ return: ["keyword", 1],
1426
+ sizeof: ["keyword", 1],
1427
+ static_assert: ["keyword", 1],
1428
+ static_cast: ["keyword", 10],
1429
+ struct: ["keyword", 1],
1430
+ switch: ["keyword", 1],
1431
+ synchronized: ["keyword", 1],
1432
+ template: ["keyword", 1],
1433
+ this: ["keyword", 1],
1434
+ thread_local: ["keyword", 1],
1435
+ throw: ["keyword", 1],
1436
+ transaction_safe: ["keyword", 1],
1437
+ transaction_safe_dynamic: ["keyword", 1],
1438
+ true: ["literal", 1],
1439
+ try: ["keyword", 1],
1440
+ typedef: ["keyword", 1],
1441
+ typeid: ["keyword", 1],
1442
+ typename: ["keyword", 1],
1443
+ union: ["keyword", 1],
1444
+ using: ["keyword", 1],
1445
+ virtual: ["keyword", 1],
1446
+ volatile: ["keyword", 1],
1447
+ while: ["keyword", 1],
1448
+ xor: ["keyword", 1],
1449
+ xor_eq: ["keyword", 1],
1450
+ NULL: ["literal", 1],
1451
+ nullopt: ["literal", 1],
1452
+ _Pragma: ["built_in", 1],
1453
+ any: ["_type_hints", 1],
1454
+ auto_ptr: ["_type_hints", 1],
1455
+ barrier: ["_type_hints", 1],
1456
+ binary_semaphore: ["_type_hints", 1],
1457
+ bitset: ["_type_hints", 1],
1458
+ complex: ["_type_hints", 1],
1459
+ condition_variable: ["_type_hints", 1],
1460
+ condition_variable_any: ["_type_hints", 1],
1461
+ counting_semaphore: ["_type_hints", 1],
1462
+ deque: ["_type_hints", 1],
1463
+ false_type: ["_type_hints", 1],
1464
+ flat_map: ["_type_hints", 1],
1465
+ flat_set: ["_type_hints", 1],
1466
+ future: ["_type_hints", 1],
1467
+ imaginary: ["_type_hints", 1],
1468
+ initializer_list: ["_type_hints", 1],
1469
+ istringstream: ["_type_hints", 1],
1470
+ jthread: ["_type_hints", 1],
1471
+ latch: ["_type_hints", 1],
1472
+ lock_guard: ["_type_hints", 1],
1473
+ multimap: ["_type_hints", 1],
1474
+ multiset: ["_type_hints", 1],
1475
+ mutex: ["_type_hints", 1],
1476
+ optional: ["_type_hints", 1],
1477
+ ostringstream: ["_type_hints", 1],
1478
+ packaged_task: ["_type_hints", 1],
1479
+ pair: ["_type_hints", 1],
1480
+ promise: ["_type_hints", 1],
1481
+ priority_queue: ["_type_hints", 1],
1482
+ queue: ["_type_hints", 1],
1483
+ recursive_mutex: ["_type_hints", 1],
1484
+ recursive_timed_mutex: ["_type_hints", 1],
1485
+ scoped_lock: ["_type_hints", 1],
1486
+ set: ["_type_hints", 1],
1487
+ shared_future: ["_type_hints", 1],
1488
+ shared_lock: ["_type_hints", 1],
1489
+ shared_mutex: ["_type_hints", 1],
1490
+ shared_timed_mutex: ["_type_hints", 1],
1491
+ shared_ptr: ["_type_hints", 1],
1492
+ stack: ["_type_hints", 1],
1493
+ string_view: ["_type_hints", 1],
1494
+ stringstream: ["_type_hints", 1],
1495
+ timed_mutex: ["_type_hints", 1],
1496
+ thread: ["_type_hints", 1],
1497
+ true_type: ["_type_hints", 1],
1498
+ tuple: ["_type_hints", 1],
1499
+ unique_lock: ["_type_hints", 1],
1500
+ unique_ptr: ["_type_hints", 1],
1501
+ unordered_map: ["_type_hints", 1],
1502
+ unordered_multimap: ["_type_hints", 1],
1503
+ unordered_multiset: ["_type_hints", 1],
1504
+ unordered_set: ["_type_hints", 1],
1505
+ variant: ["_type_hints", 1],
1506
+ vector: ["_type_hints", 1],
1507
+ weak_ptr: ["_type_hints", 1],
1508
+ wstring: ["_type_hints", 1],
1509
+ wstring_view: ["_type_hints", 1],
1510
+ },
1511
+ keywordPattern: "\\w+",
1512
+ },
1513
+ {
1514
+ relevance: 0,
1515
+ rules: [42],
1516
+ begin: "(?:[a-zA-Z_]\\w*::)?[a-zA-Z]\\w*\\s*\\(",
1517
+ end: "\\B|\\b",
1518
+ returnBegin: true,
1519
+ },
1520
+ {
1521
+ relevance: 0,
1522
+ rules: [],
1523
+ scope: "title",
1524
+ begin: "(?:[a-zA-Z_]\\w*::)?[a-zA-Z]\\w*",
1525
+ end: "\\B|\\b",
1526
+ },
1527
+ { relevance: 0, rules: [], begin: "::", end: "\\B|\\b" },
1528
+ { rules: [23, 25, 26, 21, 22], begin: ":", endsWithParent: true },
1529
+ { relevance: 0, rules: [], begin: ",", end: "\\B|\\b" },
1530
+ {
1531
+ relevance: 0,
1532
+ rules: [10, 47, 23, 25, 26, 21, 22, 17, 50],
1533
+ scope: "params",
1534
+ begin: "\\(",
1535
+ end: "\\)",
1536
+ keywords: {
1537
+ bool: ["type", 1],
1538
+ char: ["type", 1],
1539
+ char16_t: ["type", 1],
1540
+ char32_t: ["type", 1],
1541
+ char8_t: ["type", 1],
1542
+ double: ["type", 1],
1543
+ float: ["type", 1],
1544
+ int: ["type", 1],
1545
+ long: ["type", 1],
1546
+ short: ["type", 1],
1547
+ void: ["type", 1],
1548
+ wchar_t: ["type", 1],
1549
+ unsigned: ["type", 1],
1550
+ signed: ["type", 1],
1551
+ const: ["type", 1],
1552
+ static: ["type", 1],
1553
+ alignas: ["keyword", 1],
1554
+ alignof: ["keyword", 1],
1555
+ and: ["keyword", 0],
1556
+ and_eq: ["keyword", 1],
1557
+ asm: ["keyword", 1],
1558
+ atomic_cancel: ["keyword", 1],
1559
+ atomic_commit: ["keyword", 1],
1560
+ atomic_noexcept: ["keyword", 1],
1561
+ auto: ["keyword", 1],
1562
+ bitand: ["keyword", 1],
1563
+ bitor: ["keyword", 1],
1564
+ break: ["keyword", 1],
1565
+ case: ["keyword", 1],
1566
+ catch: ["keyword", 1],
1567
+ class: ["keyword", 1],
1568
+ co_await: ["keyword", 1],
1569
+ co_return: ["keyword", 1],
1570
+ co_yield: ["keyword", 1],
1571
+ compl: ["keyword", 1],
1572
+ concept: ["keyword", 1],
1573
+ const_cast: ["keyword", 10],
1574
+ consteval: ["keyword", 1],
1575
+ constexpr: ["keyword", 1],
1576
+ constinit: ["keyword", 1],
1577
+ continue: ["keyword", 1],
1578
+ decltype: ["keyword", 1],
1579
+ default: ["keyword", 1],
1580
+ delete: ["keyword", 1],
1581
+ do: ["keyword", 1],
1582
+ dynamic_cast: ["keyword", 10],
1583
+ else: ["keyword", 1],
1584
+ enum: ["keyword", 1],
1585
+ explicit: ["keyword", 1],
1586
+ export: ["keyword", 1],
1587
+ extern: ["keyword", 1],
1588
+ false: ["literal", 1],
1589
+ final: ["keyword", 1],
1590
+ for: ["keyword", 0],
1591
+ friend: ["keyword", 1],
1592
+ goto: ["keyword", 1],
1593
+ if: ["keyword", 0],
1594
+ import: ["keyword", 1],
1595
+ inline: ["keyword", 1],
1596
+ module: ["keyword", 1],
1597
+ mutable: ["keyword", 1],
1598
+ namespace: ["keyword", 1],
1599
+ "new": ["keyword", 1],
1600
+ noexcept: ["keyword", 1],
1601
+ not: ["keyword", 0],
1602
+ not_eq: ["keyword", 1],
1603
+ nullptr: ["literal", 1],
1604
+ operator: ["keyword", 1],
1605
+ or: ["keyword", 0],
1606
+ or_eq: ["keyword", 1],
1607
+ override: ["keyword", 1],
1608
+ private: ["keyword", 1],
1609
+ protected: ["keyword", 1],
1610
+ public: ["keyword", 1],
1611
+ reflexpr: ["keyword", 1],
1612
+ register: ["keyword", 1],
1613
+ reinterpret_cast: ["keyword", 10],
1614
+ requires: ["keyword", 1],
1615
+ return: ["keyword", 1],
1616
+ sizeof: ["keyword", 1],
1617
+ static_assert: ["keyword", 1],
1618
+ static_cast: ["keyword", 10],
1619
+ struct: ["keyword", 1],
1620
+ switch: ["keyword", 1],
1621
+ synchronized: ["keyword", 1],
1622
+ template: ["keyword", 1],
1623
+ this: ["keyword", 1],
1624
+ thread_local: ["keyword", 1],
1625
+ throw: ["keyword", 1],
1626
+ transaction_safe: ["keyword", 1],
1627
+ transaction_safe_dynamic: ["keyword", 1],
1628
+ true: ["literal", 1],
1629
+ try: ["keyword", 1],
1630
+ typedef: ["keyword", 1],
1631
+ typeid: ["keyword", 1],
1632
+ typename: ["keyword", 1],
1633
+ union: ["keyword", 1],
1634
+ using: ["keyword", 1],
1635
+ virtual: ["keyword", 1],
1636
+ volatile: ["keyword", 1],
1637
+ while: ["keyword", 1],
1638
+ xor: ["keyword", 1],
1639
+ xor_eq: ["keyword", 1],
1640
+ NULL: ["literal", 1],
1641
+ nullopt: ["literal", 1],
1642
+ _Pragma: ["built_in", 1],
1643
+ any: ["_type_hints", 1],
1644
+ auto_ptr: ["_type_hints", 1],
1645
+ barrier: ["_type_hints", 1],
1646
+ binary_semaphore: ["_type_hints", 1],
1647
+ bitset: ["_type_hints", 1],
1648
+ complex: ["_type_hints", 1],
1649
+ condition_variable: ["_type_hints", 1],
1650
+ condition_variable_any: ["_type_hints", 1],
1651
+ counting_semaphore: ["_type_hints", 1],
1652
+ deque: ["_type_hints", 1],
1653
+ false_type: ["_type_hints", 1],
1654
+ flat_map: ["_type_hints", 1],
1655
+ flat_set: ["_type_hints", 1],
1656
+ future: ["_type_hints", 1],
1657
+ imaginary: ["_type_hints", 1],
1658
+ initializer_list: ["_type_hints", 1],
1659
+ istringstream: ["_type_hints", 1],
1660
+ jthread: ["_type_hints", 1],
1661
+ latch: ["_type_hints", 1],
1662
+ lock_guard: ["_type_hints", 1],
1663
+ multimap: ["_type_hints", 1],
1664
+ multiset: ["_type_hints", 1],
1665
+ mutex: ["_type_hints", 1],
1666
+ optional: ["_type_hints", 1],
1667
+ ostringstream: ["_type_hints", 1],
1668
+ packaged_task: ["_type_hints", 1],
1669
+ pair: ["_type_hints", 1],
1670
+ promise: ["_type_hints", 1],
1671
+ priority_queue: ["_type_hints", 1],
1672
+ queue: ["_type_hints", 1],
1673
+ recursive_mutex: ["_type_hints", 1],
1674
+ recursive_timed_mutex: ["_type_hints", 1],
1675
+ scoped_lock: ["_type_hints", 1],
1676
+ set: ["_type_hints", 1],
1677
+ shared_future: ["_type_hints", 1],
1678
+ shared_lock: ["_type_hints", 1],
1679
+ shared_mutex: ["_type_hints", 1],
1680
+ shared_timed_mutex: ["_type_hints", 1],
1681
+ shared_ptr: ["_type_hints", 1],
1682
+ stack: ["_type_hints", 1],
1683
+ string_view: ["_type_hints", 1],
1684
+ stringstream: ["_type_hints", 1],
1685
+ timed_mutex: ["_type_hints", 1],
1686
+ thread: ["_type_hints", 1],
1687
+ true_type: ["_type_hints", 1],
1688
+ tuple: ["_type_hints", 1],
1689
+ unique_lock: ["_type_hints", 1],
1690
+ unique_ptr: ["_type_hints", 1],
1691
+ unordered_map: ["_type_hints", 1],
1692
+ unordered_multimap: ["_type_hints", 1],
1693
+ unordered_multiset: ["_type_hints", 1],
1694
+ unordered_set: ["_type_hints", 1],
1695
+ variant: ["_type_hints", 1],
1696
+ vector: ["_type_hints", 1],
1697
+ weak_ptr: ["_type_hints", 1],
1698
+ wstring: ["_type_hints", 1],
1699
+ wstring_view: ["_type_hints", 1],
1700
+ },
1701
+ keywordPattern: "\\w+",
1702
+ },
1703
+ { rules: [48, 49], scope: "comment", begin: "/\\*", end: "\\*/" },
1704
+ {
1705
+ relevance: 0,
1706
+ rules: [],
1707
+ scope: "doctag",
1708
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1709
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1710
+ excludeBegin: true,
1711
+ },
1712
+ {
1713
+ rules: [],
1714
+ begin:
1715
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1716
+ end: "\\B|\\b",
1717
+ },
1718
+ {
1719
+ relevance: 0,
1720
+ rules: [50, 10, 51, 23, 25, 26, 21, 22, 17],
1721
+ begin: "\\(",
1722
+ end: "\\)",
1723
+ keywords: {
1724
+ bool: ["type", 1],
1725
+ char: ["type", 1],
1726
+ char16_t: ["type", 1],
1727
+ char32_t: ["type", 1],
1728
+ char8_t: ["type", 1],
1729
+ double: ["type", 1],
1730
+ float: ["type", 1],
1731
+ int: ["type", 1],
1732
+ long: ["type", 1],
1733
+ short: ["type", 1],
1734
+ void: ["type", 1],
1735
+ wchar_t: ["type", 1],
1736
+ unsigned: ["type", 1],
1737
+ signed: ["type", 1],
1738
+ const: ["type", 1],
1739
+ static: ["type", 1],
1740
+ alignas: ["keyword", 1],
1741
+ alignof: ["keyword", 1],
1742
+ and: ["keyword", 0],
1743
+ and_eq: ["keyword", 1],
1744
+ asm: ["keyword", 1],
1745
+ atomic_cancel: ["keyword", 1],
1746
+ atomic_commit: ["keyword", 1],
1747
+ atomic_noexcept: ["keyword", 1],
1748
+ auto: ["keyword", 1],
1749
+ bitand: ["keyword", 1],
1750
+ bitor: ["keyword", 1],
1751
+ break: ["keyword", 1],
1752
+ case: ["keyword", 1],
1753
+ catch: ["keyword", 1],
1754
+ class: ["keyword", 1],
1755
+ co_await: ["keyword", 1],
1756
+ co_return: ["keyword", 1],
1757
+ co_yield: ["keyword", 1],
1758
+ compl: ["keyword", 1],
1759
+ concept: ["keyword", 1],
1760
+ const_cast: ["keyword", 10],
1761
+ consteval: ["keyword", 1],
1762
+ constexpr: ["keyword", 1],
1763
+ constinit: ["keyword", 1],
1764
+ continue: ["keyword", 1],
1765
+ decltype: ["keyword", 1],
1766
+ default: ["keyword", 1],
1767
+ delete: ["keyword", 1],
1768
+ do: ["keyword", 1],
1769
+ dynamic_cast: ["keyword", 10],
1770
+ else: ["keyword", 1],
1771
+ enum: ["keyword", 1],
1772
+ explicit: ["keyword", 1],
1773
+ export: ["keyword", 1],
1774
+ extern: ["keyword", 1],
1775
+ false: ["literal", 1],
1776
+ final: ["keyword", 1],
1777
+ for: ["keyword", 0],
1778
+ friend: ["keyword", 1],
1779
+ goto: ["keyword", 1],
1780
+ if: ["keyword", 0],
1781
+ import: ["keyword", 1],
1782
+ inline: ["keyword", 1],
1783
+ module: ["keyword", 1],
1784
+ mutable: ["keyword", 1],
1785
+ namespace: ["keyword", 1],
1786
+ "new": ["keyword", 1],
1787
+ noexcept: ["keyword", 1],
1788
+ not: ["keyword", 0],
1789
+ not_eq: ["keyword", 1],
1790
+ nullptr: ["literal", 1],
1791
+ operator: ["keyword", 1],
1792
+ or: ["keyword", 0],
1793
+ or_eq: ["keyword", 1],
1794
+ override: ["keyword", 1],
1795
+ private: ["keyword", 1],
1796
+ protected: ["keyword", 1],
1797
+ public: ["keyword", 1],
1798
+ reflexpr: ["keyword", 1],
1799
+ register: ["keyword", 1],
1800
+ reinterpret_cast: ["keyword", 10],
1801
+ requires: ["keyword", 1],
1802
+ return: ["keyword", 1],
1803
+ sizeof: ["keyword", 1],
1804
+ static_assert: ["keyword", 1],
1805
+ static_cast: ["keyword", 10],
1806
+ struct: ["keyword", 1],
1807
+ switch: ["keyword", 1],
1808
+ synchronized: ["keyword", 1],
1809
+ template: ["keyword", 1],
1810
+ this: ["keyword", 1],
1811
+ thread_local: ["keyword", 1],
1812
+ throw: ["keyword", 1],
1813
+ transaction_safe: ["keyword", 1],
1814
+ transaction_safe_dynamic: ["keyword", 1],
1815
+ true: ["literal", 1],
1816
+ try: ["keyword", 1],
1817
+ typedef: ["keyword", 1],
1818
+ typeid: ["keyword", 1],
1819
+ typename: ["keyword", 1],
1820
+ union: ["keyword", 1],
1821
+ using: ["keyword", 1],
1822
+ virtual: ["keyword", 1],
1823
+ volatile: ["keyword", 1],
1824
+ while: ["keyword", 1],
1825
+ xor: ["keyword", 1],
1826
+ xor_eq: ["keyword", 1],
1827
+ NULL: ["literal", 1],
1828
+ nullopt: ["literal", 1],
1829
+ _Pragma: ["built_in", 1],
1830
+ any: ["_type_hints", 1],
1831
+ auto_ptr: ["_type_hints", 1],
1832
+ barrier: ["_type_hints", 1],
1833
+ binary_semaphore: ["_type_hints", 1],
1834
+ bitset: ["_type_hints", 1],
1835
+ complex: ["_type_hints", 1],
1836
+ condition_variable: ["_type_hints", 1],
1837
+ condition_variable_any: ["_type_hints", 1],
1838
+ counting_semaphore: ["_type_hints", 1],
1839
+ deque: ["_type_hints", 1],
1840
+ false_type: ["_type_hints", 1],
1841
+ flat_map: ["_type_hints", 1],
1842
+ flat_set: ["_type_hints", 1],
1843
+ future: ["_type_hints", 1],
1844
+ imaginary: ["_type_hints", 1],
1845
+ initializer_list: ["_type_hints", 1],
1846
+ istringstream: ["_type_hints", 1],
1847
+ jthread: ["_type_hints", 1],
1848
+ latch: ["_type_hints", 1],
1849
+ lock_guard: ["_type_hints", 1],
1850
+ multimap: ["_type_hints", 1],
1851
+ multiset: ["_type_hints", 1],
1852
+ mutex: ["_type_hints", 1],
1853
+ optional: ["_type_hints", 1],
1854
+ ostringstream: ["_type_hints", 1],
1855
+ packaged_task: ["_type_hints", 1],
1856
+ pair: ["_type_hints", 1],
1857
+ promise: ["_type_hints", 1],
1858
+ priority_queue: ["_type_hints", 1],
1859
+ queue: ["_type_hints", 1],
1860
+ recursive_mutex: ["_type_hints", 1],
1861
+ recursive_timed_mutex: ["_type_hints", 1],
1862
+ scoped_lock: ["_type_hints", 1],
1863
+ set: ["_type_hints", 1],
1864
+ shared_future: ["_type_hints", 1],
1865
+ shared_lock: ["_type_hints", 1],
1866
+ shared_mutex: ["_type_hints", 1],
1867
+ shared_timed_mutex: ["_type_hints", 1],
1868
+ shared_ptr: ["_type_hints", 1],
1869
+ stack: ["_type_hints", 1],
1870
+ string_view: ["_type_hints", 1],
1871
+ stringstream: ["_type_hints", 1],
1872
+ timed_mutex: ["_type_hints", 1],
1873
+ thread: ["_type_hints", 1],
1874
+ true_type: ["_type_hints", 1],
1875
+ tuple: ["_type_hints", 1],
1876
+ unique_lock: ["_type_hints", 1],
1877
+ unique_ptr: ["_type_hints", 1],
1878
+ unordered_map: ["_type_hints", 1],
1879
+ unordered_multimap: ["_type_hints", 1],
1880
+ unordered_multiset: ["_type_hints", 1],
1881
+ unordered_set: ["_type_hints", 1],
1882
+ variant: ["_type_hints", 1],
1883
+ vector: ["_type_hints", 1],
1884
+ weak_ptr: ["_type_hints", 1],
1885
+ wstring: ["_type_hints", 1],
1886
+ wstring_view: ["_type_hints", 1],
1887
+ },
1888
+ keywordPattern: "\\w+",
1889
+ },
1890
+ { rules: [52, 53], scope: "comment", begin: "/\\*", end: "\\*/" },
1891
+ {
1892
+ relevance: 0,
1893
+ rules: [],
1894
+ scope: "doctag",
1895
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1896
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1897
+ excludeBegin: true,
1898
+ },
1899
+ {
1900
+ rules: [],
1901
+ begin:
1902
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1903
+ end: "\\B|\\b",
1904
+ },
1905
+ { rules: [55, 56], scope: "comment", begin: "/\\*", end: "\\*/" },
1906
+ {
1907
+ relevance: 0,
1908
+ rules: [],
1909
+ scope: "doctag",
1910
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1911
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1912
+ excludeBegin: true,
1913
+ },
1914
+ {
1915
+ rules: [],
1916
+ begin:
1917
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1918
+ end: "\\B|\\b",
1919
+ },
1920
+ { rules: [58, 59], scope: "comment", begin: "/\\*", end: "\\*/" },
1921
+ {
1922
+ relevance: 0,
1923
+ rules: [],
1924
+ scope: "doctag",
1925
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1926
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1927
+ excludeBegin: true,
1928
+ },
1929
+ {
1930
+ rules: [],
1931
+ begin:
1932
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1933
+ end: "\\B|\\b",
1934
+ },
1935
+ {
1936
+ rules: [60, 17],
1937
+ begin:
1938
+ "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
1939
+ end: ">",
1940
+ keywords: {
1941
+ bool: ["type", 1],
1942
+ char: ["type", 1],
1943
+ char16_t: ["type", 1],
1944
+ char32_t: ["type", 1],
1945
+ char8_t: ["type", 1],
1946
+ double: ["type", 1],
1947
+ float: ["type", 1],
1948
+ int: ["type", 1],
1949
+ long: ["type", 1],
1950
+ short: ["type", 1],
1951
+ void: ["type", 1],
1952
+ wchar_t: ["type", 1],
1953
+ unsigned: ["type", 1],
1954
+ signed: ["type", 1],
1955
+ const: ["type", 1],
1956
+ static: ["type", 1],
1957
+ alignas: ["keyword", 1],
1958
+ alignof: ["keyword", 1],
1959
+ and: ["keyword", 0],
1960
+ and_eq: ["keyword", 1],
1961
+ asm: ["keyword", 1],
1962
+ atomic_cancel: ["keyword", 1],
1963
+ atomic_commit: ["keyword", 1],
1964
+ atomic_noexcept: ["keyword", 1],
1965
+ auto: ["keyword", 1],
1966
+ bitand: ["keyword", 1],
1967
+ bitor: ["keyword", 1],
1968
+ break: ["keyword", 1],
1969
+ case: ["keyword", 1],
1970
+ catch: ["keyword", 1],
1971
+ class: ["keyword", 1],
1972
+ co_await: ["keyword", 1],
1973
+ co_return: ["keyword", 1],
1974
+ co_yield: ["keyword", 1],
1975
+ compl: ["keyword", 1],
1976
+ concept: ["keyword", 1],
1977
+ const_cast: ["keyword", 10],
1978
+ consteval: ["keyword", 1],
1979
+ constexpr: ["keyword", 1],
1980
+ constinit: ["keyword", 1],
1981
+ continue: ["keyword", 1],
1982
+ decltype: ["keyword", 1],
1983
+ default: ["keyword", 1],
1984
+ delete: ["keyword", 1],
1985
+ do: ["keyword", 1],
1986
+ dynamic_cast: ["keyword", 10],
1987
+ else: ["keyword", 1],
1988
+ enum: ["keyword", 1],
1989
+ explicit: ["keyword", 1],
1990
+ export: ["keyword", 1],
1991
+ extern: ["keyword", 1],
1992
+ false: ["literal", 1],
1993
+ final: ["keyword", 1],
1994
+ for: ["keyword", 0],
1995
+ friend: ["keyword", 1],
1996
+ goto: ["keyword", 1],
1997
+ if: ["keyword", 0],
1998
+ import: ["keyword", 1],
1999
+ inline: ["keyword", 1],
2000
+ module: ["keyword", 1],
2001
+ mutable: ["keyword", 1],
2002
+ namespace: ["keyword", 1],
2003
+ "new": ["keyword", 1],
2004
+ noexcept: ["keyword", 1],
2005
+ not: ["keyword", 0],
2006
+ not_eq: ["keyword", 1],
2007
+ nullptr: ["literal", 1],
2008
+ operator: ["keyword", 1],
2009
+ or: ["keyword", 0],
2010
+ or_eq: ["keyword", 1],
2011
+ override: ["keyword", 1],
2012
+ private: ["keyword", 1],
2013
+ protected: ["keyword", 1],
2014
+ public: ["keyword", 1],
2015
+ reflexpr: ["keyword", 1],
2016
+ register: ["keyword", 1],
2017
+ reinterpret_cast: ["keyword", 10],
2018
+ requires: ["keyword", 1],
2019
+ return: ["keyword", 1],
2020
+ sizeof: ["keyword", 1],
2021
+ static_assert: ["keyword", 1],
2022
+ static_cast: ["keyword", 10],
2023
+ struct: ["keyword", 1],
2024
+ switch: ["keyword", 1],
2025
+ synchronized: ["keyword", 1],
2026
+ template: ["keyword", 1],
2027
+ this: ["keyword", 1],
2028
+ thread_local: ["keyword", 1],
2029
+ throw: ["keyword", 1],
2030
+ transaction_safe: ["keyword", 1],
2031
+ transaction_safe_dynamic: ["keyword", 1],
2032
+ true: ["literal", 1],
2033
+ try: ["keyword", 1],
2034
+ typedef: ["keyword", 1],
2035
+ typeid: ["keyword", 1],
2036
+ typename: ["keyword", 1],
2037
+ union: ["keyword", 1],
2038
+ using: ["keyword", 1],
2039
+ virtual: ["keyword", 1],
2040
+ volatile: ["keyword", 1],
2041
+ while: ["keyword", 1],
2042
+ xor: ["keyword", 1],
2043
+ xor_eq: ["keyword", 1],
2044
+ NULL: ["literal", 1],
2045
+ nullopt: ["literal", 1],
2046
+ _Pragma: ["built_in", 1],
2047
+ any: ["_type_hints", 1],
2048
+ auto_ptr: ["_type_hints", 1],
2049
+ barrier: ["_type_hints", 1],
2050
+ binary_semaphore: ["_type_hints", 1],
2051
+ bitset: ["_type_hints", 1],
2052
+ complex: ["_type_hints", 1],
2053
+ condition_variable: ["_type_hints", 1],
2054
+ condition_variable_any: ["_type_hints", 1],
2055
+ counting_semaphore: ["_type_hints", 1],
2056
+ deque: ["_type_hints", 1],
2057
+ false_type: ["_type_hints", 1],
2058
+ flat_map: ["_type_hints", 1],
2059
+ flat_set: ["_type_hints", 1],
2060
+ future: ["_type_hints", 1],
2061
+ imaginary: ["_type_hints", 1],
2062
+ initializer_list: ["_type_hints", 1],
2063
+ istringstream: ["_type_hints", 1],
2064
+ jthread: ["_type_hints", 1],
2065
+ latch: ["_type_hints", 1],
2066
+ lock_guard: ["_type_hints", 1],
2067
+ multimap: ["_type_hints", 1],
2068
+ multiset: ["_type_hints", 1],
2069
+ mutex: ["_type_hints", 1],
2070
+ optional: ["_type_hints", 1],
2071
+ ostringstream: ["_type_hints", 1],
2072
+ packaged_task: ["_type_hints", 1],
2073
+ pair: ["_type_hints", 1],
2074
+ promise: ["_type_hints", 1],
2075
+ priority_queue: ["_type_hints", 1],
2076
+ queue: ["_type_hints", 1],
2077
+ recursive_mutex: ["_type_hints", 1],
2078
+ recursive_timed_mutex: ["_type_hints", 1],
2079
+ scoped_lock: ["_type_hints", 1],
2080
+ set: ["_type_hints", 1],
2081
+ shared_future: ["_type_hints", 1],
2082
+ shared_lock: ["_type_hints", 1],
2083
+ shared_mutex: ["_type_hints", 1],
2084
+ shared_timed_mutex: ["_type_hints", 1],
2085
+ shared_ptr: ["_type_hints", 1],
2086
+ stack: ["_type_hints", 1],
2087
+ string_view: ["_type_hints", 1],
2088
+ stringstream: ["_type_hints", 1],
2089
+ timed_mutex: ["_type_hints", 1],
2090
+ thread: ["_type_hints", 1],
2091
+ true_type: ["_type_hints", 1],
2092
+ tuple: ["_type_hints", 1],
2093
+ unique_lock: ["_type_hints", 1],
2094
+ unique_ptr: ["_type_hints", 1],
2095
+ unordered_map: ["_type_hints", 1],
2096
+ unordered_multimap: ["_type_hints", 1],
2097
+ unordered_multiset: ["_type_hints", 1],
2098
+ unordered_set: ["_type_hints", 1],
2099
+ variant: ["_type_hints", 1],
2100
+ vector: ["_type_hints", 1],
2101
+ weak_ptr: ["_type_hints", 1],
2102
+ wstring: ["_type_hints", 1],
2103
+ wstring_view: ["_type_hints", 1],
2104
+ },
2105
+ keywordPattern: "\\w+",
2106
+ },
2107
+ {
2108
+ rules: [],
2109
+ begin: "[a-zA-Z]\\w*::",
2110
+ end: "\\B|\\b",
2111
+ keywords: {
2112
+ bool: ["type", 1],
2113
+ char: ["type", 1],
2114
+ char16_t: ["type", 1],
2115
+ char32_t: ["type", 1],
2116
+ char8_t: ["type", 1],
2117
+ double: ["type", 1],
2118
+ float: ["type", 1],
2119
+ int: ["type", 1],
2120
+ long: ["type", 1],
2121
+ short: ["type", 1],
2122
+ void: ["type", 1],
2123
+ wchar_t: ["type", 1],
2124
+ unsigned: ["type", 1],
2125
+ signed: ["type", 1],
2126
+ const: ["type", 1],
2127
+ static: ["type", 1],
2128
+ alignas: ["keyword", 1],
2129
+ alignof: ["keyword", 1],
2130
+ and: ["keyword", 0],
2131
+ and_eq: ["keyword", 1],
2132
+ asm: ["keyword", 1],
2133
+ atomic_cancel: ["keyword", 1],
2134
+ atomic_commit: ["keyword", 1],
2135
+ atomic_noexcept: ["keyword", 1],
2136
+ auto: ["keyword", 1],
2137
+ bitand: ["keyword", 1],
2138
+ bitor: ["keyword", 1],
2139
+ break: ["keyword", 1],
2140
+ case: ["keyword", 1],
2141
+ catch: ["keyword", 1],
2142
+ class: ["keyword", 1],
2143
+ co_await: ["keyword", 1],
2144
+ co_return: ["keyword", 1],
2145
+ co_yield: ["keyword", 1],
2146
+ compl: ["keyword", 1],
2147
+ concept: ["keyword", 1],
2148
+ const_cast: ["keyword", 10],
2149
+ consteval: ["keyword", 1],
2150
+ constexpr: ["keyword", 1],
2151
+ constinit: ["keyword", 1],
2152
+ continue: ["keyword", 1],
2153
+ decltype: ["keyword", 1],
2154
+ default: ["keyword", 1],
2155
+ delete: ["keyword", 1],
2156
+ do: ["keyword", 1],
2157
+ dynamic_cast: ["keyword", 10],
2158
+ else: ["keyword", 1],
2159
+ enum: ["keyword", 1],
2160
+ explicit: ["keyword", 1],
2161
+ export: ["keyword", 1],
2162
+ extern: ["keyword", 1],
2163
+ false: ["literal", 1],
2164
+ final: ["keyword", 1],
2165
+ for: ["keyword", 0],
2166
+ friend: ["keyword", 1],
2167
+ goto: ["keyword", 1],
2168
+ if: ["keyword", 0],
2169
+ import: ["keyword", 1],
2170
+ inline: ["keyword", 1],
2171
+ module: ["keyword", 1],
2172
+ mutable: ["keyword", 1],
2173
+ namespace: ["keyword", 1],
2174
+ "new": ["keyword", 1],
2175
+ noexcept: ["keyword", 1],
2176
+ not: ["keyword", 0],
2177
+ not_eq: ["keyword", 1],
2178
+ nullptr: ["literal", 1],
2179
+ operator: ["keyword", 1],
2180
+ or: ["keyword", 0],
2181
+ or_eq: ["keyword", 1],
2182
+ override: ["keyword", 1],
2183
+ private: ["keyword", 1],
2184
+ protected: ["keyword", 1],
2185
+ public: ["keyword", 1],
2186
+ reflexpr: ["keyword", 1],
2187
+ register: ["keyword", 1],
2188
+ reinterpret_cast: ["keyword", 10],
2189
+ requires: ["keyword", 1],
2190
+ return: ["keyword", 1],
2191
+ sizeof: ["keyword", 1],
2192
+ static_assert: ["keyword", 1],
2193
+ static_cast: ["keyword", 10],
2194
+ struct: ["keyword", 1],
2195
+ switch: ["keyword", 1],
2196
+ synchronized: ["keyword", 1],
2197
+ template: ["keyword", 1],
2198
+ this: ["keyword", 1],
2199
+ thread_local: ["keyword", 1],
2200
+ throw: ["keyword", 1],
2201
+ transaction_safe: ["keyword", 1],
2202
+ transaction_safe_dynamic: ["keyword", 1],
2203
+ true: ["literal", 1],
2204
+ try: ["keyword", 1],
2205
+ typedef: ["keyword", 1],
2206
+ typeid: ["keyword", 1],
2207
+ typename: ["keyword", 1],
2208
+ union: ["keyword", 1],
2209
+ using: ["keyword", 1],
2210
+ virtual: ["keyword", 1],
2211
+ volatile: ["keyword", 1],
2212
+ while: ["keyword", 1],
2213
+ xor: ["keyword", 1],
2214
+ xor_eq: ["keyword", 1],
2215
+ NULL: ["literal", 1],
2216
+ nullopt: ["literal", 1],
2217
+ _Pragma: ["built_in", 1],
2218
+ any: ["_type_hints", 1],
2219
+ auto_ptr: ["_type_hints", 1],
2220
+ barrier: ["_type_hints", 1],
2221
+ binary_semaphore: ["_type_hints", 1],
2222
+ bitset: ["_type_hints", 1],
2223
+ complex: ["_type_hints", 1],
2224
+ condition_variable: ["_type_hints", 1],
2225
+ condition_variable_any: ["_type_hints", 1],
2226
+ counting_semaphore: ["_type_hints", 1],
2227
+ deque: ["_type_hints", 1],
2228
+ false_type: ["_type_hints", 1],
2229
+ flat_map: ["_type_hints", 1],
2230
+ flat_set: ["_type_hints", 1],
2231
+ future: ["_type_hints", 1],
2232
+ imaginary: ["_type_hints", 1],
2233
+ initializer_list: ["_type_hints", 1],
2234
+ istringstream: ["_type_hints", 1],
2235
+ jthread: ["_type_hints", 1],
2236
+ latch: ["_type_hints", 1],
2237
+ lock_guard: ["_type_hints", 1],
2238
+ multimap: ["_type_hints", 1],
2239
+ multiset: ["_type_hints", 1],
2240
+ mutex: ["_type_hints", 1],
2241
+ optional: ["_type_hints", 1],
2242
+ ostringstream: ["_type_hints", 1],
2243
+ packaged_task: ["_type_hints", 1],
2244
+ pair: ["_type_hints", 1],
2245
+ promise: ["_type_hints", 1],
2246
+ priority_queue: ["_type_hints", 1],
2247
+ queue: ["_type_hints", 1],
2248
+ recursive_mutex: ["_type_hints", 1],
2249
+ recursive_timed_mutex: ["_type_hints", 1],
2250
+ scoped_lock: ["_type_hints", 1],
2251
+ set: ["_type_hints", 1],
2252
+ shared_future: ["_type_hints", 1],
2253
+ shared_lock: ["_type_hints", 1],
2254
+ shared_mutex: ["_type_hints", 1],
2255
+ shared_timed_mutex: ["_type_hints", 1],
2256
+ shared_ptr: ["_type_hints", 1],
2257
+ stack: ["_type_hints", 1],
2258
+ string_view: ["_type_hints", 1],
2259
+ stringstream: ["_type_hints", 1],
2260
+ timed_mutex: ["_type_hints", 1],
2261
+ thread: ["_type_hints", 1],
2262
+ true_type: ["_type_hints", 1],
2263
+ tuple: ["_type_hints", 1],
2264
+ unique_lock: ["_type_hints", 1],
2265
+ unique_ptr: ["_type_hints", 1],
2266
+ unordered_map: ["_type_hints", 1],
2267
+ unordered_multimap: ["_type_hints", 1],
2268
+ unordered_multiset: ["_type_hints", 1],
2269
+ unordered_set: ["_type_hints", 1],
2270
+ variant: ["_type_hints", 1],
2271
+ vector: ["_type_hints", 1],
2272
+ weak_ptr: ["_type_hints", 1],
2273
+ wstring: ["_type_hints", 1],
2274
+ wstring_view: ["_type_hints", 1],
2275
+ },
2276
+ keywordPattern: "\\w+",
2277
+ },
2278
+ {
2279
+ rules: [],
2280
+ begin:
2281
+ "(\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union))(\\s+)(\\w+)",
2282
+ end: "\\B|\\b",
2283
+ captureScopes: { 1: "keyword", 2: null, 3: "title.class" },
2284
+ },
2285
+ ],
2286
+ aliases: ["cc", "c++", "h++", "hpp", "hh", "hxx", "cxx"],
2287
+ },
2288
+ });
4
2289
  export default cpp;