neondeck 1.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (760) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/DEVELOPMENT.md +310 -0
  3. package/LICENSE +21 -0
  4. package/README.md +128 -0
  5. package/SOUL.md +8 -0
  6. package/bin/neondeck.mjs +27 -0
  7. package/config/dashboard.json +208 -0
  8. package/config/dashboard.schema.json +207 -0
  9. package/dist/SOUL.md +8 -0
  10. package/dist/assets/app-BuuvLo98.js +3620 -0
  11. package/dist/assets/app-BuuvLo98.js.map +1 -0
  12. package/dist/assets/autopilot-CKgEx8yQ.js +68025 -0
  13. package/dist/assets/autopilot-CKgEx8yQ.js.map +1 -0
  14. package/dist/assets/briefing-DYVbJaqk.js +2 -0
  15. package/dist/assets/briefing-DoO-fJr1.js +22 -0
  16. package/dist/assets/briefing-DoO-fJr1.js.map +1 -0
  17. package/dist/assets/command-run-B2TWLpLL.js +20 -0
  18. package/dist/assets/command-run-B2TWLpLL.js.map +1 -0
  19. package/dist/assets/command-run-CzQra_Y7.js +2 -0
  20. package/dist/assets/display-assistant-CbCRBSYM.js +389 -0
  21. package/dist/assets/display-assistant-CbCRBSYM.js.map +1 -0
  22. package/dist/assets/fix-pr-ci-BlUl-2ht.js +46 -0
  23. package/dist/assets/fix-pr-ci-BlUl-2ht.js.map +1 -0
  24. package/dist/assets/fix-pr-ci-Dl1wpKXp.js +2 -0
  25. package/dist/assets/migrations/20260710061339_neondeck_pre_1_0_baseline/migration.sql +748 -0
  26. package/dist/assets/migrations/20260710061339_neondeck_pre_1_0_baseline/snapshot.json +7240 -0
  27. package/dist/assets/prepare-pr-worktree-CLzccRYh.js +2 -0
  28. package/dist/assets/prepare-pr-worktree-DxyTygiU.js +17 -0
  29. package/dist/assets/prepare-pr-worktree-DxyTygiU.js.map +1 -0
  30. package/dist/assets/push-pr-autofix-BFNSEASU.js +2 -0
  31. package/dist/assets/push-pr-autofix-DlVjw1IN.js +17 -0
  32. package/dist/assets/push-pr-autofix-DlVjw1IN.js.map +1 -0
  33. package/dist/assets/review-pr-for-human-B2j8wz2L.js +2 -0
  34. package/dist/assets/review-pr-for-human-DcGE-7wb.js +708 -0
  35. package/dist/assets/review-pr-for-human-DcGE-7wb.js.map +1 -0
  36. package/dist/assets/safety-CawD9GxD.js +2499 -0
  37. package/dist/assets/safety-CawD9GxD.js.map +1 -0
  38. package/dist/assets/scheduled-agent-instruction-CQgogBv3.js +22 -0
  39. package/dist/assets/scheduled-agent-instruction-CQgogBv3.js.map +1 -0
  40. package/dist/assets/scheduled-agent-instruction-Dr2ebZRD.js +2 -0
  41. package/dist/assets/scheduler-tick-Cy26qBld.js +105 -0
  42. package/dist/assets/scheduler-tick-Cy26qBld.js.map +1 -0
  43. package/dist/assets/skills/github-gh/SKILL.md +56 -0
  44. package/dist/assets/skills/neon-ci-fix/SKILL.md +15 -0
  45. package/dist/assets/skills/neon-docs-fix/SKILL.md +15 -0
  46. package/dist/assets/skills/neon-issue-triage/SKILL.md +13 -0
  47. package/dist/assets/skills/neon-pr-review/SKILL.md +19 -0
  48. package/dist/assets/skills/neondeck/SKILL.md +123 -0
  49. package/dist/assets/skills/neondeck-handoff/SKILL.md +31 -0
  50. package/dist/assets/triage-pr-event-BlE3GKNR.js +17 -0
  51. package/dist/assets/triage-pr-event-BlE3GKNR.js.map +1 -0
  52. package/dist/assets/triage-pr-event-hxUP587F.js +2 -0
  53. package/dist/assets/verify-then-push-pr-autofix-CIl5ZwZm.js +2 -0
  54. package/dist/assets/verify-then-push-pr-autofix-Djy0UFUv.js +75 -0
  55. package/dist/assets/verify-then-push-pr-autofix-Djy0UFUv.js.map +1 -0
  56. package/dist/config/dashboard.json +208 -0
  57. package/dist/config/dashboard.schema.json +207 -0
  58. package/dist/server.mjs +582 -0
  59. package/dist/server.mjs.map +1 -0
  60. package/dist/skills/github-gh/SKILL.md +56 -0
  61. package/dist/skills/neon-ci-fix/SKILL.md +15 -0
  62. package/dist/skills/neon-docs-fix/SKILL.md +15 -0
  63. package/dist/skills/neon-issue-triage/SKILL.md +13 -0
  64. package/dist/skills/neon-pr-review/SKILL.md +19 -0
  65. package/dist/skills/neondeck/SKILL.md +123 -0
  66. package/dist/skills/neondeck-handoff/SKILL.md +31 -0
  67. package/drizzle.config.ts +7 -0
  68. package/package.json +155 -0
  69. package/shared/patch-anchors.ts +78 -0
  70. package/src/agents/busywork-workflow.ts +24 -0
  71. package/src/agents/display-assistant.ts +134 -0
  72. package/src/agents/pr-review-assistant.ts +25 -0
  73. package/src/agents/scheduler-workflow.ts +20 -0
  74. package/src/agents/support/tools.ts +346 -0
  75. package/src/app.ts +1 -0
  76. package/src/cli/index.ts +560 -0
  77. package/src/cli/learning.ts +44 -0
  78. package/src/cli/mcp.ts +496 -0
  79. package/src/cli/modules.ts +107 -0
  80. package/src/cli/onboarding.ts +667 -0
  81. package/src/cli/options.ts +103 -0
  82. package/src/cli/output.ts +399 -0
  83. package/src/cli/preapprovals.ts +204 -0
  84. package/src/cli/prompts.ts +108 -0
  85. package/src/cli/types.ts +59 -0
  86. package/src/db.ts +41 -0
  87. package/src/desktop/open.ts +698 -0
  88. package/src/desktop/service.ts +863 -0
  89. package/src/domains/mcp/actions.ts +420 -0
  90. package/src/domains/mcp/config.ts +501 -0
  91. package/src/domains/mcp/format.ts +35 -0
  92. package/src/domains/mcp/gate.ts +188 -0
  93. package/src/domains/mcp/index.ts +9 -0
  94. package/src/domains/mcp/instructions.ts +18 -0
  95. package/src/domains/mcp/oauth.ts +1063 -0
  96. package/src/domains/mcp/policy.ts +15 -0
  97. package/src/domains/mcp/registry.ts +461 -0
  98. package/src/domains/mcp/schemas.ts +171 -0
  99. package/src/domains/mcp/stdio.ts +451 -0
  100. package/src/domains/mcp/store.ts +905 -0
  101. package/src/domains/mcp/tools.ts +119 -0
  102. package/src/lib/action-result.ts +51 -0
  103. package/src/lib/exec.ts +118 -0
  104. package/src/lib/git.ts +20 -0
  105. package/src/lib/report-html.ts +193 -0
  106. package/src/lib/sqlite.ts +51 -0
  107. package/src/lib/valibot.ts +33 -0
  108. package/src/modules/app-state/index.ts +5 -0
  109. package/src/modules/app-state/native-notifications.ts +76 -0
  110. package/src/modules/app-state/notification-events.ts +45 -0
  111. package/src/modules/app-state/notifications.ts +276 -0
  112. package/src/modules/app-state/types.ts +42 -0
  113. package/src/modules/app-state/workflow-summaries.ts +201 -0
  114. package/src/modules/autonomous-audit/index.ts +225 -0
  115. package/src/modules/autopilot/actions.ts +165 -0
  116. package/src/modules/autopilot/admissions.ts +865 -0
  117. package/src/modules/autopilot/approvals.ts +59 -0
  118. package/src/modules/autopilot/ci-fix-run.ts +1332 -0
  119. package/src/modules/autopilot/ci-fix.ts +692 -0
  120. package/src/modules/autopilot/comments.ts +426 -0
  121. package/src/modules/autopilot/fixtures.ts +344 -0
  122. package/src/modules/autopilot/github-facts.ts +303 -0
  123. package/src/modules/autopilot/index.ts +64 -0
  124. package/src/modules/autopilot/notifications.ts +271 -0
  125. package/src/modules/autopilot/push-support.ts +288 -0
  126. package/src/modules/autopilot/push.ts +661 -0
  127. package/src/modules/autopilot/recovery.ts +656 -0
  128. package/src/modules/autopilot/review-feedback.ts +651 -0
  129. package/src/modules/autopilot/review-support.ts +524 -0
  130. package/src/modules/autopilot/revision-run.ts +445 -0
  131. package/src/modules/autopilot/schemas.ts +485 -0
  132. package/src/modules/autopilot/state-mappers.ts +512 -0
  133. package/src/modules/autopilot/state-schemas.ts +451 -0
  134. package/src/modules/autopilot/state-store.ts +183 -0
  135. package/src/modules/autopilot/state.ts +255 -0
  136. package/src/modules/autopilot/triage-support.ts +234 -0
  137. package/src/modules/autopilot/triage.ts +156 -0
  138. package/src/modules/autopilot/utils.ts +145 -0
  139. package/src/modules/autopilot/worktree.ts +622 -0
  140. package/src/modules/autopilot-policy/config.ts +110 -0
  141. package/src/modules/autopilot-policy/index.ts +4 -0
  142. package/src/modules/autopilot-policy/risk.ts +359 -0
  143. package/src/modules/autopilot-policy/schemas.ts +284 -0
  144. package/src/modules/autopilot-policy/service.ts +304 -0
  145. package/src/modules/commands/actions.ts +112 -0
  146. package/src/modules/commands/handlers/index.ts +3 -0
  147. package/src/modules/commands/handlers/misc.ts +441 -0
  148. package/src/modules/commands/handlers/queue.ts +694 -0
  149. package/src/modules/commands/handlers/repo.ts +339 -0
  150. package/src/modules/commands/index.ts +5 -0
  151. package/src/modules/commands/registry.ts +157 -0
  152. package/src/modules/commands/runner.ts +152 -0
  153. package/src/modules/commands/schemas.ts +107 -0
  154. package/src/modules/commands/summaries.ts +92 -0
  155. package/src/modules/commands/utils.ts +113 -0
  156. package/src/modules/config/actions.ts +253 -0
  157. package/src/modules/config/events.ts +80 -0
  158. package/src/modules/config/files.ts +9 -0
  159. package/src/modules/config/history.ts +74 -0
  160. package/src/modules/config/index.ts +9 -0
  161. package/src/modules/config/mutations/dashboard.ts +319 -0
  162. package/src/modules/config/mutations/execution.ts +89 -0
  163. package/src/modules/config/mutations/models.ts +467 -0
  164. package/src/modules/config/mutations/providers.ts +163 -0
  165. package/src/modules/config/mutations/repos.ts +620 -0
  166. package/src/modules/config/read.ts +135 -0
  167. package/src/modules/config/result.ts +66 -0
  168. package/src/modules/config/schemas.ts +181 -0
  169. package/src/modules/docs-drift/index.ts +1 -0
  170. package/src/modules/docs-drift/service.ts +863 -0
  171. package/src/modules/execution/actions.ts +35 -0
  172. package/src/modules/execution/approvals.ts +322 -0
  173. package/src/modules/execution/exedev/checkouts.ts +356 -0
  174. package/src/modules/execution/exedev/context.ts +286 -0
  175. package/src/modules/execution/index.ts +7 -0
  176. package/src/modules/execution/policy.ts +102 -0
  177. package/src/modules/execution/run.ts +589 -0
  178. package/src/modules/execution/schemas.ts +116 -0
  179. package/src/modules/execution/scope.ts +137 -0
  180. package/src/modules/execution/store.ts +320 -0
  181. package/src/modules/execution/utils.ts +105 -0
  182. package/src/modules/execution-policy/index.ts +424 -0
  183. package/src/modules/flue/execution-context.ts +41 -0
  184. package/src/modules/github/actions.ts +334 -0
  185. package/src/modules/github/checks.ts +484 -0
  186. package/src/modules/github/client.ts +110 -0
  187. package/src/modules/github/comments.ts +204 -0
  188. package/src/modules/github/errors.ts +50 -0
  189. package/src/modules/github/index.ts +92 -0
  190. package/src/modules/github/issues.ts +116 -0
  191. package/src/modules/github/pr-file-cache.ts +264 -0
  192. package/src/modules/github/pull-requests.ts +384 -0
  193. package/src/modules/github/queue.ts +342 -0
  194. package/src/modules/github/reviews.ts +1421 -0
  195. package/src/modules/github/schemas.ts +794 -0
  196. package/src/modules/github/state-truncation.ts +31 -0
  197. package/src/modules/handoff/index.ts +2 -0
  198. package/src/modules/handoff/schemas.ts +61 -0
  199. package/src/modules/handoff/service.ts +587 -0
  200. package/src/modules/hygiene/index.ts +1 -0
  201. package/src/modules/hygiene/service.ts +513 -0
  202. package/src/modules/kilo/actions.ts +229 -0
  203. package/src/modules/kilo/ci-fix-run-reconcile.ts +299 -0
  204. package/src/modules/kilo/docs-drift-boundary.ts +178 -0
  205. package/src/modules/kilo/index.ts +8 -0
  206. package/src/modules/kilo/notifications.ts +295 -0
  207. package/src/modules/kilo/process.ts +637 -0
  208. package/src/modules/kilo/results/actions.ts +66 -0
  209. package/src/modules/kilo/results/gates.ts +227 -0
  210. package/src/modules/kilo/results/index.ts +23 -0
  211. package/src/modules/kilo/results/schemas.ts +112 -0
  212. package/src/modules/kilo/results/service.ts +512 -0
  213. package/src/modules/kilo/results/state.ts +508 -0
  214. package/src/modules/kilo/results/verify.ts +328 -0
  215. package/src/modules/kilo/revision-reconcile.ts +187 -0
  216. package/src/modules/kilo/runtime-facts.ts +128 -0
  217. package/src/modules/kilo/schemas.ts +265 -0
  218. package/src/modules/kilo/service.ts +714 -0
  219. package/src/modules/kilo/sessions-adapters.ts +343 -0
  220. package/src/modules/kilo/sessions.ts +446 -0
  221. package/src/modules/kilo/store.ts +689 -0
  222. package/src/modules/kilo/utils.ts +166 -0
  223. package/src/modules/learning/automation-health.ts +441 -0
  224. package/src/modules/learning/automation-memory.ts +179 -0
  225. package/src/modules/learning/index.ts +6 -0
  226. package/src/modules/learning/observability.ts +616 -0
  227. package/src/modules/learning/operator.ts +404 -0
  228. package/src/modules/learning/reviews/agents.ts +33 -0
  229. package/src/modules/learning/reviews/complete.ts +321 -0
  230. package/src/modules/learning/reviews/context.ts +145 -0
  231. package/src/modules/learning/reviews/events.ts +306 -0
  232. package/src/modules/learning/reviews/index.ts +6 -0
  233. package/src/modules/learning/reviews/pr-cadence.ts +157 -0
  234. package/src/modules/learning/reviews/pr-context.ts +749 -0
  235. package/src/modules/learning/reviews/prepare.ts +387 -0
  236. package/src/modules/learning/reviews/schemas.ts +184 -0
  237. package/src/modules/learning/reviews/store.ts +405 -0
  238. package/src/modules/learning/skill-patches/actions.ts +86 -0
  239. package/src/modules/learning/skill-patches/index.ts +3 -0
  240. package/src/modules/learning/skill-patches/schemas.ts +60 -0
  241. package/src/modules/learning/skill-patches/service.ts +571 -0
  242. package/src/modules/learning/skill-patches/support.ts +417 -0
  243. package/src/modules/memory/actions.ts +183 -0
  244. package/src/modules/memory/candidates.ts +525 -0
  245. package/src/modules/memory/events.ts +2 -0
  246. package/src/modules/memory/index.ts +6 -0
  247. package/src/modules/memory/prompt.ts +214 -0
  248. package/src/modules/memory/schemas.ts +170 -0
  249. package/src/modules/memory/service.ts +578 -0
  250. package/src/modules/memory/store.ts +489 -0
  251. package/src/modules/pr-events/actions.ts +191 -0
  252. package/src/modules/pr-events/index.ts +45 -0
  253. package/src/modules/pr-events/schemas.ts +186 -0
  254. package/src/modules/pr-events/service.ts +1414 -0
  255. package/src/modules/pr-events/target.ts +222 -0
  256. package/src/modules/pr-events/utils.ts +85 -0
  257. package/src/modules/pr-events/watermarks.ts +308 -0
  258. package/src/modules/pr-local-diffs/index.ts +334 -0
  259. package/src/modules/pr-review-assist/actions.ts +199 -0
  260. package/src/modules/pr-review-assist/index.ts +3 -0
  261. package/src/modules/pr-review-assist/schemas.ts +74 -0
  262. package/src/modules/pr-review-assist/service.ts +656 -0
  263. package/src/modules/prepared-diffs/actions.ts +132 -0
  264. package/src/modules/prepared-diffs/index.ts +53 -0
  265. package/src/modules/prepared-diffs/schemas.ts +255 -0
  266. package/src/modules/prepared-diffs/service.ts +777 -0
  267. package/src/modules/prepared-diffs/store.ts +606 -0
  268. package/src/modules/reports/index.ts +1 -0
  269. package/src/modules/reports/service.ts +322 -0
  270. package/src/modules/repos/index.ts +3 -0
  271. package/src/modules/repos/model-discovery.ts +233 -0
  272. package/src/modules/repos/providers.ts +194 -0
  273. package/src/modules/repos/registry.ts +232 -0
  274. package/src/modules/runtime/agent-config.ts +167 -0
  275. package/src/modules/runtime/doctor.ts +528 -0
  276. package/src/modules/runtime/env.ts +123 -0
  277. package/src/modules/runtime/index.ts +12 -0
  278. package/src/modules/runtime/local-api-auth.ts +43 -0
  279. package/src/modules/runtime/metrics.ts +211 -0
  280. package/src/modules/runtime/skills-actions.ts +141 -0
  281. package/src/modules/runtime/skills.ts +689 -0
  282. package/src/modules/runtime/soul.ts +68 -0
  283. package/src/modules/runtime/status-database.ts +252 -0
  284. package/src/modules/runtime/status-schema.ts +149 -0
  285. package/src/modules/runtime/status.ts +482 -0
  286. package/src/modules/runtime/subagents.ts +37 -0
  287. package/src/modules/runtime/utility-model.ts +47 -0
  288. package/src/modules/safety/index.ts +3 -0
  289. package/src/modules/safety/policy-entries.ts +2432 -0
  290. package/src/modules/safety/schemas.ts +63 -0
  291. package/src/modules/safety/service.ts +58 -0
  292. package/src/modules/safety/tools.ts +15 -0
  293. package/src/modules/scheduled-tasks/actions.ts +113 -0
  294. package/src/modules/scheduled-tasks/dispatch.ts +105 -0
  295. package/src/modules/scheduled-tasks/index.ts +6 -0
  296. package/src/modules/scheduled-tasks/schemas.ts +91 -0
  297. package/src/modules/scheduled-tasks/service.ts +296 -0
  298. package/src/modules/scheduled-tasks/store.ts +814 -0
  299. package/src/modules/scheduled-tasks/triggers.ts +87 -0
  300. package/src/modules/scheduler/actions.ts +37 -0
  301. package/src/modules/scheduler/dispatch.ts +126 -0
  302. package/src/modules/scheduler/index.ts +4 -0
  303. package/src/modules/scheduler/lease.ts +247 -0
  304. package/src/modules/scheduler/pr-watch-event-deltas.ts +367 -0
  305. package/src/modules/scheduler/pr-watch-events.ts +834 -0
  306. package/src/modules/scheduler/schemas.ts +79 -0
  307. package/src/modules/scheduler/service.ts +228 -0
  308. package/src/modules/scheduler/utils.ts +106 -0
  309. package/src/modules/scheduler/workflow-invocation.ts +40 -0
  310. package/src/modules/sessions/actions.ts +213 -0
  311. package/src/modules/sessions/active-session.ts +46 -0
  312. package/src/modules/sessions/agent-context.ts +146 -0
  313. package/src/modules/sessions/approval-nudges.ts +156 -0
  314. package/src/modules/sessions/events.ts +58 -0
  315. package/src/modules/sessions/index.ts +10 -0
  316. package/src/modules/sessions/queries.ts +252 -0
  317. package/src/modules/sessions/references.ts +113 -0
  318. package/src/modules/sessions/schemas.ts +263 -0
  319. package/src/modules/sessions/service.ts +845 -0
  320. package/src/modules/sessions/store.ts +559 -0
  321. package/src/modules/sessions/summaries.ts +129 -0
  322. package/src/modules/sessions/utils.ts +18 -0
  323. package/src/modules/watches/actions.ts +115 -0
  324. package/src/modules/watches/index.ts +6 -0
  325. package/src/modules/watches/polling.ts +245 -0
  326. package/src/modules/watches/references.ts +293 -0
  327. package/src/modules/watches/schemas.ts +156 -0
  328. package/src/modules/watches/service.ts +558 -0
  329. package/src/modules/watches/store.ts +398 -0
  330. package/src/modules/watches/utils.ts +51 -0
  331. package/src/modules/worktree-verification/index.ts +256 -0
  332. package/src/modules/worktrees/access.ts +129 -0
  333. package/src/modules/worktrees/actions.ts +108 -0
  334. package/src/modules/worktrees/cleanup.ts +98 -0
  335. package/src/modules/worktrees/errors.ts +38 -0
  336. package/src/modules/worktrees/git.ts +48 -0
  337. package/src/modules/worktrees/index.ts +5 -0
  338. package/src/modules/worktrees/locks.ts +192 -0
  339. package/src/modules/worktrees/paths.ts +209 -0
  340. package/src/modules/worktrees/queries.ts +31 -0
  341. package/src/modules/worktrees/schemas.ts +234 -0
  342. package/src/modules/worktrees/service.ts +657 -0
  343. package/src/modules/worktrees/store.ts +414 -0
  344. package/src/repo-edit/actions.ts +129 -0
  345. package/src/repo-edit/audit.ts +180 -0
  346. package/src/repo-edit/fuzzy-replace.ts +256 -0
  347. package/src/repo-edit/git.ts +784 -0
  348. package/src/repo-edit/index.ts +4 -0
  349. package/src/repo-edit/locks.ts +27 -0
  350. package/src/repo-edit/patch-parser.ts +212 -0
  351. package/src/repo-edit/patch-service.ts +572 -0
  352. package/src/repo-edit/path-safety.ts +294 -0
  353. package/src/repo-edit/schemas.ts +220 -0
  354. package/src/repo-edit/service.ts +488 -0
  355. package/src/repo-edit/support.ts +459 -0
  356. package/src/runtime-home/app-db/index.ts +73 -0
  357. package/src/runtime-home/app-db/migrate.ts +491 -0
  358. package/src/runtime-home/app-db/migrations/20260710061339_neondeck_pre_1_0_baseline/migration.sql +748 -0
  359. package/src/runtime-home/app-db/migrations/20260710061339_neondeck_pre_1_0_baseline/snapshot.json +7240 -0
  360. package/src/runtime-home/app-db/reconcile.ts +155 -0
  361. package/src/runtime-home/app-db/schema.ts +1118 -0
  362. package/src/runtime-home/bootstrap.ts +171 -0
  363. package/src/runtime-home/defaults.ts +42 -0
  364. package/src/runtime-home/files.ts +193 -0
  365. package/src/runtime-home/index.ts +68 -0
  366. package/src/runtime-home/paths.ts +75 -0
  367. package/src/runtime-home/schemas.ts +485 -0
  368. package/src/sandboxes/exedev.ts +676 -0
  369. package/src/server/app.ts +5 -0
  370. package/src/server/autopilot-push-dispatch.ts +326 -0
  371. package/src/server/create-app.ts +160 -0
  372. package/src/server/events/config-stream.ts +67 -0
  373. package/src/server/events/notification-stream.ts +49 -0
  374. package/src/server/events/session-stream.ts +49 -0
  375. package/src/server/http.ts +56 -0
  376. package/src/server/learning-hooks.ts +430 -0
  377. package/src/server/middleware.ts +81 -0
  378. package/src/server/routes/autopilot.ts +318 -0
  379. package/src/server/routes/commands.ts +12 -0
  380. package/src/server/routes/config.ts +124 -0
  381. package/src/server/routes/execution.ts +71 -0
  382. package/src/server/routes/github.ts +372 -0
  383. package/src/server/routes/handoff.ts +69 -0
  384. package/src/server/routes/kilo.ts +179 -0
  385. package/src/server/routes/learning.ts +384 -0
  386. package/src/server/routes/mcp.ts +301 -0
  387. package/src/server/routes/memory.ts +99 -0
  388. package/src/server/routes/metrics.ts +12 -0
  389. package/src/server/routes/notifications.ts +48 -0
  390. package/src/server/routes/repo-edit.ts +115 -0
  391. package/src/server/routes/reports.ts +127 -0
  392. package/src/server/routes/repos.ts +50 -0
  393. package/src/server/routes/runtime.ts +48 -0
  394. package/src/server/routes/safety.ts +13 -0
  395. package/src/server/routes/scheduled-tasks.ts +58 -0
  396. package/src/server/routes/scheduler.ts +13 -0
  397. package/src/server/routes/sessions.ts +216 -0
  398. package/src/server/routes/skills.ts +103 -0
  399. package/src/server/routes/watches.ts +81 -0
  400. package/src/server/routes/workflows.ts +21 -0
  401. package/src/server/routes/worktrees.ts +64 -0
  402. package/src/server/scheduler-workflow.ts +541 -0
  403. package/src/server/serve.ts +100 -0
  404. package/src/setup.ts +162 -0
  405. package/src/skills/github-gh/SKILL.md +56 -0
  406. package/src/skills/neon-ci-fix/SKILL.md +15 -0
  407. package/src/skills/neon-docs-fix/SKILL.md +15 -0
  408. package/src/skills/neon-issue-triage/SKILL.md +13 -0
  409. package/src/skills/neon-pr-review/SKILL.md +19 -0
  410. package/src/skills/neondeck/SKILL.md +123 -0
  411. package/src/skills/neondeck-handoff/SKILL.md +31 -0
  412. package/src/workflows/briefing.ts +14 -0
  413. package/src/workflows/command-run.ts +15 -0
  414. package/src/workflows/comment-pr-autofix-result.ts +10 -0
  415. package/src/workflows/curate_learning_store.ts +37 -0
  416. package/src/workflows/dev-doctor.ts +10 -0
  417. package/src/workflows/fix-pr-ci-failure.ts +10 -0
  418. package/src/workflows/fix-pr-ci.ts +15 -0
  419. package/src/workflows/fix-pr-review-feedback.ts +10 -0
  420. package/src/workflows/handoff_to_kilo.ts +10 -0
  421. package/src/workflows/prepare-pr-worktree.ts +10 -0
  422. package/src/workflows/promote_kilo_result.ts +10 -0
  423. package/src/workflows/push-pr-autofix.ts +10 -0
  424. package/src/workflows/reconcile_kilo_task.ts +10 -0
  425. package/src/workflows/review-pr-for-human.ts +15 -0
  426. package/src/workflows/review_conversation_for_learning.ts +37 -0
  427. package/src/workflows/review_kilo_result.ts +10 -0
  428. package/src/workflows/review_pr_batch_for_learning.ts +37 -0
  429. package/src/workflows/scheduled-agent-instruction.ts +16 -0
  430. package/src/workflows/scheduler-tick.ts +10 -0
  431. package/src/workflows/summarize_kilo_session.ts +25 -0
  432. package/src/workflows/triage-pr-event.ts +10 -0
  433. package/src/workflows/verify-pr-worktree.ts +10 -0
  434. package/src/workflows/verify-then-push-pr-autofix.ts +82 -0
  435. package/src/workflows/verify_kilo_result.ts +10 -0
  436. package/src/workflows/watch-pr.ts +10 -0
  437. package/web/dist/assets/GitHubPrReview-QK9oqeDs.js +2 -0
  438. package/web/dist/assets/MultiFileView-CMm6tA9f.js +2970 -0
  439. package/web/dist/assets/abap-CLvhMVsD.js +1 -0
  440. package/web/dist/assets/actionscript-3--17pq3dv.js +1 -0
  441. package/web/dist/assets/ada-C5qYipkI.js +1 -0
  442. package/web/dist/assets/andromeeda-vGVdxbeo.js +1 -0
  443. package/web/dist/assets/angular-html-BVBpGdXr.js +1 -0
  444. package/web/dist/assets/angular-ts-BfdufMKP.js +1 -0
  445. package/web/dist/assets/apache-U0d_L8uA.js +1 -0
  446. package/web/dist/assets/apex-VAyPSnFM.js +1 -0
  447. package/web/dist/assets/apl-DWBSSoBH.js +1 -0
  448. package/web/dist/assets/applescript-CCn79oCD.js +1 -0
  449. package/web/dist/assets/ara-4CJ0cIlV.js +1 -0
  450. package/web/dist/assets/asciidoc-DE70LPWp.js +1 -0
  451. package/web/dist/assets/asm-Cmm7eHzH.js +1 -0
  452. package/web/dist/assets/astro-3LtMP0Sq.js +1 -0
  453. package/web/dist/assets/aurora-x-CDeNXAV0.js +1 -0
  454. package/web/dist/assets/awk-BWXHIvNe.js +1 -0
  455. package/web/dist/assets/ayu-dark-DluEY0Gj.js +1 -0
  456. package/web/dist/assets/ayu-light-C3h-C4tm.js +1 -0
  457. package/web/dist/assets/ayu-mirage-Bqwy1Gya.js +1 -0
  458. package/web/dist/assets/ballerina-B7ZEbQpA.js +1 -0
  459. package/web/dist/assets/bat-Bo4NYOV-.js +1 -0
  460. package/web/dist/assets/beancount-D-usSTwE.js +1 -0
  461. package/web/dist/assets/berry-DKpUyyne.js +1 -0
  462. package/web/dist/assets/bibtex-Ci_nEsc7.js +1 -0
  463. package/web/dist/assets/bicep-CUHmPFLl.js +1 -0
  464. package/web/dist/assets/bird2-C6vDhewU.js +1 -0
  465. package/web/dist/assets/blade-llJRbbtR.js +1 -0
  466. package/web/dist/assets/bsl-BkkzgIyY.js +1 -0
  467. package/web/dist/assets/c-Wt1voDr2.js +1 -0
  468. package/web/dist/assets/c3-BFHwR3_K.js +1 -0
  469. package/web/dist/assets/cadence-CQ2zXKGN.js +1 -0
  470. package/web/dist/assets/cairo-DLTphjLi.js +1 -0
  471. package/web/dist/assets/catppuccin-frappe-3VR1Za6u.js +1 -0
  472. package/web/dist/assets/catppuccin-latte-DwIHMF0Q.js +1 -0
  473. package/web/dist/assets/catppuccin-macchiato-DYnBP6_5.js +1 -0
  474. package/web/dist/assets/catppuccin-mocha-DYhrFGRu.js +1 -0
  475. package/web/dist/assets/clarity-SemFz856.js +1 -0
  476. package/web/dist/assets/clojure-DqKBuwfJ.js +1 -0
  477. package/web/dist/assets/cmake-Bj61d0ZC.js +1 -0
  478. package/web/dist/assets/cobol-x_HIyl2P.js +1 -0
  479. package/web/dist/assets/codeowners-C8r90Shi.js +1 -0
  480. package/web/dist/assets/codeql-oeQT6MSM.js +1 -0
  481. package/web/dist/assets/coffee-CThvmt4R.js +1 -0
  482. package/web/dist/assets/common-lisp-Cv5bFMCO.js +1 -0
  483. package/web/dist/assets/coq-BrsZFFmf.js +1 -0
  484. package/web/dist/assets/cpp-NtAeskI3.js +1 -0
  485. package/web/dist/assets/crystal-DNu_sX0G.js +1 -0
  486. package/web/dist/assets/csharp-oqKa8noW.js +1 -0
  487. package/web/dist/assets/css-DJp_X0uY.js +1 -0
  488. package/web/dist/assets/csv-Dx-8-gkx.js +1 -0
  489. package/web/dist/assets/cue-CE9AQfxI.js +1 -0
  490. package/web/dist/assets/cypher-ClKdZ_lG.js +1 -0
  491. package/web/dist/assets/d-qD-0Kul2.js +1 -0
  492. package/web/dist/assets/dark-plus-Cs2F2srj.js +1 -0
  493. package/web/dist/assets/dart-CnvKMtbv.js +1 -0
  494. package/web/dist/assets/dax-BkyTk9wS.js +1 -0
  495. package/web/dist/assets/desktop-Dlh5hvp9.js +1 -0
  496. package/web/dist/assets/diff-woXpYk--.js +1 -0
  497. package/web/dist/assets/docker-IyjqRm3v.js +1 -0
  498. package/web/dist/assets/dotenv-_5a1GRtc.js +1 -0
  499. package/web/dist/assets/dracula-BHWKrbxM.js +1 -0
  500. package/web/dist/assets/dracula-soft-5eyTD99u.js +1 -0
  501. package/web/dist/assets/dream-maker-DW3nJb8Q.js +1 -0
  502. package/web/dist/assets/edge-ozw5tpLl.js +1 -0
  503. package/web/dist/assets/elixir-VhA6FeZt.js +1 -0
  504. package/web/dist/assets/elm-dREJmIFz.js +1 -0
  505. package/web/dist/assets/emacs-lisp-B4R74twV.js +1 -0
  506. package/web/dist/assets/erb-CIg6G69l.js +1 -0
  507. package/web/dist/assets/erlang-Cphh6RMH.js +1 -0
  508. package/web/dist/assets/everforest-dark-sB-x3p7T.js +1 -0
  509. package/web/dist/assets/everforest-light-Df2xbC6M.js +1 -0
  510. package/web/dist/assets/fennel-DQxkIbk2.js +1 -0
  511. package/web/dist/assets/fish-BJitypiv.js +1 -0
  512. package/web/dist/assets/fluent-C03EYrpw.js +1 -0
  513. package/web/dist/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
  514. package/web/dist/assets/fortran-free-form-CYNrtFtB.js +1 -0
  515. package/web/dist/assets/fsharp-D13ZGOAj.js +1 -0
  516. package/web/dist/assets/gdresource-C0sCabJj.js +1 -0
  517. package/web/dist/assets/gdscript-Cp2uCuqX.js +1 -0
  518. package/web/dist/assets/gdshader-CBce3t8t.js +1 -0
  519. package/web/dist/assets/genie-CV2tkWYe.js +1 -0
  520. package/web/dist/assets/gherkin-DExj1W_8.js +1 -0
  521. package/web/dist/assets/git-commit-BSykSTBG.js +1 -0
  522. package/web/dist/assets/git-rebase-B44mJPta.js +1 -0
  523. package/web/dist/assets/github-dark-C-LZuMrd.js +1 -0
  524. package/web/dist/assets/github-dark-default-DXG-b-1a.js +1 -0
  525. package/web/dist/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
  526. package/web/dist/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
  527. package/web/dist/assets/github-light-EUqPIrTm.js +1 -0
  528. package/web/dist/assets/github-light-default-BXViO-2h.js +1 -0
  529. package/web/dist/assets/github-light-high-contrast-B68TUdTA.js +1 -0
  530. package/web/dist/assets/gleam-CSRkHgEL.js +1 -0
  531. package/web/dist/assets/glimmer-js-vH_gHG0-.js +1 -0
  532. package/web/dist/assets/glimmer-ts--abOzSAQ.js +1 -0
  533. package/web/dist/assets/glsl-Dv5r7kPw.js +1 -0
  534. package/web/dist/assets/gn-ilITqXS6.js +1 -0
  535. package/web/dist/assets/gnuplot-7GGW24-e.js +1 -0
  536. package/web/dist/assets/go-rLFTqkRN.js +1 -0
  537. package/web/dist/assets/graphql-CB4jsw2E.js +1 -0
  538. package/web/dist/assets/groovy-CacY0gHj.js +1 -0
  539. package/web/dist/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
  540. package/web/dist/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
  541. package/web/dist/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
  542. package/web/dist/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
  543. package/web/dist/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
  544. package/web/dist/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
  545. package/web/dist/assets/hack-DvEYX148.js +1 -0
  546. package/web/dist/assets/haml-zE6W3STP.js +1 -0
  547. package/web/dist/assets/handlebars-CzBR2SDs.js +1 -0
  548. package/web/dist/assets/haskell-D8IpX4py.js +1 -0
  549. package/web/dist/assets/haxe-OTjmBuCE.js +1 -0
  550. package/web/dist/assets/hcl-Dh228itO.js +1 -0
  551. package/web/dist/assets/hjson-CxZEssPk.js +1 -0
  552. package/web/dist/assets/hlsl-Cvrh5tZx.js +1 -0
  553. package/web/dist/assets/horizon-CE9ld1lL.js +1 -0
  554. package/web/dist/assets/horizon-bright-DSNQnXHK.js +1 -0
  555. package/web/dist/assets/houston-CsvMBhTu.js +1 -0
  556. package/web/dist/assets/html-C8UlPnhE.js +1 -0
  557. package/web/dist/assets/html-derivative-CY6NRz-J.js +1 -0
  558. package/web/dist/assets/http-Cyd7bS_S.js +1 -0
  559. package/web/dist/assets/hurl-CWPsiEpf.js +1 -0
  560. package/web/dist/assets/hxml-B0Qn7Nwc.js +1 -0
  561. package/web/dist/assets/hy-CZbG8q4J.js +1 -0
  562. package/web/dist/assets/imba-DsUTQ-LC.js +1 -0
  563. package/web/dist/assets/index-DqZpo0Jd.js +44 -0
  564. package/web/dist/assets/index-_jKCE4ks.css +2 -0
  565. package/web/dist/assets/ini-B5eOa1yu.js +1 -0
  566. package/web/dist/assets/java-CGc3VwQr.js +1 -0
  567. package/web/dist/assets/javascript-CUt1pgmJ.js +1 -0
  568. package/web/dist/assets/jinja-CD-Z-FLd.js +1 -0
  569. package/web/dist/assets/jison-imPNup1l.js +1 -0
  570. package/web/dist/assets/json-Bg9ijW3F.js +1 -0
  571. package/web/dist/assets/json5-BR5RXkoi.js +1 -0
  572. package/web/dist/assets/jsonc-CYpm1nAK.js +1 -0
  573. package/web/dist/assets/jsonl-CmCQp5Yx.js +1 -0
  574. package/web/dist/assets/jsonnet-CJTPZ8u_.js +1 -0
  575. package/web/dist/assets/jssm-DXw9l8Rf.js +1 -0
  576. package/web/dist/assets/jsx-CY6oMTks.js +1 -0
  577. package/web/dist/assets/julia-Dc3O-irA.js +1 -0
  578. package/web/dist/assets/just-BhOq_Kbv.js +1 -0
  579. package/web/dist/assets/kanagawa-dragon-CXtmUGW6.js +1 -0
  580. package/web/dist/assets/kanagawa-lotus-BN08jTvb.js +1 -0
  581. package/web/dist/assets/kanagawa-wave-CTweb8Dz.js +1 -0
  582. package/web/dist/assets/kdl-CsD5j6eV.js +1 -0
  583. package/web/dist/assets/kotlin-DhhofPvG.js +1 -0
  584. package/web/dist/assets/kusto-C7mF5XQf.js +1 -0
  585. package/web/dist/assets/laserwave-C_8bwKvT.js +1 -0
  586. package/web/dist/assets/latex-Cu4Y1d5w.js +1 -0
  587. package/web/dist/assets/lean-CewbzKMR.js +1 -0
  588. package/web/dist/assets/less-DVTAwKKz.js +1 -0
  589. package/web/dist/assets/light-plus-DVQuIRkW.js +1 -0
  590. package/web/dist/assets/liquid-CvXMrjlQ.js +1 -0
  591. package/web/dist/assets/llvm-Cm23YOpf.js +1 -0
  592. package/web/dist/assets/log-BNLmms1o.js +1 -0
  593. package/web/dist/assets/logo-Cluzi2Zq.js +1 -0
  594. package/web/dist/assets/lua-BjLEUjKY.js +1 -0
  595. package/web/dist/assets/luau-FMPmPwt6.js +1 -0
  596. package/web/dist/assets/make-Dixweg8N.js +1 -0
  597. package/web/dist/assets/markdown-BYOwaDjH.js +1 -0
  598. package/web/dist/assets/marko-DvhNOisQ.js +1 -0
  599. package/web/dist/assets/material-theme-Bm3Qr25_.js +1 -0
  600. package/web/dist/assets/material-theme-darker-2IIEA8gg.js +1 -0
  601. package/web/dist/assets/material-theme-lighter-uhdI0v04.js +1 -0
  602. package/web/dist/assets/material-theme-ocean-CHQ94UKr.js +1 -0
  603. package/web/dist/assets/material-theme-palenight-B5W6OYN7.js +1 -0
  604. package/web/dist/assets/matlab-D7qyCx1q.js +1 -0
  605. package/web/dist/assets/mdc-Bm9TpL1X.js +1 -0
  606. package/web/dist/assets/mdx-DQZ5AkYe.js +1 -0
  607. package/web/dist/assets/mermaid-Bk4SNUv9.js +1 -0
  608. package/web/dist/assets/min-dark-BSWPekZh.js +1 -0
  609. package/web/dist/assets/min-light-DDpmG2fV.js +1 -0
  610. package/web/dist/assets/mipsasm-BMqwQI7S.js +1 -0
  611. package/web/dist/assets/mojo-BgCJLMeH.js +1 -0
  612. package/web/dist/assets/monokai-CdkpiU2Y.js +1 -0
  613. package/web/dist/assets/moonbit-CaWjb8XO.js +1 -0
  614. package/web/dist/assets/move-B1IS1UjX.js +1 -0
  615. package/web/dist/assets/narrat-_X_XdTYD.js +1 -0
  616. package/web/dist/assets/nextflow-BJtWHP5T.js +1 -0
  617. package/web/dist/assets/nextflow-groovy-DJMQeKeT.js +1 -0
  618. package/web/dist/assets/nginx-Bhc82uuv.js +1 -0
  619. package/web/dist/assets/night-owl-DhmEMT88.js +1 -0
  620. package/web/dist/assets/night-owl-light-eJ-hLW7d.js +1 -0
  621. package/web/dist/assets/nim-DXTVBFnF.js +1 -0
  622. package/web/dist/assets/nix-IvuFDN5E.js +1 -0
  623. package/web/dist/assets/nord-Cb4Vim4T.js +1 -0
  624. package/web/dist/assets/nushell-DcLAeLz5.js +1 -0
  625. package/web/dist/assets/objective-c-D1A_Heim.js +1 -0
  626. package/web/dist/assets/objective-cpp-BsSzOQcm.js +1 -0
  627. package/web/dist/assets/ocaml-O90oeIOV.js +1 -0
  628. package/web/dist/assets/odin-B1RWQWA5.js +1 -0
  629. package/web/dist/assets/one-dark-pro-CLwyXe_n.js +1 -0
  630. package/web/dist/assets/one-light-D7Lr4KcI.js +1 -0
  631. package/web/dist/assets/openscad-BUDT5pXO.js +1 -0
  632. package/web/dist/assets/pascal-4ZHwLPI5.js +1 -0
  633. package/web/dist/assets/perl-C7veXV9z.js +1 -0
  634. package/web/dist/assets/php-BRiuMnnr.js +1 -0
  635. package/web/dist/assets/pierre-dark-CpLgRqie.js +1 -0
  636. package/web/dist/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
  637. package/web/dist/assets/pierre-dark-soft-kZQmAZld.js +1 -0
  638. package/web/dist/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
  639. package/web/dist/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
  640. package/web/dist/assets/pierre-light-CoaEpmwp.js +1 -0
  641. package/web/dist/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
  642. package/web/dist/assets/pierre-light-soft-lWLdNTOI.js +1 -0
  643. package/web/dist/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
  644. package/web/dist/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
  645. package/web/dist/assets/pkl-ot-7Btpt.js +1 -0
  646. package/web/dist/assets/plastic-DQwYfKfQ.js +1 -0
  647. package/web/dist/assets/plsql-DGHpHOYJ.js +1 -0
  648. package/web/dist/assets/po-BiJDBrnU.js +1 -0
  649. package/web/dist/assets/poimandres-DRFjx7u4.js +1 -0
  650. package/web/dist/assets/polar-C7UOKdEL.js +1 -0
  651. package/web/dist/assets/postcss-BXeXVLqQ.js +1 -0
  652. package/web/dist/assets/powerquery-DNMTfnFr.js +1 -0
  653. package/web/dist/assets/powershell-DshXNtvi.js +1 -0
  654. package/web/dist/assets/prisma-BsRQq5mF.js +1 -0
  655. package/web/dist/assets/prolog-iXnhIJG7.js +1 -0
  656. package/web/dist/assets/proto-DB4EqR-F.js +1 -0
  657. package/web/dist/assets/pug-C5hz5LQ7.js +1 -0
  658. package/web/dist/assets/puppet-CDv2pdJW.js +1 -0
  659. package/web/dist/assets/purescript-9MfHhQsQ.js +1 -0
  660. package/web/dist/assets/python-gzcpVVnB.js +1 -0
  661. package/web/dist/assets/qml-BdUV3aTS.js +1 -0
  662. package/web/dist/assets/qmldir-DCQb3MpD.js +1 -0
  663. package/web/dist/assets/qss-Fe1Jh2GI.js +1 -0
  664. package/web/dist/assets/r-8R7vtdQc.js +1 -0
  665. package/web/dist/assets/racket-DcIDlBhZ.js +1 -0
  666. package/web/dist/assets/raku-B3gFvitq.js +1 -0
  667. package/web/dist/assets/razor-DRL52XO2.js +1 -0
  668. package/web/dist/assets/red-CJ3rzSJv.js +1 -0
  669. package/web/dist/assets/reg-CRGYupPL.js +1 -0
  670. package/web/dist/assets/regexp-Omp9DhTb.js +1 -0
  671. package/web/dist/assets/rel-BtDbiS_P.js +1 -0
  672. package/web/dist/assets/riscv-Ckw8ddFX.js +1 -0
  673. package/web/dist/assets/rolldown-runtime-QTnfLwEv.js +1 -0
  674. package/web/dist/assets/ron-VUp2lXgN.js +1 -0
  675. package/web/dist/assets/rose-pine-BthvhNj6.js +1 -0
  676. package/web/dist/assets/rose-pine-dawn-Dg85fqjY.js +1 -0
  677. package/web/dist/assets/rose-pine-moon-hon4tzzS.js +1 -0
  678. package/web/dist/assets/rosmsg-CAekHB0j.js +1 -0
  679. package/web/dist/assets/rst-BHX71KW9.js +1 -0
  680. package/web/dist/assets/ruby-B--HzjGU.js +1 -0
  681. package/web/dist/assets/rust-Cfkwpbl8.js +1 -0
  682. package/web/dist/assets/sas-DrLaYOK_.js +1 -0
  683. package/web/dist/assets/sass-DXrisJhu.js +1 -0
  684. package/web/dist/assets/scala-DKOlJaKm.js +1 -0
  685. package/web/dist/assets/scheme-DQCgrYNe.js +1 -0
  686. package/web/dist/assets/scss-DdSxiZKl.js +1 -0
  687. package/web/dist/assets/sdbl-bTVj8UrX.js +1 -0
  688. package/web/dist/assets/shaderlab-TOUzSsQk.js +1 -0
  689. package/web/dist/assets/shellscript-DwcUjJBL.js +1 -0
  690. package/web/dist/assets/shellsession-CPZkydE6.js +1 -0
  691. package/web/dist/assets/slack-dark-DnToyrRv.js +1 -0
  692. package/web/dist/assets/slack-ochin-B2OO5cIa.js +1 -0
  693. package/web/dist/assets/smalltalk-B16xEiuN.js +1 -0
  694. package/web/dist/assets/snazzy-light-4G7pJPwS.js +1 -0
  695. package/web/dist/assets/solarized-dark-DV17i1UV.js +1 -0
  696. package/web/dist/assets/solarized-light-DSh2HLQt.js +1 -0
  697. package/web/dist/assets/solidity-CKzVLygQ.js +1 -0
  698. package/web/dist/assets/soy-Br5FhD7c.js +1 -0
  699. package/web/dist/assets/sparql-D_iOobhT.js +1 -0
  700. package/web/dist/assets/splunk-BC2Px7Mm.js +1 -0
  701. package/web/dist/assets/sql-DNssxck8.js +1 -0
  702. package/web/dist/assets/ssh-config-BgfXC-Er.js +1 -0
  703. package/web/dist/assets/stata-DXn1tqOr.js +1 -0
  704. package/web/dist/assets/stylus-B6D30XZt.js +1 -0
  705. package/web/dist/assets/surfaces-B8Ko8AJ3.js +1 -0
  706. package/web/dist/assets/surrealql-IeLNQw0f.js +1 -0
  707. package/web/dist/assets/svelte-DOdLCIlh.js +1 -0
  708. package/web/dist/assets/swift-DonLKvLd.js +1 -0
  709. package/web/dist/assets/synthwave-84-nFMaYfgc.js +1 -0
  710. package/web/dist/assets/system-verilog-DJ5XKQeo.js +1 -0
  711. package/web/dist/assets/systemd-BxMlprV5.js +1 -0
  712. package/web/dist/assets/talonscript-CohzipZa.js +1 -0
  713. package/web/dist/assets/tasl-DMoTqEGO.js +1 -0
  714. package/web/dist/assets/tcl-CZd0xW_V.js +1 -0
  715. package/web/dist/assets/templ-CIwIngms.js +1 -0
  716. package/web/dist/assets/terraform-DswuEJGm.js +1 -0
  717. package/web/dist/assets/tex-D8QMumu5.js +1 -0
  718. package/web/dist/assets/tokyo-night-oM2G3aXe.js +1 -0
  719. package/web/dist/assets/toml-CcmNWLt0.js +1 -0
  720. package/web/dist/assets/ts-tags-BMVY4q-l.js +1 -0
  721. package/web/dist/assets/tsv-sltzmVWM.js +1 -0
  722. package/web/dist/assets/tsx-5Eka4NBX.js +1 -0
  723. package/web/dist/assets/turtle-ByJddavk.js +1 -0
  724. package/web/dist/assets/twig-C8o_5mgw.js +1 -0
  725. package/web/dist/assets/typescript-DOu2WMV5.js +1 -0
  726. package/web/dist/assets/typespec-BRdr0IET.js +1 -0
  727. package/web/dist/assets/typst-DI99ib-x.js +1 -0
  728. package/web/dist/assets/v-DETTlOr0.js +1 -0
  729. package/web/dist/assets/vala-zf12oZj6.js +1 -0
  730. package/web/dist/assets/vb-Djn5o6TS.js +1 -0
  731. package/web/dist/assets/verilog-CiiDBU1e.js +1 -0
  732. package/web/dist/assets/vesper-DdrHHSXu.js +1 -0
  733. package/web/dist/assets/vhdl-BroJfC0k.js +1 -0
  734. package/web/dist/assets/viml-DvXPmvsu.js +1 -0
  735. package/web/dist/assets/vitesse-black-fwtXNY1n.js +1 -0
  736. package/web/dist/assets/vitesse-dark-BZCL-v6S.js +1 -0
  737. package/web/dist/assets/vitesse-light-VbXTXTou.js +1 -0
  738. package/web/dist/assets/vue-BU18DNDL.js +1 -0
  739. package/web/dist/assets/vue-html-BeluIYX0.js +1 -0
  740. package/web/dist/assets/vue-vine-DGUAbOCX.js +1 -0
  741. package/web/dist/assets/vyper-CgoNMtux.js +1 -0
  742. package/web/dist/assets/wasm-BnjxR4X6.js +1 -0
  743. package/web/dist/assets/wasm-ByWQv1Qj.js +1 -0
  744. package/web/dist/assets/wenyan-C8pVoKbM.js +1 -0
  745. package/web/dist/assets/wgsl-BsKzXJz4.js +1 -0
  746. package/web/dist/assets/wikitext-ClFFjSW2.js +1 -0
  747. package/web/dist/assets/wit-DdvCle-K.js +1 -0
  748. package/web/dist/assets/wolfram-DLL8P-h_.js +1 -0
  749. package/web/dist/assets/worker-CBKQOXEl.js +160 -0
  750. package/web/dist/assets/xml-DIqSwXR3.js +1 -0
  751. package/web/dist/assets/xsl-Ct_-YIAy.js +1 -0
  752. package/web/dist/assets/yaml-DTtCYNlS.js +1 -0
  753. package/web/dist/assets/zenscript-BnlCZFoB.js +1 -0
  754. package/web/dist/assets/zig-CMLA9XwU.js +1 -0
  755. package/web/dist/icons/neondeck-icon-192.png +0 -0
  756. package/web/dist/icons/neondeck-icon-512.png +0 -0
  757. package/web/dist/icons/neondeck-icon.svg +41 -0
  758. package/web/dist/icons/neondeck-maskable-512.png +0 -0
  759. package/web/dist/index.html +24 -0
  760. package/web/dist/manifest.webmanifest +28 -0
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-QTnfLwEv.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"C","name":"c","patterns":[{"include":"#preprocessor-rule-enabled"},{"include":"#preprocessor-rule-disabled"},{"include":"#preprocessor-rule-conditional"},{"include":"#predefined_macros"},{"include":"#comments"},{"include":"#switch_statement"},{"include":"#anon_pattern_1"},{"include":"#storage_types"},{"include":"#anon_pattern_2"},{"include":"#anon_pattern_3"},{"include":"#anon_pattern_4"},{"include":"#anon_pattern_5"},{"include":"#anon_pattern_6"},{"include":"#anon_pattern_7"},{"include":"#operators"},{"include":"#numbers"},{"include":"#strings"},{"include":"#anon_pattern_range_1"},{"include":"#anon_pattern_range_2"},{"include":"#anon_pattern_range_3"},{"include":"#pragma-mark"},{"include":"#anon_pattern_range_4"},{"include":"#anon_pattern_range_5"},{"include":"#anon_pattern_range_6"},{"include":"#anon_pattern_8"},{"include":"#anon_pattern_9"},{"include":"#anon_pattern_10"},{"include":"#anon_pattern_11"},{"include":"#anon_pattern_12"},{"include":"#anon_pattern_13"},{"include":"#block"},{"include":"#parens"},{"include":"#anon_pattern_range_7"},{"include":"#line_continuation_character"},{"include":"#anon_pattern_range_8"},{"include":"#anon_pattern_range_9"},{"include":"#anon_pattern_14"},{"include":"#anon_pattern_15"}],"repository":{"access-method":{"begin":"([A-Z_a-z][0-9A-Z_a-z]*|(?<=[])]))\\\\s*(?:(\\\\.)|(->))((?:[A-Z_a-z][0-9A-Z_a-z]*\\\\s*(?:\\\\.|->))*)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(\\\\()","beginCaptures":{"1":{"name":"variable.object.c"},"2":{"name":"punctuation.separator.dot-access.c"},"3":{"name":"punctuation.separator.pointer-access.c"},"4":{"patterns":[{"match":"\\\\.","name":"punctuation.separator.dot-access.c"},{"match":"->","name":"punctuation.separator.pointer-access.c"},{"match":"[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.object.c"},{"match":".+","name":"everything.else.c"}]},"5":{"name":"entity.name.function.member.c"},"6":{"name":"punctuation.section.arguments.begin.bracket.round.function.member.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arguments.end.bracket.round.function.member.c"}},"name":"meta.function-call.member.c","patterns":[{"include":"#function-call-innards"}]},"anon_pattern_1":{"match":"\\\\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\\\\b","name":"keyword.control.c"},"anon_pattern_10":{"match":"\\\\b((?:int8|int16|int32|int64|uint8|uint16|uint32|uint64|int_least8|int_least16|int_least32|int_least64|uint_least8|uint_least16|uint_least32|uint_least64|int_fast8|int_fast16|int_fast32|int_fast64|uint_fast8|uint_fast16|uint_fast32|uint_fast64|intptr|uintptr|intmax|uintmax)_t)\\\\b","name":"support.type.stdint.c"},"anon_pattern_11":{"match":"\\\\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\\\\b","name":"support.constant.mac-classic.c"},"anon_pattern_12":{"match":"\\\\b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\\\\b","name":"support.type.mac-classic.c"},"anon_pattern_13":{"match":"\\\\b([0-9A-Z_a-z]+_t)\\\\b","name":"support.type.posix-reserved.c"},"anon_pattern_14":{"match":";","name":"punctuation.terminator.statement.c"},"anon_pattern_15":{"match":",","name":"punctuation.separator.delimiter.c"},"anon_pattern_2":{"match":"typedef","name":"keyword.other.typedef.c"},"anon_pattern_3":{"match":"\\\\b(const|extern|register|restrict|static|volatile|inline)\\\\b","name":"storage.modifier.c"},"anon_pattern_4":{"match":"\\\\bk[A-Z]\\\\w*\\\\b","name":"constant.other.variable.mac-classic.c"},"anon_pattern_5":{"match":"\\\\bg[A-Z]\\\\w*\\\\b","name":"variable.other.readwrite.global.mac-classic.c"},"anon_pattern_6":{"match":"\\\\bs[A-Z]\\\\w*\\\\b","name":"variable.other.readwrite.static.mac-classic.c"},"anon_pattern_7":{"match":"\\\\b(NULL|true|false|TRUE|FALSE)\\\\b","name":"constant.language.c"},"anon_pattern_8":{"match":"\\\\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\\\\b","name":"support.type.sys-types.c"},"anon_pattern_9":{"match":"\\\\b(pthread_(?:attr_|cond_|condattr_|mutex_|mutexattr_|once_|rwlock_|rwlockattr_||key_)t)\\\\b","name":"support.type.pthread.c"},"anon_pattern_range_1":{"begin":"((?:(?>\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+?|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z))((#)\\\\s*define)\\\\b\\\\s+((?<!\\\\w)[A-Z_a-z]\\\\w*(?!\\\\w))(?:(\\\\()([^()\\\\\\\\]+)(\\\\)))?","beginCaptures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"keyword.control.directive.define.c"},"6":{"name":"punctuation.definition.directive.c"},"7":{"name":"entity.name.function.preprocessor.c"},"8":{"name":"punctuation.definition.parameters.begin.c"},"9":{"patterns":[{"captures":{"1":{"name":"variable.parameter.preprocessor.c"}},"match":"(?<=[(,])\\\\s*((?<!\\\\w)[A-Z_a-z]\\\\w*(?!\\\\w))\\\\s*"},{"match":",","name":"punctuation.separator.parameters.c"},{"match":"\\\\.\\\\.\\\\.","name":"ellipses.c punctuation.vararg-ellipses.variable.parameter.preprocessor.c"}]},"10":{"name":"punctuation.definition.parameters.end.c"}},"end":"(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.macro.c","patterns":[{"include":"#preprocessor-rule-define-line-contents"}]},"anon_pattern_range_2":{"begin":"^\\\\s*((#)\\\\s*(error|warning))\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.directive.diagnostic.$3.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.diagnostic.c","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"\\"|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.double.c","patterns":[{"include":"#line_continuation_character"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"'|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.single.c","patterns":[{"include":"#line_continuation_character"}]},{"begin":"[^\\"']","end":"(?<!\\\\\\\\)(?=\\\\s*\\\\n)","name":"string.unquoted.single.c","patterns":[{"include":"#line_continuation_character"},{"include":"#comments"}]}]},"anon_pattern_range_3":{"begin":"^\\\\s*((#)\\\\s*(i(?:nclude(?:_next)?|mport)))\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.directive.$3.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=/[*/])|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.include.c","patterns":[{"include":"#line_continuation_character"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.double.include.c"},{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.other.lt-gt.include.c"}]},"anon_pattern_range_4":{"begin":"^\\\\s*((#)\\\\s*line)\\\\b","beginCaptures":{"1":{"name":"keyword.control.directive.line.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=/[*/])|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#strings"},{"include":"#numbers"},{"include":"#line_continuation_character"}]},"anon_pattern_range_5":{"begin":"^\\\\s*((#)\\\\s*undef)\\\\b","beginCaptures":{"1":{"name":"keyword.control.directive.undef.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=/[*/])|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.preprocessor.c"},{"include":"#line_continuation_character"}]},"anon_pattern_range_6":{"begin":"^\\\\s*((#)\\\\s*pragma)\\\\b","beginCaptures":{"1":{"name":"keyword.control.directive.pragma.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=/[*/])|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.pragma.c","patterns":[{"include":"#strings"},{"match":"[$A-Z_a-z][-$\\\\w]*","name":"entity.other.attribute-name.pragma.preprocessor.c"},{"include":"#numbers"},{"include":"#line_continuation_character"}]},"anon_pattern_range_7":{"begin":"(?<!\\\\w)(?!\\\\s*(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|pthread_rwlock_t|atomic_uintptr_t|atomic_ptrdiff_t|atomic_uintmax_t|atomic_intmax_t|atomic_char32_t|atomic_intptr_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|uint_least8_t|int_least32_t|int_least16_t|pthread_key_t|uint_fast32_t|uint_fast64_t|uint_fast16_t|atomic_size_t|atomic_ushort|atomic_ullong|int_least64_t|atomic_ulong|int_least8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|memory_order|atomic_schar|atomic_uchar|atomic_short|atomic_llong|thread_local|atomic_bool|atomic_uint|atomic_long|int_fast8_t|suseconds_t|atomic_char|atomic_int|useconds_t|_Imaginary|uintmax_t|in_addr_t|in_port_t|_Noreturn|blksize_t|pthread_t|uintptr_t|volatile|u_quad_t|blkcnt_t|intmax_t|intptr_t|_Complex|uint16_t|uint32_t|uint64_t|_Alignof|_Alignas|continue|unsigned|restrict|intmax_t|register|int64_t|qaddr_t|segsz_t|_Atomic|alignas|default|caddr_t|nlink_t|typedef|u_short|fixpt_t|clock_t|swblk_t|ssize_t|alignof|daddr_t|int16_t|int32_t|uint8_t|struct|mode_t|size_t|time_t|ushort|u_long|u_char|int8_t|double|signed|static|extern|inline|return|switch|xor_eq|and_eq|bitand|not_eq|sizeof|quad_t|uid_t|bitor|union|off_t|key_t|ino_t|compl|u_int|short|const|false|while|float|pid_t|break|_Bool|or_eq|div_t|dev_t|gid_t|id_t|long|case|goto|else|bool|auto|id_t|enum|uint|true|NULL|void|char|for|not|int|and|xor|do|or|if)\\\\s*\\\\()(?=[A-Z_a-z]\\\\w*\\\\s*\\\\()","end":"(?!\\\\G)(?<=\\\\))","name":"meta.function.c","patterns":[{"include":"#function-innards"}]},"anon_pattern_range_8":{"begin":"([A-Z_a-z][0-9A-Z_a-z]*|(?<=[])]))?(\\\\[)(?!])","beginCaptures":{"1":{"name":"variable.object.c"},"2":{"name":"punctuation.definition.begin.bracket.square.c"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.c"}},"name":"meta.bracket.square.access.c","patterns":[{"include":"#function-call-innards"}]},"anon_pattern_range_9":{"match":"\\\\[\\\\s*]","name":"storage.modifier.array.bracket.square.c"},"backslash_escapes":{"match":"\\\\\\\\([\\"'?\\\\\\\\abefnprtv]|[0-3][0-7]{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8})","name":"constant.character.escape.c"},"block":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.c"}},"end":"}|(?=\\\\s*#\\\\s*e(?:lif|lse|ndif)\\\\b)","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.c"}},"name":"meta.block.c","patterns":[{"include":"#block_innards"}]}]},"block_comment":{"patterns":[{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.c"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.c"}},"name":"comment.block.c"},{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.c"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.c"}},"name":"comment.block.c"}]},"block_innards":{"patterns":[{"include":"#preprocessor-rule-enabled-block"},{"include":"#preprocessor-rule-disabled-block"},{"include":"#preprocessor-rule-conditional-block"},{"include":"#method_access"},{"include":"#member_access"},{"include":"#c_function_call"},{"begin":"(?=\\\\s)(?<!else|new|return)(?<=\\\\w)\\\\s+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)((?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[]))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"variable.other.c"},"2":{"name":"punctuation.section.parens.begin.bracket.round.initialization.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.initialization.c"}},"name":"meta.initialization.c","patterns":[{"include":"#function-call-innards"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.c"}},"end":"}|(?=\\\\s*#\\\\s*e(?:lif|lse|ndif)\\\\b)","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.c"}},"patterns":[{"include":"#block_innards"}]},{"include":"#parens-block"},{"include":"$self"}]},"c_conditional_context":{"patterns":[{"include":"$self"},{"include":"#block_innards"}]},"c_function_call":{"begin":"(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\\\s*\\\\()(?=(?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++\\\\s*\\\\(|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[])\\\\s*\\\\()","end":"(?<=\\\\))(?!\\\\w)","name":"meta.function-call.c","patterns":[{"include":"#function-call-innards"}]},"case_statement":{"begin":"((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))((?<!\\\\w)case(?!\\\\w))","beginCaptures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"keyword.control.case.c"}},"end":"(:)","endCaptures":{"1":{"name":"punctuation.separator.colon.case.c"}},"name":"meta.conditional.case.c","patterns":[{"include":"#evaluation_context"},{"include":"#c_conditional_context"}]},"comments":{"patterns":[{"patterns":[{"patterns":[{"begin":"^(?>\\\\s*)(//[!/]+)","beginCaptures":{"1":{"name":"punctuation.definition.comment.documentation.c"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","name":"comment.line.double-slash.documentation.c","patterns":[{"include":"#line_continuation_character"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:callergraph|callgraph|else|endif|f\\\\$|f\\\\[|f]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|[\\"-%.<=>]|::|\\\\||---??)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.italic.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\](?:a|em?))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.bold.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]b)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.inline.raw.string.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\][cp])\\\\s+(\\\\S+)"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"patterns":[{"match":"in|out","name":"keyword.other.parameter.direction.$0.c"}]},"3":{"name":"variable.parameter.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]param)(?:\\\\s*\\\\[((?:,?\\\\s*(?:in|out)\\\\s*)+)])?\\\\s+\\\\b(\\\\w+)\\\\b"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"\\\\b[A-Z]+:|@[_a-z]+:","name":"storage.type.class.gtkdoc"}]},{"captures":{"1":{"name":"punctuation.definition.comment.begin.documentation.c"},"2":{"patterns":[{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:callergraph|callgraph|else|endif|f\\\\$|f\\\\[|f]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|[\\"-%.<=>]|::|\\\\||---??)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.italic.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\](?:a|em?))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.bold.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]b)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.inline.raw.string.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\][cp])\\\\s+(\\\\S+)"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"patterns":[{"match":"in|out","name":"keyword.other.parameter.direction.$0.c"}]},"3":{"name":"variable.parameter.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]param)(?:\\\\s*\\\\[((?:,?\\\\s*(?:in|out)\\\\s*)+)])?\\\\s+\\\\b(\\\\w+)\\\\b"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"\\\\b[A-Z]+:|@[_a-z]+:","name":"storage.type.class.gtkdoc"}]},"3":{"name":"punctuation.definition.comment.end.documentation.c"}},"match":"(/\\\\*[!*]+(?=\\\\s))(.+)([!*]*\\\\*/)","name":"comment.block.documentation.c"},{"begin":"((?>\\\\s*)/\\\\*[!*]+(?:(?:\\\\n|$)|(?=\\\\s)))","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.documentation.c"}},"end":"([!*]*\\\\*/)","endCaptures":{"1":{"name":"punctuation.definition.comment.end.documentation.c"}},"name":"comment.block.documentation.c","patterns":[{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:callergraph|callgraph|else|endif|f\\\\$|f\\\\[|f]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|[\\"-%.<=>]|::|\\\\||---??)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.italic.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\](?:a|em?))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.bold.doxygen.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]b)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"name":"markup.inline.raw.string.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\][cp])\\\\s+(\\\\S+)"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"captures":{"1":{"name":"storage.type.class.doxygen.c"},"2":{"patterns":[{"match":"in|out","name":"keyword.other.parameter.direction.$0.c"}]},"3":{"name":"variable.parameter.c"}},"match":"((?<=[!*/\\\\s])[@\\\\\\\\]param)(?:\\\\s*\\\\[((?:,?\\\\s*(?:in|out)\\\\s*)+)])?\\\\s+\\\\b(\\\\w+)\\\\b"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"(?<=[!*/\\\\s])[@\\\\\\\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\\\b(?:\\\\{[^}]*})?","name":"storage.type.class.doxygen.c"},{"match":"\\\\b[A-Z]+:|@[_a-z]+:","name":"storage.type.class.gtkdoc"}]},{"captures":{"1":{"name":"meta.toc-list.banner.block.c"}},"match":"^/\\\\* =(\\\\s*.*?)\\\\s*= \\\\*/$\\\\n?","name":"comment.block.banner.c"},{"begin":"(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.c"}},"end":"(\\\\*/)","endCaptures":{"1":{"name":"punctuation.definition.comment.end.c"}},"name":"comment.block.c"},{"captures":{"1":{"name":"meta.toc-list.banner.line.c"}},"match":"^// =(\\\\s*.*?)\\\\s*=$\\\\n?","name":"comment.line.banner.c"},{"begin":"((?:^[\\\\t ]+)?)(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.c"}},"end":"(?!\\\\G)","patterns":[{"begin":"(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.c"}},"end":"(?=\\\\n)","name":"comment.line.double-slash.c","patterns":[{"include":"#line_continuation_character"}]}]}]},{"include":"#block_comment"},{"include":"#line_comment"}]},{"include":"#block_comment"},{"include":"#line_comment"}]},"default_statement":{"begin":"((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))((?<!\\\\w)default(?!\\\\w))","beginCaptures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"keyword.control.default.c"}},"end":"(:)","endCaptures":{"1":{"name":"punctuation.separator.colon.case.default.c"}},"name":"meta.conditional.case.c","patterns":[{"include":"#evaluation_context"},{"include":"#c_conditional_context"}]},"disabled":{"begin":"^\\\\s*#\\\\s*if(n?def)?\\\\b.*$","end":"^\\\\s*#\\\\s*endif\\\\b","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},"evaluation_context":{"patterns":[{"include":"#function-call-innards"},{"include":"$self"}]},"function-call-innards":{"patterns":[{"include":"#comments"},{"include":"#storage_types"},{"include":"#method_access"},{"include":"#member_access"},{"include":"#operators"},{"begin":"(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\\\s*\\\\()((?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[]))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.c"},"2":{"name":"punctuation.section.arguments.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arguments.end.bracket.round.c"}},"patterns":[{"include":"#function-call-innards"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.c"}},"patterns":[{"include":"#function-call-innards"}]},{"include":"#block_innards"}]},"function-innards":{"patterns":[{"include":"#comments"},{"include":"#storage_types"},{"include":"#operators"},{"include":"#vararg_ellipses"},{"begin":"(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\\\s*\\\\()((?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[]))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.c"},"2":{"name":"punctuation.section.parameters.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parameters.end.bracket.round.c"}},"name":"meta.function.definition.parameters.c","patterns":[{"include":"#probably_a_parameter"},{"include":"#function-innards"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.c"}},"patterns":[{"include":"#function-innards"}]},{"include":"$self"}]},"inline_comment":{"patterns":[{"patterns":[{"captures":{"1":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"2":{"name":"comment.block.c"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"match":"(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/))"},{"captures":{"1":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"2":{"name":"comment.block.c"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"}]},{"captures":{"1":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"2":{"name":"comment.block.c"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"}]},"line_comment":{"patterns":[{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.c"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.c","patterns":[{"include":"#line_continuation_character"}]},{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.c"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.c","patterns":[{"include":"#line_continuation_character"}]}]},"line_continuation_character":{"patterns":[{"captures":{"1":{"name":"constant.character.escape.line-continuation.c"}},"match":"(\\\\\\\\)\\\\n"}]},"member_access":{"captures":{"1":{"name":"variable.other.object.access.c"},"2":{"name":"punctuation.separator.dot-access.c"},"3":{"name":"punctuation.separator.pointer-access.c"},"4":{"patterns":[{"include":"#member_access"},{"include":"#method_access"},{"captures":{"1":{"name":"variable.other.object.access.c"},"2":{"name":"punctuation.separator.dot-access.c"},"3":{"name":"punctuation.separator.pointer-access.c"}},"match":"((?:[A-Z_a-z]\\\\w*|(?<=[])]))\\\\s*)(?:(\\\\.\\\\*?)|(->\\\\*?))"}]},"5":{"name":"variable.other.member.c"}},"match":"((?:[A-Z_a-z]\\\\w*|(?<=[])]))\\\\s*)(?:(\\\\.\\\\*?)|(->\\\\*?))((?:[A-Z_a-z]\\\\w*\\\\s*(?:\\\\.\\\\*?|->\\\\*?)\\\\s*)*)\\\\s*\\\\b((?!(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|atomic_uintptr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintmax_t|pthread_mutex_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_attr_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_cond_t|pthread_once_t|uint_fast64_t|uint_fast16_t|atomic_size_t|uint_least8_t|int_least64_t|int_least32_t|int_least16_t|pthread_key_t|atomic_ullong|atomic_ushort|uint_fast32_t|atomic_schar|atomic_short|uint_fast8_t|int_fast64_t|int_fast32_t|int_fast16_t|atomic_ulong|atomic_llong|int_least8_t|atomic_uchar|memory_order|suseconds_t|int_fast8_t|atomic_bool|atomic_char|atomic_uint|atomic_long|atomic_int|useconds_t|_Imaginary|blksize_t|pthread_t|in_addr_t|uintptr_t|in_port_t|uintmax_t|blkcnt_t|uint16_t|unsigned|_Complex|uint32_t|intptr_t|intmax_t|uint64_t|u_quad_t|int64_t|int32_t|ssize_t|caddr_t|clock_t|uint8_t|u_short|swblk_t|segsz_t|int16_t|fixpt_t|daddr_t|nlink_t|qaddr_t|size_t|time_t|mode_t|signed|quad_t|ushort|u_long|u_char|double|int8_t|ino_t|uid_t|pid_t|_Bool|float|dev_t|div_t|short|gid_t|off_t|u_int|key_t|id_t|uint|long|void|char|bool|id_t|int)\\\\b)[A-Z_a-z]\\\\w*\\\\b(?!\\\\())"},"method_access":{"begin":"((?:[A-Z_a-z]\\\\w*|(?<=[])]))\\\\s*)(?:(\\\\.\\\\*?)|(->\\\\*?))((?:[A-Z_a-z]\\\\w*\\\\s*(?:\\\\.\\\\*?|->\\\\*?)\\\\s*)*)\\\\s*([A-Z_a-z]\\\\w*)(\\\\()","beginCaptures":{"1":{"name":"variable.other.object.access.c"},"2":{"name":"punctuation.separator.dot-access.c"},"3":{"name":"punctuation.separator.pointer-access.c"},"4":{"patterns":[{"include":"#member_access"},{"include":"#method_access"},{"captures":{"1":{"name":"variable.other.object.access.c"},"2":{"name":"punctuation.separator.dot-access.c"},"3":{"name":"punctuation.separator.pointer-access.c"}},"match":"((?:[A-Z_a-z]\\\\w*|(?<=[])]))\\\\s*)(?:(\\\\.\\\\*?)|(->\\\\*?))"}]},"5":{"name":"entity.name.function.member.c"},"6":{"name":"punctuation.section.arguments.begin.bracket.round.function.member.c"}},"contentName":"meta.function-call.member.c","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.arguments.end.bracket.round.function.member.c"}},"patterns":[{"include":"#function-call-innards"}]},"numbers":{"captures":{"0":{"patterns":[{"begin":"(?=.)","end":"$","patterns":[{"captures":{"1":{"name":"keyword.other.unit.hexadecimal.c"},"2":{"name":"constant.numeric.hexadecimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"4":{"name":"constant.numeric.hexadecimal.c"},"5":{"name":"constant.numeric.hexadecimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"6":{"name":"punctuation.separator.constant.numeric"},"8":{"name":"keyword.other.unit.exponent.hexadecimal.c"},"9":{"name":"keyword.operator.plus.exponent.hexadecimal.c"},"10":{"name":"keyword.operator.minus.exponent.hexadecimal.c"},"11":{"name":"constant.numeric.exponent.hexadecimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"12":{"name":"keyword.other.unit.suffix.floating-point.c"}},"match":"\\\\G(0[Xx])(\\\\h(?:\\\\h|((?<=\\\\h)'(?=\\\\h)))*)?((?<=\\\\h)\\\\.|\\\\.(?=\\\\h))(\\\\h(?:\\\\h|((?<=\\\\h)'(?=\\\\h)))*)?((?<!')([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)'(?=\\\\h))*))?([FLfl](?!\\\\w))?$"},{"captures":{"2":{"name":"constant.numeric.decimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"4":{"name":"constant.numeric.decimal.point.c"},"5":{"name":"constant.numeric.decimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"6":{"name":"punctuation.separator.constant.numeric"},"8":{"name":"keyword.other.unit.exponent.decimal.c"},"9":{"name":"keyword.operator.plus.exponent.decimal.c"},"10":{"name":"keyword.operator.minus.exponent.decimal.c"},"11":{"name":"constant.numeric.exponent.decimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"12":{"name":"keyword.other.unit.suffix.floating-point.c"}},"match":"\\\\G((?=[.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\\\\h)'(?=\\\\h)))*)?((?<=[0-9])\\\\.|\\\\.(?=[0-9]))([0-9](?:[0-9]|((?<=\\\\h)'(?=\\\\h)))*)?((?<!')([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)'(?=\\\\h))*))?([FLfl](?!\\\\w))?$"},{"captures":{"1":{"name":"keyword.other.unit.binary.c"},"2":{"name":"constant.numeric.binary.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"4":{"name":"keyword.other.unit.suffix.integer.c"}},"match":"\\\\G(0[Bb])([01](?:[01]|((?<=\\\\h)'(?=\\\\h)))*)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?!\\\\w))?$"},{"captures":{"1":{"name":"keyword.other.unit.octal.c"},"2":{"name":"constant.numeric.octal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"4":{"name":"keyword.other.unit.suffix.integer.c"}},"match":"\\\\G(0)((?:[0-7]|((?<=\\\\h)'(?=\\\\h)))+)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?!\\\\w))?$"},{"captures":{"1":{"name":"keyword.other.unit.hexadecimal.c"},"2":{"name":"constant.numeric.hexadecimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"5":{"name":"keyword.other.unit.exponent.hexadecimal.c"},"6":{"name":"keyword.operator.plus.exponent.hexadecimal.c"},"7":{"name":"keyword.operator.minus.exponent.hexadecimal.c"},"8":{"name":"constant.numeric.exponent.hexadecimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"9":{"name":"keyword.other.unit.suffix.integer.c"}},"match":"\\\\G(0[Xx])(\\\\h(?:\\\\h|((?<=\\\\h)'(?=\\\\h)))*)((?<!')([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)'(?=\\\\h))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?!\\\\w))?$"},{"captures":{"2":{"name":"constant.numeric.decimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"3":{"name":"punctuation.separator.constant.numeric"},"5":{"name":"keyword.other.unit.exponent.decimal.c"},"6":{"name":"keyword.operator.plus.exponent.decimal.c"},"7":{"name":"keyword.operator.minus.exponent.decimal.c"},"8":{"name":"constant.numeric.exponent.decimal.c","patterns":[{"match":"(?<=\\\\h)'(?=\\\\h)","name":"punctuation.separator.constant.numeric"}]},"9":{"name":"keyword.other.unit.suffix.integer.c"}},"match":"\\\\G((?=[.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\\\\h)'(?=\\\\h)))*)((?<!')([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)'(?=\\\\h))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?!\\\\w))?$"},{"match":"(?:['.0-9A-Z_a-z]|(?<=[EPep])[-+])+","name":"invalid.illegal.constant.numeric"}]}]}},"match":"(?<!\\\\w)\\\\.?\\\\d(?:['.0-9A-Z_a-z]|(?<=[EPep])[-+])*"},"operators":{"patterns":[{"match":"(?<![$\\\\w])(sizeof)(?![$\\\\w])","name":"keyword.operator.sizeof.c"},{"match":"--","name":"keyword.operator.decrement.c"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.c"},{"match":"(?:[-%*+]|(?<!\\\\()/)=","name":"keyword.operator.assignment.compound.c"},{"match":"(?:[\\\\&^]|<<|>>|\\\\|)=","name":"keyword.operator.assignment.compound.bitwise.c"},{"match":"<<|>>","name":"keyword.operator.bitwise.shift.c"},{"match":"!=|<=|>=|==|[<>]","name":"keyword.operator.comparison.c"},{"match":"&&|!|\\\\|\\\\|","name":"keyword.operator.logical.c"},{"match":"[\\\\&^|~]","name":"keyword.operator.c"},{"match":"=","name":"keyword.operator.assignment.c"},{"match":"[-%*+/]","name":"keyword.operator.c"},{"begin":"(\\\\?)","beginCaptures":{"1":{"name":"keyword.operator.ternary.c"}},"end":"(:)","endCaptures":{"1":{"name":"keyword.operator.ternary.c"}},"patterns":[{"include":"#function-call-innards"},{"include":"$self"}]}]},"parens":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.c"}},"name":"meta.parens.c","patterns":[{"include":"$self"}]},"parens-block":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.c"}},"name":"meta.parens.block.c","patterns":[{"include":"#block_innards"},{"match":"(?-im:(?<!:):(?!:))","name":"punctuation.range-based.c"}]},"pragma-mark":{"captures":{"1":{"name":"meta.preprocessor.pragma.c"},"2":{"name":"keyword.control.directive.pragma.pragma-mark.c"},"3":{"name":"punctuation.definition.directive.c"},"4":{"name":"entity.name.tag.pragma-mark.c"}},"match":"^\\\\s*(((#)\\\\s*pragma\\\\s+mark)\\\\s+(.*))","name":"meta.section.c"},"predefined_macros":{"patterns":[{"captures":{"1":{"name":"entity.name.other.preprocessor.macro.predefined.$1.c"}},"match":"\\\\b(__cplusplus|__DATE__|__FILE__|__LINE__|__STDC__|__STDC_HOSTED__|__STDC_NO_COMPLEX__|__STDC_VERSION__|__STDCPP_THREADS__|__TIME__|NDEBUG|__OBJC__|__ASSEMBLER__|__ATOM__|__AVX__|__AVX2__|_CHAR_UNSIGNED|__CLR_VER|_CONTROL_FLOW_GUARD|__COUNTER__|__cplusplus_cli|__cplusplus_winrt|_CPPRTTI|_CPPUNWIND|_DEBUG|_DLL|__FUNCDNAME__|__FUNCSIG__|__FUNCTION__|_INTEGRAL_MAX_BITS|__INTELLISENSE__|_ISO_VOLATILE|_KERNEL_MODE|_M_AMD64|_M_ARM|_M_ARM_ARMV7VE|_M_ARM_FP|_M_ARM64|_M_CEE|_M_CEE_PURE|_M_CEE_SAFE|_M_FP_EXCEPT|_M_FP_FAST|_M_FP_PRECISE|_M_FP_STRICT|_M_IX86|_M_IX86_FP|_M_X64|_MANAGED|_MSC_BUILD|_MSC_EXTENSIONS|_MSC_FULL_VER|_MSC_VER|_MSVC_LANG|__MSVC_RUNTIME_CHECKS|_MT|_NATIVE_WCHAR_T_DEFINED|_OPENMP|_PREFAST|__TIMESTAMP__|_VC_NO_DEFAULTLIB|_WCHAR_T_DEFINED|_WIN32|_WIN64|_WINRT_DLL|_ATL_VER|_MFC_VER|__GFORTRAN__|__GNUC__|__GNUC_MINOR__|__GNUC_PATCHLEVEL__|__GNUG__|__STRICT_ANSI__|__BASE_FILE__|__INCLUDE_LEVEL__|__ELF__|__VERSION__|__OPTIMIZE__|__OPTIMIZE_SIZE__|__NO_INLINE__|__GNUC_STDC_INLINE__|__CHAR_UNSIGNED__|__WCHAR_UNSIGNED__|__REGISTER_PREFIX__|__SIZE_TYPE__|__PTRDIFF_TYPE__|__WCHAR_TYPE__|__WINT_TYPE__|__INTMAX_TYPE__|__UINTMAX_TYPE__|__SIG_ATOMIC_TYPE__|__INT8_TYPE__|__INT16_TYPE__|__INT32_TYPE__|__INT64_TYPE__|__UINT8_TYPE__|__UINT16_TYPE__|__UINT32_TYPE__|__UINT64_TYPE__|__INT_LEAST8_TYPE__|__INT_LEAST16_TYPE__|__INT_LEAST32_TYPE__|__INT_LEAST64_TYPE__|__UINT_LEAST8_TYPE__|__UINT_LEAST16_TYPE__|__UINT_LEAST32_TYPE__|__UINT_LEAST64_TYPE__|__INT_FAST8_TYPE__|__INT_FAST16_TYPE__|__INT_FAST32_TYPE__|__INT_FAST64_TYPE__|__UINT_FAST8_TYPE__|__UINT_FAST16_TYPE__|__UINT_FAST32_TYPE__|__UINT_FAST64_TYPE__|__INTPTR_TYPE__|__UINTPTR_TYPE__|__CHAR_BIT__|__SCHAR_MAX__|__WCHAR_MAX__|__SHRT_MAX__|__INT_MAX__|__LONG_MAX__|__LONG_LONG_MAX__|__WINT_MAX__|__SIZE_MAX__|__PTRDIFF_MAX__|__INTMAX_MAX__|__UINTMAX_MAX__|__SIG_ATOMIC_MAX__|__INT8_MAX__|__INT16_MAX__|__INT32_MAX__|__INT64_MAX__|__UINT8_MAX__|__UINT16_MAX__|__UINT32_MAX__|__UINT64_MAX__|__INT_LEAST8_MAX__|__INT_LEAST16_MAX__|__INT_LEAST32_MAX__|__INT_LEAST64_MAX__|__UINT_LEAST8_MAX__|__UINT_LEAST16_MAX__|__UINT_LEAST32_MAX__|__UINT_LEAST64_MAX__|__INT_FAST8_MAX__|__INT_FAST16_MAX__|__INT_FAST32_MAX__|__INT_FAST64_MAX__|__UINT_FAST8_MAX__|__UINT_FAST16_MAX__|__UINT_FAST32_MAX__|__UINT_FAST64_MAX__|__INTPTR_MAX__|__UINTPTR_MAX__|__WCHAR_MIN__|__WINT_MIN__|__SIG_ATOMIC_MIN__|__SCHAR_WIDTH__|__SHRT_WIDTH__|__INT_WIDTH__|__LONG_WIDTH__|__LONG_LONG_WIDTH__|__PTRDIFF_WIDTH__|__SIG_ATOMIC_WIDTH__|__SIZE_WIDTH__|__WCHAR_WIDTH__|__WINT_WIDTH__|__INT_LEAST8_WIDTH__|__INT_LEAST16_WIDTH__|__INT_LEAST32_WIDTH__|__INT_LEAST64_WIDTH__|__INT_FAST8_WIDTH__|__INT_FAST16_WIDTH__|__INT_FAST32_WIDTH__|__INT_FAST64_WIDTH__|__INTPTR_WIDTH__|__INTMAX_WIDTH__|__SIZEOF_INT__|__SIZEOF_LONG__|__SIZEOF_LONG_LONG__|__SIZEOF_SHORT__|__SIZEOF_POINTER__|__SIZEOF_FLOAT__|__SIZEOF_DOUBLE__|__SIZEOF_LONG_DOUBLE__|__SIZEOF_SIZE_T__|__SIZEOF_WCHAR_T__|__SIZEOF_WINT_T__|__SIZEOF_PTRDIFF_T__|__BYTE_ORDER__|__ORDER_LITTLE_ENDIAN__|__ORDER_BIG_ENDIAN__|__ORDER_PDP_ENDIAN__|__FLOAT_WORD_ORDER__|__DEPRECATED|__EXCEPTIONS|__GXX_RTTI|__USING_SJLJ_EXCEPTIONS__|__GXX_EXPERIMENTAL_CXX0X__|__GXX_WEAK__|__NEXT_RUNTIME__|__LP64__|_LP64|__SSP__|__SSP_ALL__|__SSP_STRONG__|__SSP_EXPLICIT__|__SANITIZE_ADDRESS__|__SANITIZE_THREAD__|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16|__HAVE_SPECULATION_SAFE_VALUE|__GCC_HAVE_DWARF2_CFI_ASM|__FP_FAST_FMAF??|__FP_FAST_FMAL|__FP_FAST_FMAF16|__FP_FAST_FMAF32|__FP_FAST_FMAF64|__FP_FAST_FMAF128|__FP_FAST_FMAF32X|__FP_FAST_FMAF64X|__FP_FAST_FMAF128X|__GCC_IEC_559|__GCC_IEC_559_COMPLEX|__NO_MATH_ERRNO__|__has_builtin|__has_feature|__has_extension|__has_cpp_attribute|__has_c_attribute|__has_attribute|__has_declspec_attribute|__is_identifier|__has_include|__has_include_next|__has_warning|__BASE_FILE__|__FILE_NAME__|__clang__|__clang_major__|__clang_minor__|__clang_patchlevel__|__clang_version__|__fp16|_Float16)\\\\b"},{"match":"\\\\b__([A-Z_]+)__\\\\b","name":"entity.name.other.preprocessor.macro.predefined.probably.$1.c"}]},"preprocessor-rule-conditional":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if(?:n?def)?)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#preprocessor-rule-enabled-elif"},{"include":"#preprocessor-rule-enabled-else"},{"include":"#preprocessor-rule-disabled-elif"},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"$self"}]},{"captures":{"0":{"name":"invalid.illegal.stray-$1.c"}},"match":"^\\\\s*#\\\\s*(e(?:lse|lif|ndif))\\\\b"}]},"preprocessor-rule-conditional-block":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if(?:n?def)?)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#preprocessor-rule-enabled-elif-block"},{"include":"#preprocessor-rule-enabled-else-block"},{"include":"#preprocessor-rule-disabled-elif"},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#block_innards"}]},{"captures":{"0":{"name":"invalid.illegal.stray-$1.c"}},"match":"^\\\\s*#\\\\s*(e(?:lse|lif|ndif))\\\\b"}]},"preprocessor-rule-conditional-line":{"patterns":[{"match":"\\\\bdefined\\\\b(?:\\\\s*$|(?=\\\\s*\\\\(*\\\\s*(?!defined\\\\b)[$A-Z_a-z][$\\\\w]*\\\\b\\\\s*\\\\)*\\\\s*(?:\\\\n|//|/\\\\*|[:?]|&&|\\\\|\\\\||\\\\\\\\\\\\s*\\\\n)))","name":"keyword.control.directive.conditional.c"},{"match":"\\\\bdefined\\\\b","name":"invalid.illegal.macro-name.c"},{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.c"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.c"}},"patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#operators"},{"match":"\\\\b(NULL|true|false|TRUE|FALSE)\\\\b","name":"constant.language.c"},{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.preprocessor.c"},{"include":"#line_continuation_character"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"\\\\)|(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.section.parens.end.bracket.round.c"}},"patterns":[{"include":"#preprocessor-rule-conditional-line"}]}]},"preprocessor-rule-define-line-blocks":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.c"}},"end":"}|(?=\\\\s*#\\\\s*e(?:lif|lse|ndif)\\\\b)|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.c"}},"patterns":[{"include":"#preprocessor-rule-define-line-blocks"},{"include":"#preprocessor-rule-define-line-contents"}]},{"include":"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-define-line-contents":{"patterns":[{"include":"#vararg_ellipses"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.c"}},"end":"}|(?=\\\\s*#\\\\s*e(?:lif|lse|ndif)\\\\b)|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.c"}},"name":"meta.block.c","patterns":[{"include":"#preprocessor-rule-define-line-blocks"}]},{"match":"\\\\(","name":"punctuation.section.parens.begin.bracket.round.c"},{"match":"\\\\)","name":"punctuation.section.parens.end.bracket.round.c"},{"begin":"(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\\\s*\\\\()(?=(?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++\\\\s*\\\\(|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[])\\\\s*\\\\()","end":"(?<=\\\\))(?!\\\\w)|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","name":"meta.function.c","patterns":[{"include":"#preprocessor-rule-define-line-functions"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"\\"|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.double.c","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"},{"include":"#line_continuation_character"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"'|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.single.c","patterns":[{"include":"#string_escaped_char"},{"include":"#line_continuation_character"}]},{"include":"#method_access"},{"include":"#member_access"},{"include":"$self"}]},"preprocessor-rule-define-line-functions":{"patterns":[{"include":"#comments"},{"include":"#storage_types"},{"include":"#vararg_ellipses"},{"include":"#method_access"},{"include":"#member_access"},{"include":"#operators"},{"begin":"(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\\\s*\\\\()((?:[A-Z_a-z][0-9A-Z_a-z]*+|::)++|(?<=operator)(?:[-!\\\\&*+<=>]+|\\\\(\\\\)|\\\\[]))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.c"},"2":{"name":"punctuation.section.arguments.begin.bracket.round.c"}},"end":"(\\\\))|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"1":{"name":"punctuation.section.arguments.end.bracket.round.c"}},"patterns":[{"include":"#preprocessor-rule-define-line-functions"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.bracket.round.c"}},"end":"(\\\\))|(?<!\\\\\\\\)(?=\\\\s*\\\\n)","endCaptures":{"1":{"name":"punctuation.section.parens.end.bracket.round.c"}},"patterns":[{"include":"#preprocessor-rule-define-line-functions"}]},{"include":"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-disabled":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if)\\\\b(?=\\\\s*\\\\(*\\\\b0+\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"include":"#preprocessor-rule-enabled-elif"},{"include":"#preprocessor-rule-enabled-else"},{"include":"#preprocessor-rule-disabled-elif"},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*e(?:lif|lse|ndif))\\\\b)","patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"$self"}]},{"begin":"\\\\n","contentName":"comment.block.preprocessor.if-branch.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-block":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if)\\\\b(?=\\\\s*\\\\(*\\\\b0+\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"include":"#preprocessor-rule-enabled-elif-block"},{"include":"#preprocessor-rule-enabled-else-block"},{"include":"#preprocessor-rule-disabled-elif"},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*e(?:lif|lse|ndif))\\\\b)","patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#block_innards"}]},{"begin":"\\\\n","contentName":"comment.block.preprocessor.if-branch.in-block.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-elif":{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b(?=\\\\s*\\\\(*\\\\b0+\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*e(?:lif|lse|ndif))\\\\b)","patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"begin":"\\\\n","contentName":"comment.block.preprocessor.elif-branch.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]}]},"preprocessor-rule-enabled":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if)\\\\b(?=\\\\s*\\\\(*\\\\b0*1\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"},"3":{"name":"constant.numeric.preprocessor.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"begin":"^\\\\s*((#)\\\\s*else)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.else-branch.c","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.if-branch.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"\\\\n","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"$self"}]}]}]},"preprocessor-rule-enabled-block":{"patterns":[{"begin":"^\\\\s*((#)\\\\s*if)\\\\b(?=\\\\s*\\\\(*\\\\b0*1\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"^\\\\s*((#)\\\\s*endif)\\\\b","endCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"begin":"^\\\\s*((#)\\\\s*else)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.else-branch.in-block.c","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.if-branch.in-block.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"\\\\n","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#block_innards"}]}]}]},"preprocessor-rule-enabled-elif":{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b(?=\\\\s*\\\\(*\\\\b0*1\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"begin":"\\\\n","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"begin":"^\\\\s*((#)\\\\s*(else))\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.elif-branch.c","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"^\\\\s*((#)\\\\s*(elif))\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.elif-branch.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"include":"$self"}]}]},"preprocessor-rule-enabled-elif-block":{"begin":"^\\\\s*((#)\\\\s*elif)\\\\b(?=\\\\s*\\\\(*\\\\b0*1\\\\b\\\\)*\\\\s*(?:$|//|/\\\\*))","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"begin":"\\\\G(?=.)(?!/(?:/|\\\\*(?!.*\\\\\\\\\\\\s*\\\\n)))","end":"(?=//)|(?=/\\\\*(?!.*\\\\\\\\\\\\s*\\\\n))|(?<!\\\\\\\\)(?=\\\\n)","name":"meta.preprocessor.c","patterns":[{"include":"#preprocessor-rule-conditional-line"}]},{"include":"#comments"},{"begin":"\\\\n","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"begin":"^\\\\s*((#)\\\\s*(else))\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.elif-branch.in-block.c","end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"begin":"^\\\\s*((#)\\\\s*(elif))\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"contentName":"comment.block.preprocessor.elif-branch.c","end":"(?=^\\\\s*((#)\\\\s*e(?:lse|lif|ndif))\\\\b)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},{"include":"#block_innards"}]}]},"preprocessor-rule-enabled-else":{"begin":"^\\\\s*((#)\\\\s*else)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"$self"}]},"preprocessor-rule-enabled-else-block":{"begin":"^\\\\s*((#)\\\\s*else)\\\\b","beginCaptures":{"0":{"name":"meta.preprocessor.c"},"1":{"name":"keyword.control.directive.conditional.c"},"2":{"name":"punctuation.definition.directive.c"}},"end":"(?=^\\\\s*((#)\\\\s*endif)\\\\b)","patterns":[{"include":"#block_innards"}]},"probably_a_parameter":{"captures":{"1":{"name":"variable.parameter.probably.c"}},"match":"(?<=[0-9A-Z_a-z] |[]\\\\&)*>])\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(?=(?:\\\\[]\\\\s*)?[),])"},"static_assert":{"begin":"((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))((?<!\\\\w)static_assert|_Static_assert(?!\\\\w))((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))(\\\\()","beginCaptures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"keyword.other.static_assert.c"},"6":{"patterns":[{"include":"#inline_comment"}]},"7":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"8":{"name":"comment.block.c"},"9":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"10":{"name":"punctuation.section.arguments.begin.bracket.round.static_assert.c"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.arguments.end.bracket.round.static_assert.c"}},"patterns":[{"begin":"(,)\\\\s*(?=(?:L|u8?|U\\\\s*\\")?)","beginCaptures":{"1":{"name":"punctuation.separator.delimiter.comma.c"}},"end":"(?=\\\\))","name":"meta.static_assert.message.c","patterns":[{"include":"#string_context"}]},{"include":"#evaluation_context"}]},"storage_types":{"patterns":[{"match":"(?-im:(?<!\\\\w)(?:unsigned|signed|double|_Bool|short|float|long|void|char|bool|int)(?!\\\\w))","name":"storage.type.built-in.primitive.c"},{"match":"(?-im:(?<!\\\\w)(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|pthread_rwlockattr_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_uint_fast16_t|atomic_int_least64_t|atomic_int_least32_t|atomic_int_least16_t|atomic_uint_least8_t|atomic_uint_fast8_t|atomic_int_least8_t|atomic_int_fast16_t|pthread_mutexattr_t|atomic_int_fast32_t|atomic_int_fast64_t|atomic_int_fast8_t|pthread_condattr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintptr_t|atomic_uintmax_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|int_least32_t|pthread_key_t|int_least16_t|int_least64_t|uint_least8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|atomic_ushort|atomic_ullong|atomic_size_t|int_fast16_t|int_fast64_t|uint_fast8_t|atomic_short|atomic_uchar|atomic_schar|int_least8_t|memory_order|atomic_llong|atomic_ulong|int_fast32_t|atomic_long|atomic_uint|atomic_char|int_fast8_t|suseconds_t|atomic_bool|atomic_int|_Imaginary|useconds_t|in_port_t|uintmax_t|pthread_t|blksize_t|in_addr_t|uintptr_t|blkcnt_t|uint16_t|uint32_t|uint64_t|u_quad_t|_Complex|intptr_t|intmax_t|segsz_t|u_short|nlink_t|uint8_t|int64_t|int32_t|int16_t|fixpt_t|daddr_t|caddr_t|qaddr_t|ssize_t|clock_t|swblk_t|u_long|mode_t|int8_t|time_t|ushort|u_char|quad_t|size_t|pid_t|gid_t|uid_t|dev_t|div_t|off_t|u_int|key_t|ino_t|uint|id_t)(?!\\\\w))","name":"storage.type.built-in.c"},{"match":"(?-im:\\\\b(enum|struct|union)\\\\b)","name":"storage.type.$1.c"},{"begin":"\\\\b(__asm__|asm)\\\\b\\\\s*((?:volatile)?)","beginCaptures":{"1":{"name":"storage.type.asm.c"},"2":{"name":"storage.modifier.c"}},"end":"(?!\\\\G)","name":"meta.asm.c","patterns":[{"captures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"match":"^((?:(?>\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+?|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z))(?:\\\\n|$)"},{"include":"#comments"},{"begin":"(((?:(?>\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+?|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z))\\\\()","beginCaptures":{"1":{"name":"punctuation.section.parens.begin.bracket.round.assembly.c"},"2":{"patterns":[{"include":"#inline_comment"}]},"3":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"4":{"name":"comment.block.c"},"5":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.parens.end.bracket.round.assembly.c"}},"patterns":[{"begin":"(R?)(\\")","beginCaptures":{"1":{"name":"meta.encoding.c"},"2":{"name":"punctuation.definition.string.begin.assembly.c"}},"contentName":"meta.embedded.assembly.c","end":"(\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.assembly.c"}},"name":"string.quoted.double.c","patterns":[{"include":"source.asm"},{"include":"source.x86"},{"include":"source.x86_64"},{"include":"source.arm"},{"include":"#backslash_escapes"},{"include":"#string_escaped_char"}]},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.section.parens.begin.bracket.round.assembly.inner.c"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.parens.end.bracket.round.assembly.inner.c"}},"patterns":[{"include":"#evaluation_context"}]},{"captures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"variable.other.asm.label.c"},"6":{"patterns":[{"include":"#inline_comment"}]},"7":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"8":{"name":"comment.block.c"},"9":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]}},"match":"\\\\[((?:(?>\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+?|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z))([A-Z_a-z]\\\\w*)((?:(?>\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+?|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z))]"},{"match":":","name":"punctuation.separator.delimiter.colon.assembly.c"},{"include":"#comments"}]}]}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\([\\"'?\\\\\\\\abefnprtv]|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8})","name":"constant.character.escape.c"},{"match":"\\\\\\\\.","name":"invalid.illegal.unknown-escape.c"}]},"string_placeholder":{"patterns":[{"match":"%(\\\\d+\\\\$)?[- #'+0]*[,:;_]?((-?\\\\d+)|\\\\*(-?\\\\d+\\\\$)?)?(\\\\.((-?\\\\d+)|\\\\*(-?\\\\d+\\\\$)?)?)?(hh?|ll|[Ljlqtz]|vh|vl?|hv|hl)?[%AC-GOSUXac-ginopsux]","name":"constant.other.placeholder.c"},{"captures":{"1":{"name":"invalid.illegal.placeholder.c"}},"match":"(%)(?!\\"\\\\s*(PRI|SCN))"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.double.c","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"},{"include":"#line_continuation_character"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}},"name":"string.quoted.single.c","patterns":[{"include":"#string_escaped_char"},{"include":"#line_continuation_character"}]}]},"switch_conditional_parentheses":{"begin":"((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))(\\\\()","beginCaptures":{"1":{"patterns":[{"include":"#inline_comment"}]},"2":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"3":{"name":"comment.block.c"},"4":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"5":{"name":"punctuation.section.parens.begin.bracket.round.conditional.switch.c"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.parens.end.bracket.round.conditional.switch.c"}},"name":"meta.conditional.switch.c","patterns":[{"include":"#evaluation_context"},{"include":"#c_conditional_context"}]},"switch_statement":{"begin":"(((?>(?:(?>(?<!\\\\s)\\\\s+)|(/\\\\*)((?>(?:[^*]|(?>\\\\*+)[^/])*)((?>\\\\*+)/)))+|(?:(?:(?:(?:\\\\b|(?<=\\\\W))|(?=\\\\W))|\\\\A)|\\\\Z)))((?<!\\\\w)switch(?!\\\\w)))","beginCaptures":{"1":{"name":"meta.head.switch.c"},"2":{"patterns":[{"include":"#inline_comment"}]},"3":{"name":"comment.block.c punctuation.definition.comment.begin.c"},"4":{"name":"comment.block.c"},"5":{"patterns":[{"match":"\\\\*/","name":"comment.block.c punctuation.definition.comment.end.c"},{"match":"\\\\*","name":"comment.block.c"}]},"6":{"name":"keyword.control.switch.c"}},"end":"(?<=}|%>|\\\\?\\\\?>)|(?=[];=>\\\\[])","name":"meta.block.switch.c","patterns":[{"begin":"\\\\G ?","end":"(\\\\{|<%|\\\\?\\\\?<|(?=;))","endCaptures":{"1":{"name":"punctuation.section.block.begin.bracket.curly.switch.c"}},"name":"meta.head.switch.c","patterns":[{"include":"#switch_conditional_parentheses"},{"include":"$self"}]},{"begin":"(?<=\\\\{|<%|\\\\?\\\\?<)","end":"(}|%>|\\\\?\\\\?>)","endCaptures":{"1":{"name":"punctuation.section.block.end.bracket.curly.switch.c"}},"name":"meta.body.switch.c","patterns":[{"include":"#default_statement"},{"include":"#case_statement"},{"include":"$self"},{"include":"#block_innards"}]},{"begin":"(?<=}|%>|\\\\?\\\\?>)[\\\\n\\\\s]*","end":"[\\\\n\\\\s]*(?=;)","name":"meta.tail.switch.c","patterns":[{"include":"$self"}]}]},"vararg_ellipses":{"match":"(?<!\\\\.)\\\\.\\\\.\\\\.(?!\\\\.)","name":"punctuation.vararg-ellipses.c"}},"scopeName":"source.c"}`))];export{t as n,n as t};
@@ -0,0 +1 @@
1
+ var e=[Object.freeze(JSON.parse('{"displayName":"C3","fileTypes":["c3","c3i","c3t"],"name":"c3","patterns":[{"include":"#top_level"},{"include":"#statements"}],"repository":{"assign_right_expression":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#expression"}]},"attribute":{"patterns":[{"begin":"@(?:(?:align|allow_deprecated|benchmark|bigendian|builtin|callconv|cname|compact|const|deprecated|dynamic|export|extern|finalizer|format|if|inline|init|jump|link|littleendian|local|maydiscard|naked|noalias|nodiscard|noinit|noinline|nopadding|norecurse|noreturn|nosanitize|nostrip|obfuscate|operator|operator_r|operator_s|optional|overlap|packed|private|public|pure|reflect|safeinfer|safemacro|simd|section|structlike|tag|test|unused|used|wasm|weak|winmain)|\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b","beginCaptures":{"0":{"name":"keyword.annotation.c3"}},"end":"(?=[^\\\\t (])|(?<=\\\\))","name":"meta.annotation.c3","patterns":[{"include":"#parens"}]}]},"block":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.block.c3","patterns":[{"include":"#statements"}]}]},"block_comment":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.c3"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.c3"}},"name":"comment.block.c3","patterns":[{"include":"#block_comment_body"}]},"block_comment_body":{"patterns":[{"begin":"/\\\\*","end":"\\\\*/","patterns":[{"include":"#block_comment_body"}]}]},"brackets":{"patterns":[{"begin":"\\\\[<?","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.c3"}},"end":">?]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.c3"}},"name":"meta.brackets.c3","patterns":[{"include":"#expression"}]}]},"builtin":{"patterns":[{"captures":{"1":{"name":"constant.language.c3"},"2":{"name":"entity.name.function.builtin.c3"}},"match":"(?:(\\\\$\\\\$\\\\b_*[A-Z][0-9A-Z_]*)|(\\\\$\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*))\\\\b"}]},"bytes_literal":{"patterns":[{"begin":"(x)([\\"\'`])","beginCaptures":{"1":{"name":"keyword.other.c3"},"2":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\\\2","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"[f\\\\s\\\\h]+","name":"constant.numeric.integer.c3"}]},{"begin":"(b64)([\\"\'`])","beginCaptures":{"1":{"name":"keyword.other.c3"},"2":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\\\2","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"[+/-9=A-Za-z\\\\s]+","name":"constant.numeric.integer.c3"}]}]},"char_literal":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.single.c3","patterns":[{"include":"#escape_sequence"}]},"comments":{"patterns":[{"include":"#line_comment"},{"include":"#block_comment"},{"include":"#doc_comment"}]},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.c3"},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","beginCaptures":{"0":{"name":"variable.other.constant.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}]},"contract_expression":{"patterns":[{"include":"#comments"},{"include":"#function"},{"include":"#constants"},{"include":"#builtin"},{"include":"#real_literal"},{"include":"#integer_literal"},{"include":"#operators"},{"include":"#keywords"},{"include":"#type"},{"include":"#path"},{"include":"#function_call"},{"include":"#variable"},{"include":"#parens"},{"include":"#brackets"},{"include":"#block"},{"include":"#punctuation"},{"include":"#leftover_at_ident"}]},"control_statements":{"patterns":[{"begin":"\\\\$for\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#statements"}]},{"begin":"\\\\$foreach\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":"(?<=:)","patterns":[{"include":"#comments"},{"match":"\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.c3"},{"match":",","name":"punctuation.separator.c3"},{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]}]},{"begin":"\\\\bfor\\\\b","beginCaptures":{"0":{"name":"keyword.control.c3"}},"end":"(?<=\\\\))","patterns":[{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"patterns":[{"include":"#statements"}]}]},{"begin":"\\\\$(?:switch|case|default|if)\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"begin":"\\\\b(?:case|default)\\\\b","beginCaptures":{"0":{"name":"keyword.control.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]}]},"doc_comment":{"begin":"(?=<\\\\*)","end":"(\\\\*>)","endCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.end.c3"}},"patterns":[{"include":"#doc_comment_body"}]},"doc_comment_body":{"patterns":[{"begin":"(<\\\\*)\\\\s*(?=@)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.begin.c3"}},"end":"(?=\\\\*>)","patterns":[{"captures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"variable.parameter.c3"},"2":{"name":"support.type.c3"},"3":{"name":"keyword.operator.variadic.c3"}},"match":"@param(?:\\\\s*\\\\[&?(?:in|out|inout)])?\\\\s*(?:([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\.\\\\.\\\\.))"},{"begin":"@(?:require\\\\b|ensure\\\\b|return\\\\?)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"}},"end":"(?=:|\\\\*>|$)","patterns":[{"include":"#contract_expression"}]},{"match":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"comment.block.documentation.c3"},{"match":":","name":"comment.block.documentation.c3"},{"match":"`[^`]*`|\\"[^\\"]*\\"","name":"comment.block.documentation.c3"}]},{"begin":"(<\\\\*)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.begin.c3"}},"end":"(?=^\\\\s*@|\\\\*>)","name":"comment.block.documentation.c3"},{"begin":"","end":"(?=\\\\*>)","patterns":[{"captures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"variable.parameter.c3"},"2":{"name":"support.type.c3"},"3":{"name":"keyword.operator.variadic.c3"}},"match":"^\\\\s*@param(?:\\\\s*\\\\[&?(?:in|out|inout)])?\\\\s*(?:([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\.\\\\.\\\\.))"},{"begin":"^\\\\s*@(?:require\\\\b|ensure\\\\b|return\\\\?)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"}},"end":"(?=:|\\\\*>|$)","patterns":[{"include":"#contract_expression"}]},{"match":"^\\\\s*@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"comment.block.documentation.c3"},{"match":":","name":"comment.block.documentation.c3"},{"match":"`[^`]*`|\\"[^\\"]*\\"","name":"comment.block.documentation.c3"}]}]},"escape_sequence":{"match":"\\\\\\\\([\\"\'0\\\\\\\\abefnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.c3"},"expression":{"patterns":[{"include":"#comments"},{"include":"#function"},{"include":"#constants"},{"include":"#builtin"},{"include":"#literals"},{"include":"#operators"},{"include":"#keywords"},{"include":"#type"},{"include":"#path"},{"include":"#function_call"},{"include":"#variable"},{"include":"#parens"},{"include":"#brackets"},{"include":"#block"},{"include":"#punctuation"},{"include":"#leftover_at_ident"}]},"function":{"begin":"(?=\\\\b(fn|macro)\\\\b)","end":"(?=[;={])","patterns":[{"begin":"\\\\b(fn|macro)\\\\b","beginCaptures":{"1":{"name":"keyword.declaration.function.c3"}},"end":"(?=\\\\()","name":"meta.function.c3","patterns":[{"include":"#comments"},{"include":"#function_header"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.function.parameters.c3","patterns":[{"include":"#parameters"}]},{"begin":"(?<=\\\\))","contentName":"meta.function.c3","end":"(?=[;={])","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"}]}]},"function_call":{"begin":"([#@]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(\\\\{.*})?\\\\s*\\\\()","beginCaptures":{"1":{"name":"entity.name.function.c3"}},"end":"(?<=\\\\))","name":"meta.function_call.c3","patterns":[{"include":"#generic_args"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#comments"},{"begin":"([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*|\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(:)(?!:)","beginCaptures":{"1":{"name":"variable.parameter.c3"},"2":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\))|([,;])","endCaptures":{"1":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"begin":"(?=\\\\S)","end":"(?=\\\\))|([,;])","endCaptures":{"1":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"match":";","name":"punctuation.separator.c3"}]}]},"function_header":{"patterns":[{"include":"#type"},{"match":"\\\\.","name":"punctuation.accessor.c3"},{"match":"@?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.function.c3"}]},"generic_args":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.generic.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.generic.end.c3"}},"name":"meta.generic.c3","patterns":[{"include":"#expression"}]}]},"generic_params":{"patterns":[{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.generic.begin.c3"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.generic.end.c3"}},"name":"meta.generic.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"support.type.c3"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]}]},"integer_literal":{"match":"\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0[Oo][0-7](_?[0-7])*|0[Bb][01](_?[01])*|[0-9](?:_?[0-9])*)(?:[IUiu](?:8|16|32|64|128)|[Uu][Ll]{0,2}|[Ll]{1,2})?","name":"constant.numeric.integer.c3"},"keywords":{"patterns":[{"match":"\\\\$(?:alignof|assert|assignable|default|defined|echo|embed|eval|error|exec|extnameof|feature|include|is_const|kindof|nameof|offsetof|qnameof|sizeof|stringify|vacount|vaconst|vaarg|vaexpr|vasplat)\\\\b","name":"keyword.other.ct.c3"},{"match":"\\\\$(?:case|else|endfor|endforeach|endif|endswitch|for|foreach|if|switch)\\\\b","name":"keyword.control.ct.c3"},{"match":"\\\\b(?:assert|asm|catch|inline|import|module|interface|try|var)\\\\b","name":"keyword.other.c3"},{"match":"\\\\b(?:break|case|continue|default|defer|do|else|for|foreach|foreach_r|if|nextcase|return|switch|while)\\\\b","name":"keyword.control.c3"}]},"leftover_at_ident":{"patterns":[{"captures":{"0":{"name":"keyword.annotation.c3"}},"match":"@(?:pure|inline|noinline)","name":"meta.annotation.c3"},{"begin":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.function.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}]},"line_comment":{"match":"//.*$","name":"comment.line.double-slash.c3"},"literals":{"patterns":[{"include":"#string_literal"},{"include":"#char_literal"},{"include":"#raw_string_literal"},{"include":"#real_literal"},{"include":"#integer_literal"},{"include":"#bytes_literal"}]},"modifier_keywords":{"patterns":[{"match":"\\\\b(?:const|extern|static|tlocal|inline)\\\\b","name":"storage.modifier.c3"}]},"module_path":{"patterns":[{"include":"#path"},{"captures":{"1":{"name":"entity.name.scope-resolution.c3"}},"match":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b","name":"meta.path.c3"}]},"operators":{"patterns":[{"match":"=>","name":"keyword.declaration.function.arrow.c3"},{"match":"(?:[-%\\\\&*+/^|]|>>|<<|\\\\+\\\\+\\\\+)=","name":"keyword.operator.assignment.augmented.c3"},{"match":"<=|>=|==|[<>]|!=","name":"keyword.operator.comparison.c3"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"match":"\\\\.\\\\.","name":"keyword.operator.range.c3"},{"match":"\\\\+\\\\+\\\\+?|--","name":"keyword.operator.arithmetic.c3"},{"match":"<<|>>|&&&?|\\\\|\\\\|\\\\|?","name":"keyword.operator.arithmetic.c3"},{"match":"[-%+/^|~]","name":"keyword.operator.arithmetic.c3"},{"match":"=","name":"keyword.operator.assignment.c3"},{"match":"\\\\?\\\\?\\\\??|\\\\?:|[!\\\\&*:?]","name":"keyword.operator.c3"}]},"parameters":{"patterns":[{"include":"#comments"},{"begin":"\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"support.type.c3"}},"end":"(?=[),;])","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=[),;])","patterns":[{"include":"#expression"}]}]},{"include":"#type"},{"include":"#punctuation"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"match":"&","name":"keyword.operator.address.c3"},{"begin":";","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\))","patterns":[{"include":"#comments"},{"match":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.function.c3"},{"include":"#parameters"}]},{"begin":"[#$]?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"variable.parameter.c3"}},"end":"(?=[),;])","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=[),;])","patterns":[{"include":"#expression"}]}]}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#expression"}]}]},"path":{"captures":{"1":{"name":"entity.name.scope-resolution.c3"},"2":{"name":"punctuation.separator.scope-resolution.c3"}},"match":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(::)","name":"meta.path.c3"},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.c3"},{"match":":","name":"punctuation.separator.c3"},{"match":"\\\\.(?!\\\\.\\\\.)","name":"punctuation.accessor.c3"}]},"raw_string_literal":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"`(?!`)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"``","name":"constant.character.escape.c3"}]},"real_literal":{"patterns":[{"match":"\\\\b[0-9](?:_?[0-9])*(?:[Ff](?:16|32|64|128)?|[Dd])","name":"constant.numeric.float.c3"},{"match":"\\\\b(?:[0-9](?:_?[0-9])*[Ee][-+]?[0-9]+|[0-9](?:_?[0-9])*\\\\.(?!\\\\.)(?:[0-9](?:_?[0-9])*)?(?:[Ee][-+]?[0-9]+)?)(?:[Ff](?:16|32|64|128)?|[Dd])?","name":"constant.numeric.float.c3"},{"match":"\\\\b0[Xx]\\\\h(?:_?\\\\h)*(?:\\\\.(?:\\\\h(?:_?\\\\h)*)?)?[Pp][-+]?[0-9]+(?:[Ff](?:16|32|64|128)?|[Dd])?","name":"constant.numeric.float.c3"}]},"statements":{"patterns":[{"include":"#comments"},{"include":"#modifier_keywords"},{"match":";","name":"punctuation.terminator.c3"},{"include":"#control_statements"},{"include":"#attribute"},{"include":"#block"},{"include":"#expression"}]},"string_literal":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.double.c3","patterns":[{"include":"#escape_sequence"}]},"structlike":{"begin":"(?=\\\\b(?:((?:|bit)struct)|(union))\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\b(?:((?:|bit)struct)|(union))\\\\b","beginCaptures":{"1":{"name":"keyword.declaration.struct.c3"},"2":{"name":"keyword.declaration.union.c3"}},"end":"(?=\\\\{)","name":"meta.struct.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.struct.c3"},{"match":"\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.member.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"include":"#type_no_generics"},{"include":"#generic_params"},{"include":"#attribute"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#comments"},{"include":"#path"},{"include":"#type"},{"include":"#punctuation"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.struct.body.c3","patterns":[{"include":"#comments"},{"include":"#structlike"},{"include":"#modifier_keywords"},{"include":"#type"},{"match":"\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.member.c3"},{"include":"#attribute"},{"match":";","name":"punctuation.terminator.c3"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=;)","patterns":[{"include":"#attribute"},{"include":"#expression"}]}]}]},"top_level":{"patterns":[{"include":"#comments"},{"include":"#modifier_keywords"},{"begin":"\\\\$(?:assert|include|echo|exec)\\\\b","beginCaptures":{"0":{"name":"keyword.other.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"patterns":[{"include":"#comments"},{"include":"#expression"}]},{"begin":"\\\\bmodule\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.module.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.module.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"include":"#module_path"},{"include":"#generic_args"},{"include":"#generic_params"}]},{"begin":"\\\\bimport\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.import.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.import.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"include":"#module_path"},{"match":",","name":"punctuation.separator.c3"}]},{"include":"#function"},{"begin":"\\\\balias\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.alias.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.alias.c3","patterns":[{"include":"#comments"},{"begin":"(?=\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*=\\\\s*module)","end":"(?=;)","patterns":[{"begin":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b","end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"begin":"module","beginCaptures":{"0":{"name":"keyword.declaration.module.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#module_path"}]}]}]}]},{"begin":"(?:(@\\\\b_*[a-z][0-9A-Z_a-z]*)|\\\\b(_*[a-z][0-9A-Z_a-z]*)|\\\\b(_*[A-Z][0-9A-Z_]*))\\\\b","beginCaptures":{"1":{"name":"entity.name.function.c3"},"2":{"name":"variable.global.c3"},"3":{"name":"variable.other.constant.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.type.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]}]},{"begin":"\\\\btypedef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.typedef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.typedef.c3","patterns":[{"include":"#comments"},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.type.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#parens"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]}]},{"begin":"\\\\bfaultdef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.faultdef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.faultdef.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]},{"begin":"\\\\battrdef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.attrdef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.attrdef.c3","patterns":[{"include":"#comments"},{"begin":"@\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"keyword.annotation.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#parameters"}]},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":",","name":"punctuation.separator.c3"}]}]}]},{"include":"#structlike"},{"begin":"(?=\\\\benum\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\benum\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.enum.c3"}},"end":"(?=\\\\{)","name":"meta.enum.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.enum.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"match":"\\\\b(?:inline|const)\\\\b","name":"storage.modifier.c3"},{"include":"#type_no_generics"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"contentName":"meta.group.c3","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"patterns":[{"include":"#comments"},{"match":"\\\\b(?:inline|const)\\\\b","name":"storage.modifier.c3"},{"include":"#parameters"}]},{"include":"#generic_params"},{"include":"#attribute"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.enum.body.c3","patterns":[{"include":"#comments"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=,)","patterns":[{"include":"#expression"}]},{"include":"#attribute"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]}]},{"begin":"(?=\\\\bconstdef\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\bconstdef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.constdef.c3"}},"end":"(?=\\\\{)","name":"meta.constdef.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.enum.c3"},{"include":"#attribute"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.constdef.body.c3","patterns":[{"include":"#comments"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=[,}])","patterns":[{"include":"#expression"}]},{"include":"#attribute"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]}]},{"begin":"(?=\\\\binterface\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\binterface\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.interface.c3"}},"end":"(?=\\\\{)","name":"meta.interface.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.interface.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"include":"#punctuation"},{"include":"#type_no_generics"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.interface.body.c3","patterns":[{"include":"#comments"},{"match":";","name":"punctuation.terminator.c3"},{"include":"#function"}]}]}]},"type":{"patterns":[{"include":"#path"},{"begin":"(?:\\\\b(void|bool|char|double|float|float16|bfloat|int128|ichar|int|iptr|isz|long|short|uint128|uint|ulong|uptr|ushort|usz|float128|any|fault|typeid)|(\\\\$?\\\\b\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b)\\\\b","beginCaptures":{"1":{"name":"storage.type.built-in.primitive.c3"},"2":{"name":"support.type.c3"}},"end":"(?=\\\\*>|[^\\\\t *?\\\\[{])","patterns":[{"include":"#comments"},{"include":"#generic_args"},{"include":"#type_suffix"}]},{"include":"#type_expr"}]},"type_expr":{"patterns":[{"begin":"\\\\$(?:typeof|typefrom|evaltype)\\\\b","beginCaptures":{"0":{"name":"storage.type.c3"}},"end":"(?<=\\\\))","patterns":[{"include":"#parens"}]},{"begin":"\\\\$vatype\\\\b","beginCaptures":{"0":{"name":"storage.type.c3"}},"end":"(?<=])","patterns":[{"include":"#brackets"}]},{"include":"#type_suffix"}]},"type_no_generics":{"patterns":[{"include":"#path"},{"begin":"(?:\\\\b(void|bool|char|double|float|float16|bfloat|int128|ichar|int|iptr|isz|long|short|uint128|uint|ulong|uptr|ushort|usz|float128|any|fault|typeid)|(\\\\$?\\\\b\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b)\\\\b","beginCaptures":{"1":{"name":"storage.type.built-in.primitive.c3"},"2":{"name":"support.type.c3"}},"end":"(?=[^\\\\t *?@\\\\[])","patterns":[{"include":"#comments"},{"include":"#type_suffix"}]},{"include":"#type_expr"}]},"type_suffix":{"patterns":[{"include":"#brackets"},{"match":"\\\\*","name":"keyword.operator.address.c3"},{"match":"\\\\?","name":"keyword.operator.c3"}]},"variable":{"begin":"(?<!#)\\\\$?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"variable.other.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}},"scopeName":"source.c3"}'))];export{e as default};
@@ -0,0 +1 @@
1
+ var e=[Object.freeze(JSON.parse(`{"displayName":"Cadence","name":"cadence","patterns":[{"include":"#comments"},{"include":"#declarations"},{"include":"#keywords"},{"include":"#code-block"},{"include":"#expressions"},{"include":"#composite"},{"include":"#event"}],"repository":{"code-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.scope.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.scope.end.cadence"}},"patterns":[{"include":"$self"}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.cadence"}},"match":"\\\\A^(#!).*$\\\\n?","name":"comment.line.number-sign.cadence"},{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.documentation.cadence","patterns":[{"include":"#nested"}]},{"begin":"/\\\\*:","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.documentation.playground.cadence","patterns":[{"include":"#nested"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.cadence","patterns":[{"include":"#nested"}]},{"match":"\\\\*/","name":"invalid.illegal.unexpected-end-of-block-comment.cadence"},{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.cadence"}},"end":"(?!\\\\G)","patterns":[{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.triple-slash.documentation.cadence"},{"begin":"//:","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.double-slash.documentation.cadence"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.double-slash.cadence"}]}],"repository":{"nested":{"begin":"/\\\\*","end":"\\\\*/","patterns":[{"include":"#nested"}]}}},"composite":{"begin":"\\\\b((?:struct|resource|contract|attachment)(?:\\\\s+interface)?|enum)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","beginCaptures":{"1":{"name":"storage.type.$1.cadence"},"2":{"name":"entity.name.type.$1.cadence"}},"end":"(?<=})|(?=\\\\s*\\\\Z)","name":"meta.definition.type.composite.cadence","patterns":[{"include":"#comments"},{"include":"#conformance-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.type.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.type.end.cadence"}},"name":"meta.definition.type.body.cadence","patterns":[{"include":"$self"}]}]},"conformance-clause":{"begin":"(:)(?=\\\\s*\\\\{)|(:)\\\\s*","beginCaptures":{"1":{"name":"invalid.illegal.empty-conformance-clause.cadence"},"2":{"name":"punctuation.separator.conformance-clause.cadence"}},"end":"(?!\\\\G)$|(?=[={}])","name":"meta.conformance-clause.cadence","patterns":[{"begin":"\\\\G","end":"(?!\\\\G)$|(?=[={}])","patterns":[{"include":"#comments"},{"include":"#type"}]}]},"declarations":{"patterns":[{"include":"#var-let-declaration"},{"include":"#function"},{"include":"#initializer"},{"include":"#prepare-execute"},{"include":"#execute-phase"},{"include":"#pre-post"},{"include":"#transaction"}]},"event":{"begin":"\\\\b(event)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*","beginCaptures":{"1":{"name":"storage.type.event.cadence"},"2":{"name":"entity.name.type.event.cadence"}},"end":"(?<=\\\\))","name":"meta.definition.type.event.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"}]},"execute-phase":{"begin":"(?<!\\\\.)\\\\b(execute)\\\\b\\\\s*(?=\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"expression-element-list":{"patterns":[{"include":"#comments"},{"begin":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function-call.cadence"},"2":{"name":"punctuation.separator.argument-label.cadence"}},"end":"(?=[]),])","patterns":[{"include":"#expressions"}]},{"begin":"(?![]),])(?=\\\\S)","end":"(?=[]),])","patterns":[{"include":"#expressions"}]}]},"expressions":{"patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#language-variables"},{"include":"#function-expression"},{"include":"#path-literals"},{"begin":"(?!\\\\b(?:if|while|for|return|create|destroy|emit|as)\\\\b)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(<)(?=[\\\\&(@\\\\[_{\\\\p{Lu}]|auth\\\\b|\\\\s*$)","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.type-arguments.begin.cadence"}},"end":"(>)(?!\\\\s*[<=>])","endCaptures":{"1":{"name":"punctuation.definition.type-arguments.end.cadence"}},"name":"meta.type.arguments.cadence","patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.type-argument.cadence"}]},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.group.cadence","patterns":[{"include":"#expression-element-list"}]},{"begin":"(?<=\\\\.)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.function-call.method.cadence","patterns":[{"include":"#expression-element-list"}]},{"match":"(?<=\\\\.)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"variable.other.member.cadence"},{"include":"#function-call-expression"},{"match":"(?<!\\\\.)\\\\b(?!(?:contract|struct|resource|event|enum|attachment|entitlement|import|fun|let|var|if|else|switch|case|default|while|for|in|break|continue|return|emit|as|create|destroy|attach|to|remove|from|pub|priv|access|all|self|view|auth|transaction|prepare|execute|pre|post|init|true|false|nil|Type|Int|UInt|Int8|Int16|Int32|Int64|Int128|Int256|UInt8|UInt16|UInt32|UInt64|UInt128|UInt256|Word8|Word16|Word32|Word64|Fix64|Fix128|UFix64|UFix128|String|Character|Bool|Address|Void|AnyStruct|AnyResource|Any|Never|mapping|include)\\\\b)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\b","name":"variable.other.readwrite.cadence"},{"include":"#literals"},{"include":"#operators"}]},"function":{"begin":"\\\\b(fun)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*","beginCaptures":{"1":{"name":"storage.type.function.cadence"},"2":{"name":"entity.name.function.cadence"}},"end":"(?<=})|;|(?=}\\\\s*$)|$","name":"meta.definition.function.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"include":"#function-result"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"function-call-expression":{"patterns":[{"begin":"(?<!\\\\.)\\\\b(?!set|init|transaction|prepare|execute|access|auth)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.function-call.cadence","patterns":[{"include":"#expression-element-list"}]}]},"function-expression":{"begin":"(?<!\\\\.)\\\\b(?:(view)\\\\s+)?(fun)\\\\b(?=\\\\s*\\\\()","beginCaptures":{"1":{"name":"storage.modifier.view.cadence"},"2":{"name":"storage.type.function.cadence"}},"end":"(?<=})|$","name":"meta.function.expression.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"include":"#function-result"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"function-result":{"begin":"(?<![-!%\\\\&*+./<=>^|~])(:)(?![-!%\\\\&*+./<=>^|~])\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.function-result.cadence"}},"end":"(?<![\\\\&<@\\\\[])(?!\\\\G)(?=\\\\s*\\\\{)|(?=;|(?<!\\\\{)})|$","name":"meta.function-result.cadence","patterns":[{"include":"#type"}]},"initializer":{"begin":"(?<!\\\\.)\\\\b(init)\\\\s*(?=[(<])","beginCaptures":{"1":{"name":"storage.type.function.cadence"}},"end":"(?<=})|$","name":"meta.definition.function.initializer.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"keywords":{"patterns":[{"match":"(?<!\\\\.)\\\\bvar\\\\b","name":"storage.type.var.cadence"},{"match":"(?<!\\\\.)\\\\blet\\\\b","name":"storage.type.let.cadence"},{"begin":"(?<!\\\\.)\\\\b(entitlement)\\\\s+(mapping)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.declaration.entitlement.cadence"},"2":{"name":"keyword.other.mapping.cadence"},"3":{"name":"entity.name.type.entitlement-mapping.cadence"},"4":{"name":"punctuation.definition.type.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.end.cadence"}},"name":"meta.definition.entitlement-mapping.cadence","patterns":[{"include":"#comments"},{"match":"\\\\binclude\\\\b","name":"keyword.other.mapping.include.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\binclude)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"},{"match":"->","name":"punctuation.separator.mapping.cadence"}]},{"captures":{"1":{"name":"keyword.declaration.entitlement.cadence"},"2":{"name":"entity.name.type.entitlement.cadence"}},"match":"(?<!\\\\.)\\\\b(entitlement)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"begin":"(?<!\\\\.)\\\\b(access)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.access.cadence"},"2":{"name":"punctuation.section.group.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.group.end.cadence"}},"name":"meta.access.modifier.cadence","patterns":[{"include":"#comments"},{"match":"\\\\bmapping\\\\b","name":"keyword.other.mapping.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\bmapping)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"\\\\b(?:all|self|contract|account)\\\\b","name":"constant.language.access.audience.cadence"},{"match":",","name":"punctuation.separator.entitlement.cadence"},{"match":"\\\\|","name":"punctuation.separator.entitlement.cadence"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"}]},{"match":"(?<!\\\\.)\\\\b(?:if|else|switch|case|default)\\\\b","name":"keyword.control.branch.cadence"},{"match":"(?<!\\\\.)\\\\b(?:return|continue|break)\\\\b","name":"keyword.control.transfer.cadence"},{"match":"(?<!\\\\.)\\\\b(?:while|for|in)\\\\b","name":"keyword.control.loop.cadence"},{"match":"(?<!\\\\.)\\\\b(?:create|destroy|emit|attach|to|remove|from)\\\\b","name":"keyword.other.cadence"},{"match":"(?<!\\\\.)\\\\b(p(?:ub|riv))\\\\b","name":"invalid.deprecated.keyword.cadence"},{"match":"(?<!\\\\.)\\\\bview\\\\b","name":"storage.modifier.view.cadence"},{"match":"(?<!\\\\.)\\\\b(auth)\\\\b","name":"keyword.other.auth.cadence"},{"begin":"(?<!\\\\.)\\\\b(import)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import.cadence"}},"end":"(?=$|//|/\\\\*|;)","name":"meta.import.cadence","patterns":[{"match":"\\\\bfrom\\\\b","name":"keyword.control.import.cadence"},{"include":"#literals"},{"match":"\\\\b[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\b","name":"variable.other.readwrite.cadence"}]}]},"language-variables":{"patterns":[{"match":"\\\\b(self)\\\\b","name":"variable.language.cadence"}]},"literals":{"patterns":[{"include":"#boolean"},{"include":"#numeric"},{"include":"#string"},{"match":"\\\\bnil\\\\b","name":"constant.language.nil.cadence"}],"repository":{"boolean":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.cadence"},"numeric":{"patterns":[{"include":"#binary"},{"include":"#octal"},{"include":"#hexadecimal"},{"include":"#fixed-point"},{"include":"#decimal"}],"repository":{"binary":{"match":"(\\\\B-|\\\\b)0b[01]([01_]*[01])?\\\\b","name":"constant.numeric.integer.binary.cadence"},"decimal":{"match":"(\\\\B-|\\\\b)[0-9]([0-9_]*[0-9])?\\\\b","name":"constant.numeric.integer.decimal.cadence"},"fixed-point":{"match":"(\\\\B-|\\\\b)[0-9]([0-9_]*[0-9])?\\\\.[0-9]([0-9_]*[0-9])?\\\\b","name":"constant.numeric.float.cadence"},"hexadecimal":{"match":"(\\\\B-|\\\\b)0x\\\\h([_\\\\h]*\\\\h)?\\\\b","name":"constant.numeric.integer.hexadecimal.cadence"},"octal":{"match":"(\\\\B-|\\\\b)0o[0-7]([0-7_]*[0-7])?\\\\b","name":"constant.numeric.integer.octal.cadence"}}},"string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.cadence"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.cadence"}},"name":"string.quoted.double.single-line.cadence","patterns":[{"match":"[\\\\n\\\\r]","name":"invalid.illegal.returns-not-allowed.cadence"},{"begin":"\\\\\\\\\\\\(","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.cadence meta.embedded.cadence"}},"contentName":"meta.embedded.line.cadence","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.embedded.end.cadence meta.embedded.cadence"}},"name":"meta.interpolation.cadence","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.cadence"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.cadence"}},"patterns":[{"include":"#expressions"}]},{"include":"#expressions"}]},{"include":"#string-guts"}]}],"repository":{"string-guts":{"patterns":[{"match":"\\\\\\\\[\\"'0\\\\\\\\nrt]","name":"constant.character.escape.cadence"},{"match":"\\\\\\\\u\\\\{\\\\h{1,8}}","name":"constant.character.escape.unicode.cadence"}]}}}}},"operators":{"patterns":[{"match":"<->","name":"keyword.operator.swap.cadence"},{"match":"\\\\?\\\\.","name":"keyword.operator.optional.chain.cadence"},{"begin":"\\\\b(as(?:\\\\?|!?))\\\\b","beginCaptures":{"0":{"name":"keyword.operator.type.cast.cadence"}},"end":"(?=$|;|//|/\\\\\\\\*|\\")|(?=[),}])|(?<=>)(?=\\\\s*\\\\{(?!\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:))|(?<=[])>?}\\\\p{L}\\\\p{N}])(?=\\\\s*\\\\{(?!\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:))|(?=\\\\?\\\\?)","name":"meta.type.cast-target.cadence","patterns":[{"begin":"\\\\{(?=\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:)","beginCaptures":{"0":{"name":"punctuation.definition.type.dictionary.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.dictionary.end.cadence"}},"name":"meta.type.dictionary.cadence","patterns":[{"include":"#comments"},{"include":"#type"},{"match":":","name":"punctuation.separator.type.dictionary.cadence"},{"match":",","name":"punctuation.separator.type.dictionary.cadence"}]},{"include":"#type"}]},{"match":"-","name":"keyword.operator.arithmetic.unary.cadence"},{"match":"(?<=\\\\))!","name":"keyword.operator.force-unwrap.cadence"},{"match":"!","name":"keyword.operator.logical.not.cadence"},{"match":"=","name":"keyword.operator.assignment.cadence"},{"match":"<-","name":"keyword.operator.move.cadence"},{"match":"<-!","name":"keyword.operator.force-move.cadence"},{"match":"[-*+/]","name":"keyword.operator.arithmetic.cadence"},{"match":"%","name":"keyword.operator.arithmetic.remainder.cadence"},{"match":">>","name":"keyword.operator.bitwise.shift.cadence"},{"match":"<<","name":"keyword.operator.bitwise.shift.cadence"},{"match":"==|!=|[<>]|>=|<=","name":"keyword.operator.comparison.cadence"},{"match":"\\\\?\\\\?","name":"keyword.operator.coalescing.cadence"},{"match":"&&|\\\\|\\\\|","name":"keyword.operator.logical.cadence"},{"match":"[!?]","name":"keyword.operator.type.optional.cadence"}]},"parameter-clause":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.cadence"}},"name":"meta.parameter-clause.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-list"}]},"parameter-list":{"patterns":[{"include":"#comments"},{"captures":{"1":{"name":"keyword.operator.unnamed-parameter.cadence"},"2":{"name":"variable.parameter.cadence"}},"match":"(_)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"captures":{"1":{"name":"entity.name.label.cadence"},"2":{"name":"variable.parameter.cadence"}},"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"captures":{"1":{"name":"variable.parameter.cadence"}},"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"begin":":\\\\s*(?!\\\\s)","end":"(?=[),])","patterns":[{"include":"#type"},{"match":":","name":"invalid.illegal.extra-colon-in-parameter-list.cadence"}]}]},"path-literals":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.path.cadence"},"2":{"name":"constant.other.path.cadence"}},"match":"(/)((storage|public)(/[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)?)"}]},"pre-post":{"begin":"(?<!\\\\.)\\\\b(p(?:re|ost))\\\\b\\\\s*(?=\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"prepare-execute":{"begin":"(?<!\\\\.)\\\\b(prepare)\\\\b\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"transaction":{"begin":"\\\\b(transaction)\\\\b","beginCaptures":{"1":{"name":"storage.type.transaction.cadence"}},"end":"(?<=\\\\))|(?<=})","name":"meta.definition.transaction.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.transaction.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.transaction.end.cadence"}},"name":"meta.definition.transaction.body.cadence","patterns":[{"include":"$self"}]}]},"type":{"patterns":[{"begin":"(?<!\\\\.)\\\\b(?:(view)\\\\s+)?(fun)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.view.cadence"},"2":{"name":"storage.type.function.cadence"},"3":{"name":"punctuation.definition.parameters.begin.cadence"}},"end":"(?=[]),>}]|$)","name":"meta.type.function.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\G","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.cadence"}},"patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.parameter.cadence"}]},{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.function-result.cadence"}},"end":"(?=[]),>}]|$)","name":"meta.function-result.cadence","patterns":[{"include":"#type"}]}]},{"include":"#comments"},{"begin":"(?<!\\\\.)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(<)","beginCaptures":{"1":{"name":"entity.name.type.cadence"},"2":{"name":"punctuation.definition.type-arguments.begin.cadence"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.type-arguments.end.cadence"}},"name":"meta.type.arguments.cadence","patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.type-argument.cadence"}]},{"begin":"(?<!\\\\.)\\\\b(auth)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.auth.cadence"},"2":{"name":"punctuation.section.group.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.group.end.cadence"}},"name":"meta.auth.entitlements.cadence","patterns":[{"include":"#comments"},{"match":"\\\\bmapping\\\\b","name":"keyword.other.mapping.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\bmapping)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":",","name":"punctuation.separator.entitlement.cadence"},{"match":"\\\\|","name":"punctuation.separator.entitlement.cadence"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"}]},{"begin":"\\\\{(?![^}]*:)(?!.*}\\\\s*\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.type.intersection.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.intersection.end.cadence"}},"patterns":[{"include":"#comments"},{"include":"#type"},{"match":",","name":"punctuation.separator.type.intersection.cadence"}]},{"begin":"\\\\{(?=\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:)(?!.*}\\\\s*\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.type.dictionary.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.dictionary.end.cadence"}},"name":"meta.type.dictionary.cadence","patterns":[{"include":"#comments"},{"include":"#type"},{"match":":","name":"punctuation.separator.type.dictionary.cadence"},{"match":",","name":"punctuation.separator.type.dictionary.cadence"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.type.array.begin.cadence"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.type.array.end.cadence"}},"name":"meta.type.array.cadence","patterns":[{"include":"#comments"},{"include":"#type"}]},{"captures":{"1":{"name":"punctuation.definition.type.reference.cadence"}},"match":"([\\\\&@])(?=\\\\s*\\\\{)"},{"captures":{"1":{"name":"punctuation.definition.type.reference.cadence"},"2":{"name":"entity.name.type.cadence"}},"match":"([\\\\&@])\\\\s*([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","name":"entity.name.type.cadence"},{"match":"[!?]","name":"keyword.operator.type.optional.cadence"}]},"var-let-declaration":{"begin":"\\\\b(var|let)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","beginCaptures":{"1":{"name":"storage.type.$1.cadence"},"2":{"name":"variable.other.declaration.cadence"}},"end":"=|<-!??|;|(?=//)|$","patterns":[{"include":"#comments"},{"begin":":\\\\s*(?!\\\\s)","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.cadence"}},"end":"(?=//|=|<-!??|;|$)","patterns":[{"include":"#type"},{"include":"#comments"}]}]}},"scopeName":"source.cadence","aliases":["cdc"]}`))];export{e as default};
@@ -0,0 +1 @@
1
+ import e from"./python-gzcpVVnB.js";var t=Object.freeze(JSON.parse(`{"displayName":"Cairo","name":"cairo","patterns":[{"begin":"\\\\b(if).*\\\\(","beginCaptures":{"1":{"name":"keyword.control.if"},"2":{"name":"entity.name.condition"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.if","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(with)\\\\s+(.+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.with"},"2":{"name":"entity.name.identifiers"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.with","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(with_attr)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]","beginCaptures":{"1":{"name":"keyword.control.with_attr"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.with_attr","patterns":[{"include":"source.cairo0"}]},{"match":"\\\\belse\\\\b","name":"keyword.control.else"},{"match":"\\\\b(call|jmp|ret|abs|rel|if)\\\\b","name":"keyword.other.opcode"},{"match":"\\\\b([af]p)\\\\b","name":"keyword.other.register"},{"match":"\\\\b(const|let|local|tempvar|felt|as|from|import|static_assert|return|assert|cast|alloc_locals|with|with_attr|nondet|dw|codeoffset|new|using|and)\\\\b","name":"keyword.other.meta"},{"match":"\\\\b(SIZE(?:OF_LOCALS|))\\\\b","name":"markup.italic"},{"match":"//[^\\\\n]*\\\\n","name":"comment.line.sharp"},{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*:\\\\s*$","name":"entity.name.function"},{"begin":"\\\\b(func)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]","beginCaptures":{"1":{"name":"storage.type.function.cairo"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"storage.type.function.cairo"}},"name":"meta.function.cairo","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(struct|namespace)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"storage.type.function.cairo"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"storage.type.function.cairo"}},"name":"meta.function.cairo","patterns":[{"include":"source.cairo0"}]},{"match":"\\\\b[-+]?[0-9]+\\\\b","name":"constant.numeric.decimal"},{"match":"\\\\b[-+]?0x\\\\h+\\\\b","name":"constant.numeric.hexadecimal"},{"match":"'[^']*'","name":"string.quoted.single"},{"match":"\\"[^\\"]*\\"","name":"string.quoted.double"},{"begin":"%\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.python"}},"contentName":"source.python","end":"%}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.python"},"1":{"name":"source.python"}},"name":"meta.embedded.block.python","patterns":[{"include":"source.python"}]}],"scopeName":"source.cairo0","embeddedLangs":["python"]}`)),n=[...e,t];export{n as default};