@reqlan/language 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/README.md +24 -0
  2. package/out/file-path-rewrite.d.ts +25 -0
  3. package/out/file-path-rewrite.js +56 -0
  4. package/out/file-path-rewrite.js.map +1 -0
  5. package/out/generated/ast.d.ts +1157 -0
  6. package/out/generated/ast.js +980 -0
  7. package/out/generated/ast.js.map +1 -0
  8. package/out/generated/grammar.d.ts +7 -0
  9. package/out/generated/grammar.js +3071 -0
  10. package/out/generated/grammar.js.map +1 -0
  11. package/out/generated/module.d.ts +20 -0
  12. package/out/generated/module.js +32 -0
  13. package/out/generated/module.js.map +1 -0
  14. package/out/index.d.ts +34 -0
  15. package/out/index.js +35 -0
  16. package/out/index.js.map +1 -0
  17. package/out/reqlan-attribute-catalog.d.ts +19 -0
  18. package/out/reqlan-attribute-catalog.js +87 -0
  19. package/out/reqlan-attribute-catalog.js.map +1 -0
  20. package/out/reqlan-code-action-provider.d.ts +55 -0
  21. package/out/reqlan-code-action-provider.js +269 -0
  22. package/out/reqlan-code-action-provider.js.map +1 -0
  23. package/out/reqlan-code-lens-provider.d.ts +13 -0
  24. package/out/reqlan-code-lens-provider.js +27 -0
  25. package/out/reqlan-code-lens-provider.js.map +1 -0
  26. package/out/reqlan-code-lens-settings.d.ts +34 -0
  27. package/out/reqlan-code-lens-settings.js +12 -0
  28. package/out/reqlan-code-lens-settings.js.map +1 -0
  29. package/out/reqlan-comment-resolver.d.ts +35 -0
  30. package/out/reqlan-comment-resolver.js +308 -0
  31. package/out/reqlan-comment-resolver.js.map +1 -0
  32. package/out/reqlan-completion-context.d.ts +46 -0
  33. package/out/reqlan-completion-context.js +244 -0
  34. package/out/reqlan-completion-context.js.map +1 -0
  35. package/out/reqlan-completion-provider.d.ts +41 -0
  36. package/out/reqlan-completion-provider.js +317 -0
  37. package/out/reqlan-completion-provider.js.map +1 -0
  38. package/out/reqlan-definition-provider.d.ts +31 -0
  39. package/out/reqlan-definition-provider.js +240 -0
  40. package/out/reqlan-definition-provider.js.map +1 -0
  41. package/out/reqlan-document-highlight-provider.d.ts +10 -0
  42. package/out/reqlan-document-highlight-provider.js +11 -0
  43. package/out/reqlan-document-highlight-provider.js.map +1 -0
  44. package/out/reqlan-document-link-provider.d.ts +14 -0
  45. package/out/reqlan-document-link-provider.js +24 -0
  46. package/out/reqlan-document-link-provider.js.map +1 -0
  47. package/out/reqlan-embedded-file-references.d.ts +11 -0
  48. package/out/reqlan-embedded-file-references.js +50 -0
  49. package/out/reqlan-embedded-file-references.js.map +1 -0
  50. package/out/reqlan-file-link-resolver.d.ts +44 -0
  51. package/out/reqlan-file-link-resolver.js +347 -0
  52. package/out/reqlan-file-link-resolver.js.map +1 -0
  53. package/out/reqlan-file-references.d.ts +15 -0
  54. package/out/reqlan-file-references.js +72 -0
  55. package/out/reqlan-file-references.js.map +1 -0
  56. package/out/reqlan-grammar-config.d.ts +5 -0
  57. package/out/reqlan-grammar-config.js +9 -0
  58. package/out/reqlan-grammar-config.js.map +1 -0
  59. package/out/reqlan-idea-reference-site.d.ts +14 -0
  60. package/out/reqlan-idea-reference-site.js +47 -0
  61. package/out/reqlan-idea-reference-site.js.map +1 -0
  62. package/out/reqlan-idea-summary.d.ts +6 -0
  63. package/out/reqlan-idea-summary.js +134 -0
  64. package/out/reqlan-idea-summary.js.map +1 -0
  65. package/out/reqlan-ignore-error.d.ts +10 -0
  66. package/out/reqlan-ignore-error.js +42 -0
  67. package/out/reqlan-ignore-error.js.map +1 -0
  68. package/out/reqlan-import-bindings.d.ts +12 -0
  69. package/out/reqlan-import-bindings.js +65 -0
  70. package/out/reqlan-import-bindings.js.map +1 -0
  71. package/out/reqlan-import-edits.d.ts +17 -0
  72. package/out/reqlan-import-edits.js +96 -0
  73. package/out/reqlan-import-edits.js.map +1 -0
  74. package/out/reqlan-imports.d.ts +22 -0
  75. package/out/reqlan-imports.js +61 -0
  76. package/out/reqlan-imports.js.map +1 -0
  77. package/out/reqlan-inbound-reference-inlay-label.d.ts +27 -0
  78. package/out/reqlan-inbound-reference-inlay-label.js +142 -0
  79. package/out/reqlan-inbound-reference-inlay-label.js.map +1 -0
  80. package/out/reqlan-inlay-hint-provider.d.ts +15 -0
  81. package/out/reqlan-inlay-hint-provider.js +54 -0
  82. package/out/reqlan-inlay-hint-provider.js.map +1 -0
  83. package/out/reqlan-inlay-hint-settings.d.ts +10 -0
  84. package/out/reqlan-inlay-hint-settings.js +10 -0
  85. package/out/reqlan-inlay-hint-settings.js.map +1 -0
  86. package/out/reqlan-linker.d.ts +26 -0
  87. package/out/reqlan-linker.js +83 -0
  88. package/out/reqlan-linker.js.map +1 -0
  89. package/out/reqlan-markdown-links.d.ts +28 -0
  90. package/out/reqlan-markdown-links.js +113 -0
  91. package/out/reqlan-markdown-links.js.map +1 -0
  92. package/out/reqlan-module.d.ts +41 -0
  93. package/out/reqlan-module.js +78 -0
  94. package/out/reqlan-module.js.map +1 -0
  95. package/out/reqlan-name-catalog.d.ts +23 -0
  96. package/out/reqlan-name-catalog.js +63 -0
  97. package/out/reqlan-name-catalog.js.map +1 -0
  98. package/out/reqlan-name-provider.d.ts +10 -0
  99. package/out/reqlan-name-provider.js +38 -0
  100. package/out/reqlan-name-provider.js.map +1 -0
  101. package/out/reqlan-namespace-import-links.d.ts +10 -0
  102. package/out/reqlan-namespace-import-links.js +69 -0
  103. package/out/reqlan-namespace-import-links.js.map +1 -0
  104. package/out/reqlan-path-completion.d.ts +50 -0
  105. package/out/reqlan-path-completion.js +304 -0
  106. package/out/reqlan-path-completion.js.map +1 -0
  107. package/out/reqlan-path-references.d.ts +5 -0
  108. package/out/reqlan-path-references.js +124 -0
  109. package/out/reqlan-path-references.js.map +1 -0
  110. package/out/reqlan-path-resolve.d.ts +81 -0
  111. package/out/reqlan-path-resolve.js +245 -0
  112. package/out/reqlan-path-resolve.js.map +1 -0
  113. package/out/reqlan-quoted-strings.d.ts +9 -0
  114. package/out/reqlan-quoted-strings.js +26 -0
  115. package/out/reqlan-quoted-strings.js.map +1 -0
  116. package/out/reqlan-reference-at-position.d.ts +20 -0
  117. package/out/reqlan-reference-at-position.js +89 -0
  118. package/out/reqlan-reference-at-position.js.map +1 -0
  119. package/out/reqlan-reference-code-lens.d.ts +32 -0
  120. package/out/reqlan-reference-code-lens.js +240 -0
  121. package/out/reqlan-reference-code-lens.js.map +1 -0
  122. package/out/reqlan-reference-search-site.d.ts +34 -0
  123. package/out/reqlan-reference-search-site.js +136 -0
  124. package/out/reqlan-reference-search-site.js.map +1 -0
  125. package/out/reqlan-references.d.ts +16 -0
  126. package/out/reqlan-references.js +51 -0
  127. package/out/reqlan-references.js.map +1 -0
  128. package/out/reqlan-scope.d.ts +25 -0
  129. package/out/reqlan-scope.js +259 -0
  130. package/out/reqlan-scope.js.map +1 -0
  131. package/out/reqlan-semantic-token-provider.d.ts +8 -0
  132. package/out/reqlan-semantic-token-provider.js +91 -0
  133. package/out/reqlan-semantic-token-provider.js.map +1 -0
  134. package/out/reqlan-token-builder.d.ts +12 -0
  135. package/out/reqlan-token-builder.js +459 -0
  136. package/out/reqlan-token-builder.js.map +1 -0
  137. package/out/reqlan-validator.d.ts +25 -0
  138. package/out/reqlan-validator.js +119 -0
  139. package/out/reqlan-validator.js.map +1 -0
  140. package/out/reqlan-workspace-attribute-catalog.d.ts +6 -0
  141. package/out/reqlan-workspace-attribute-catalog.js +54 -0
  142. package/out/reqlan-workspace-attribute-catalog.js.map +1 -0
  143. package/out/src/file-path-rewrite.d.ts +25 -0
  144. package/out/src/file-path-rewrite.js +56 -0
  145. package/out/src/file-path-rewrite.js.map +1 -0
  146. package/out/src/generated/ast.d.ts +1173 -0
  147. package/out/src/generated/ast.js +994 -0
  148. package/out/src/generated/ast.js.map +1 -0
  149. package/out/src/generated/grammar.d.ts +7 -0
  150. package/out/src/generated/grammar.js +3045 -0
  151. package/out/src/generated/grammar.js.map +1 -0
  152. package/out/src/generated/module.d.ts +20 -0
  153. package/out/src/generated/module.js +32 -0
  154. package/out/src/generated/module.js.map +1 -0
  155. package/out/src/index.d.ts +29 -0
  156. package/out/src/index.js +30 -0
  157. package/out/src/index.js.map +1 -0
  158. package/out/src/reqlan-attribute-catalog.d.ts +19 -0
  159. package/out/src/reqlan-attribute-catalog.js +87 -0
  160. package/out/src/reqlan-attribute-catalog.js.map +1 -0
  161. package/out/src/reqlan-code-action-provider.d.ts +34 -0
  162. package/out/src/reqlan-code-action-provider.js +206 -0
  163. package/out/src/reqlan-code-action-provider.js.map +1 -0
  164. package/out/src/reqlan-comment-resolver.d.ts +35 -0
  165. package/out/src/reqlan-comment-resolver.js +308 -0
  166. package/out/src/reqlan-comment-resolver.js.map +1 -0
  167. package/out/src/reqlan-completion-context.d.ts +46 -0
  168. package/out/src/reqlan-completion-context.js +244 -0
  169. package/out/src/reqlan-completion-context.js.map +1 -0
  170. package/out/src/reqlan-completion-provider.d.ts +41 -0
  171. package/out/src/reqlan-completion-provider.js +320 -0
  172. package/out/src/reqlan-completion-provider.js.map +1 -0
  173. package/out/src/reqlan-definition-provider.d.ts +31 -0
  174. package/out/src/reqlan-definition-provider.js +240 -0
  175. package/out/src/reqlan-definition-provider.js.map +1 -0
  176. package/out/src/reqlan-document-highlight-provider.d.ts +10 -0
  177. package/out/src/reqlan-document-highlight-provider.js +11 -0
  178. package/out/src/reqlan-document-highlight-provider.js.map +1 -0
  179. package/out/src/reqlan-document-link-provider.d.ts +14 -0
  180. package/out/src/reqlan-document-link-provider.js +24 -0
  181. package/out/src/reqlan-document-link-provider.js.map +1 -0
  182. package/out/src/reqlan-embedded-file-references.d.ts +11 -0
  183. package/out/src/reqlan-embedded-file-references.js +50 -0
  184. package/out/src/reqlan-embedded-file-references.js.map +1 -0
  185. package/out/src/reqlan-file-link-resolver.d.ts +44 -0
  186. package/out/src/reqlan-file-link-resolver.js +347 -0
  187. package/out/src/reqlan-file-link-resolver.js.map +1 -0
  188. package/out/src/reqlan-file-references.d.ts +15 -0
  189. package/out/src/reqlan-file-references.js +72 -0
  190. package/out/src/reqlan-file-references.js.map +1 -0
  191. package/out/src/reqlan-grammar-config.d.ts +5 -0
  192. package/out/src/reqlan-grammar-config.js +9 -0
  193. package/out/src/reqlan-grammar-config.js.map +1 -0
  194. package/out/src/reqlan-idea-summary.d.ts +6 -0
  195. package/out/src/reqlan-idea-summary.js +78 -0
  196. package/out/src/reqlan-idea-summary.js.map +1 -0
  197. package/out/src/reqlan-ignore-error.d.ts +10 -0
  198. package/out/src/reqlan-ignore-error.js +42 -0
  199. package/out/src/reqlan-ignore-error.js.map +1 -0
  200. package/out/src/reqlan-import-bindings.d.ts +12 -0
  201. package/out/src/reqlan-import-bindings.js +65 -0
  202. package/out/src/reqlan-import-bindings.js.map +1 -0
  203. package/out/src/reqlan-import-edits.d.ts +17 -0
  204. package/out/src/reqlan-import-edits.js +96 -0
  205. package/out/src/reqlan-import-edits.js.map +1 -0
  206. package/out/src/reqlan-imports.d.ts +22 -0
  207. package/out/src/reqlan-imports.js +61 -0
  208. package/out/src/reqlan-imports.js.map +1 -0
  209. package/out/src/reqlan-inbound-reference-inlay-label.d.ts +23 -0
  210. package/out/src/reqlan-inbound-reference-inlay-label.js +128 -0
  211. package/out/src/reqlan-inbound-reference-inlay-label.js.map +1 -0
  212. package/out/src/reqlan-inlay-hint-provider.d.ts +15 -0
  213. package/out/src/reqlan-inlay-hint-provider.js +54 -0
  214. package/out/src/reqlan-inlay-hint-provider.js.map +1 -0
  215. package/out/src/reqlan-inlay-hint-settings.d.ts +10 -0
  216. package/out/src/reqlan-inlay-hint-settings.js +10 -0
  217. package/out/src/reqlan-inlay-hint-settings.js.map +1 -0
  218. package/out/src/reqlan-linker.d.ts +26 -0
  219. package/out/src/reqlan-linker.js +86 -0
  220. package/out/src/reqlan-linker.js.map +1 -0
  221. package/out/src/reqlan-markdown-links.d.ts +28 -0
  222. package/out/src/reqlan-markdown-links.js +113 -0
  223. package/out/src/reqlan-markdown-links.js.map +1 -0
  224. package/out/src/reqlan-module.d.ts +41 -0
  225. package/out/src/reqlan-module.js +76 -0
  226. package/out/src/reqlan-module.js.map +1 -0
  227. package/out/src/reqlan-name-catalog.d.ts +23 -0
  228. package/out/src/reqlan-name-catalog.js +63 -0
  229. package/out/src/reqlan-name-catalog.js.map +1 -0
  230. package/out/src/reqlan-name-provider.d.ts +10 -0
  231. package/out/src/reqlan-name-provider.js +38 -0
  232. package/out/src/reqlan-name-provider.js.map +1 -0
  233. package/out/src/reqlan-namespace-import-links.d.ts +10 -0
  234. package/out/src/reqlan-namespace-import-links.js +81 -0
  235. package/out/src/reqlan-namespace-import-links.js.map +1 -0
  236. package/out/src/reqlan-path-completion.d.ts +50 -0
  237. package/out/src/reqlan-path-completion.js +304 -0
  238. package/out/src/reqlan-path-completion.js.map +1 -0
  239. package/out/src/reqlan-path-references.d.ts +5 -0
  240. package/out/src/reqlan-path-references.js +124 -0
  241. package/out/src/reqlan-path-references.js.map +1 -0
  242. package/out/src/reqlan-path-resolve.d.ts +59 -0
  243. package/out/src/reqlan-path-resolve.js +173 -0
  244. package/out/src/reqlan-path-resolve.js.map +1 -0
  245. package/out/src/reqlan-quoted-strings.d.ts +9 -0
  246. package/out/src/reqlan-quoted-strings.js +26 -0
  247. package/out/src/reqlan-quoted-strings.js.map +1 -0
  248. package/out/src/reqlan-reference-at-position.d.ts +20 -0
  249. package/out/src/reqlan-reference-at-position.js +89 -0
  250. package/out/src/reqlan-reference-at-position.js.map +1 -0
  251. package/out/src/reqlan-references.d.ts +16 -0
  252. package/out/src/reqlan-references.js +51 -0
  253. package/out/src/reqlan-references.js.map +1 -0
  254. package/out/src/reqlan-scope.d.ts +25 -0
  255. package/out/src/reqlan-scope.js +266 -0
  256. package/out/src/reqlan-scope.js.map +1 -0
  257. package/out/src/reqlan-semantic-token-provider.d.ts +8 -0
  258. package/out/src/reqlan-semantic-token-provider.js +97 -0
  259. package/out/src/reqlan-semantic-token-provider.js.map +1 -0
  260. package/out/src/reqlan-token-builder.d.ts +12 -0
  261. package/out/src/reqlan-token-builder.js +459 -0
  262. package/out/src/reqlan-token-builder.js.map +1 -0
  263. package/out/src/reqlan-validator.d.ts +25 -0
  264. package/out/src/reqlan-validator.js +119 -0
  265. package/out/src/reqlan-validator.js.map +1 -0
  266. package/out/src/reqlan-workspace-attribute-catalog.d.ts +6 -0
  267. package/out/src/reqlan-workspace-attribute-catalog.js +54 -0
  268. package/out/src/reqlan-workspace-attribute-catalog.js.map +1 -0
  269. package/out/test/code-actions.test.d.ts +1 -0
  270. package/out/test/code-actions.test.js +126 -0
  271. package/out/test/code-actions.test.js.map +1 -0
  272. package/out/test/comment-in-string.test.d.ts +1 -0
  273. package/out/test/comment-in-string.test.js +100 -0
  274. package/out/test/comment-in-string.test.js.map +1 -0
  275. package/out/test/completion.test.d.ts +1 -0
  276. package/out/test/completion.test.js +467 -0
  277. package/out/test/completion.test.js.map +1 -0
  278. package/out/test/file-path-rewrite.test.d.ts +1 -0
  279. package/out/test/file-path-rewrite.test.js +64 -0
  280. package/out/test/file-path-rewrite.test.js.map +1 -0
  281. package/out/test/ignore-error.test.d.ts +1 -0
  282. package/out/test/ignore-error.test.js +87 -0
  283. package/out/test/ignore-error.test.js.map +1 -0
  284. package/out/test/implicit-import-extension.test.d.ts +1 -0
  285. package/out/test/implicit-import-extension.test.js +203 -0
  286. package/out/test/implicit-import-extension.test.js.map +1 -0
  287. package/out/test/import-edits.test.d.ts +1 -0
  288. package/out/test/import-edits.test.js +20 -0
  289. package/out/test/import-edits.test.js.map +1 -0
  290. package/out/test/inlay-hints.test.d.ts +1 -0
  291. package/out/test/inlay-hints.test.js +238 -0
  292. package/out/test/inlay-hints.test.js.map +1 -0
  293. package/out/test/linking.test.d.ts +1 -0
  294. package/out/test/linking.test.js +754 -0
  295. package/out/test/linking.test.js.map +1 -0
  296. package/out/test/naked-strings.test.d.ts +1 -0
  297. package/out/test/naked-strings.test.js +50 -0
  298. package/out/test/naked-strings.test.js.map +1 -0
  299. package/out/test/parsing.test.d.ts +1 -0
  300. package/out/test/parsing.test.js +773 -0
  301. package/out/test/parsing.test.js.map +1 -0
  302. package/out/test/path-resolve.test.d.ts +1 -0
  303. package/out/test/path-resolve.test.js +88 -0
  304. package/out/test/path-resolve.test.js.map +1 -0
  305. package/out/test/references.test.d.ts +1 -0
  306. package/out/test/references.test.js +168 -0
  307. package/out/test/references.test.js.map +1 -0
  308. package/out/test/rqconfig.test.d.ts +1 -0
  309. package/out/test/rqconfig.test.js +275 -0
  310. package/out/test/rqconfig.test.js.map +1 -0
  311. package/out/test/test-requirement-refs.d.ts +8 -0
  312. package/out/test/test-requirement-refs.js +35 -0
  313. package/out/test/test-requirement-refs.js.map +1 -0
  314. package/out/test/testing.test.d.ts +1 -0
  315. package/out/test/testing.test.js +23 -0
  316. package/out/test/testing.test.js.map +1 -0
  317. package/out/test/validating.test.d.ts +1 -0
  318. package/out/test/validating.test.js +117 -0
  319. package/out/test/validating.test.js.map +1 -0
  320. package/out/tsconfig.tsbuildinfo +1 -0
  321. package/package.json +54 -0
  322. package/src/chevrotain.d.ts +8 -0
  323. package/src/file-path-rewrite.ts +96 -0
  324. package/src/generated/ast.ts +1481 -0
  325. package/src/generated/grammar.ts +3074 -0
  326. package/src/generated/module.ts +38 -0
  327. package/src/index.ts +34 -0
  328. package/src/reqlan-attribute-catalog.ts +100 -0
  329. package/src/reqlan-code-action-provider.ts +385 -0
  330. package/src/reqlan-code-lens-provider.ts +54 -0
  331. package/src/reqlan-code-lens-settings.ts +42 -0
  332. package/src/reqlan-comment-resolver.ts +372 -0
  333. package/src/reqlan-comment.langium +23 -0
  334. package/src/reqlan-completion-context.ts +330 -0
  335. package/src/reqlan-completion-provider.ts +400 -0
  336. package/src/reqlan-definition-provider.ts +319 -0
  337. package/src/reqlan-document-highlight-provider.ts +21 -0
  338. package/src/reqlan-document-link-provider.ts +45 -0
  339. package/src/reqlan-embedded-file-references.ts +72 -0
  340. package/src/reqlan-file-link-resolver.ts +485 -0
  341. package/src/reqlan-file-references.ts +84 -0
  342. package/src/reqlan-grammar-config.ts +14 -0
  343. package/src/reqlan-idea-reference-site.ts +74 -0
  344. package/src/reqlan-idea-summary.ts +162 -0
  345. package/src/reqlan-ignore-error.ts +50 -0
  346. package/src/reqlan-import-bindings.ts +87 -0
  347. package/src/reqlan-import-edits.ts +124 -0
  348. package/src/reqlan-imports.ts +115 -0
  349. package/src/reqlan-inbound-reference-inlay-label.ts +194 -0
  350. package/src/reqlan-inlay-hint-provider.ts +88 -0
  351. package/src/reqlan-inlay-hint-settings.ts +15 -0
  352. package/src/reqlan-linker.ts +108 -0
  353. package/src/reqlan-markdown-links.ts +136 -0
  354. package/src/reqlan-module.ts +104 -0
  355. package/src/reqlan-name-catalog.ts +81 -0
  356. package/src/reqlan-name-provider.ts +56 -0
  357. package/src/reqlan-namespace-import-links.ts +92 -0
  358. package/src/reqlan-path-completion.ts +420 -0
  359. package/src/reqlan-path-references.ts +140 -0
  360. package/src/reqlan-path-resolve.ts +346 -0
  361. package/src/reqlan-quoted-strings.ts +30 -0
  362. package/src/reqlan-reference-at-position.ts +154 -0
  363. package/src/reqlan-reference-code-lens.ts +323 -0
  364. package/src/reqlan-reference-search-site.ts +202 -0
  365. package/src/reqlan-references.ts +76 -0
  366. package/src/reqlan-scope.ts +312 -0
  367. package/src/reqlan-semantic-token-provider.ts +113 -0
  368. package/src/reqlan-token-builder.ts +492 -0
  369. package/src/reqlan-validator.ts +149 -0
  370. package/src/reqlan-workspace-attribute-catalog.ts +62 -0
  371. package/src/reqlan.langium +236 -0
@@ -0,0 +1,980 @@
1
+ /******************************************************************************
2
+ * This file was generated by langium-cli 4.3.0.
3
+ * DO NOT EDIT MANUALLY!
4
+ ******************************************************************************/
5
+ /* eslint-disable */
6
+ import * as langium from 'langium';
7
+ /** Contains the reachable terminals & keywords and all available types of the 'Reqlan' language. */
8
+ export var Reqlan;
9
+ (function (Reqlan) {
10
+ Reqlan.Terminals = {
11
+ NL: /\r?\n/,
12
+ WS: /[ \t]+/,
13
+ ML_COMMENT: /\/\*[\s\S]*?\*\//,
14
+ SL_COMMENT: /\/\/[^\n\r]*/,
15
+ MARKDOWN_LINK: /\[(?!\[)[^\]]+\]\([^)]+\)/,
16
+ ID: /[_a-zA-Z][\w-]*/,
17
+ STRING: /"(\\.|[^"\\\r\n])*"|'(\\.|[^'\\\r\n])*'/,
18
+ NUMBER: /\d+/,
19
+ WORD: /[A-Za-z_][\w']*/,
20
+ OTHER: /[^\s\w\[\]()`]/,
21
+ INLINE_CODE: /`[^`\n]+`/,
22
+ CODE_FENCE: /```[^\n]*(?:\r?\n[\s\S]*?)?```/,
23
+ };
24
+ })(Reqlan || (Reqlan = {}));
25
+ /** Contains the reachable terminals & keywords and all available types of the 'ReqlanComment' language. */
26
+ export var ReqlanComment;
27
+ (function (ReqlanComment) {
28
+ ReqlanComment.Terminals = {
29
+ ID: /[_a-zA-Z][\w-]*/,
30
+ STRING: /"(\\.|[^"\\])*"/,
31
+ };
32
+ })(ReqlanComment || (ReqlanComment = {}));
33
+ // the terminals, keywords and types of the whole 'Reqlan' project
34
+ export const ReqlanTerminals = {
35
+ ...Reqlan.Terminals,
36
+ ...ReqlanComment.Terminals,
37
+ };
38
+ export const AliasPart = {
39
+ $type: 'AliasPart',
40
+ text: 'text'
41
+ };
42
+ export function isAliasPart(item) {
43
+ return reflection.isInstance(item, AliasPart.$type);
44
+ }
45
+ export const AnonymousBlock = {
46
+ $type: 'AnonymousBlock',
47
+ elements: 'elements'
48
+ };
49
+ export function isAnonymousBlock(item) {
50
+ return reflection.isInstance(item, AnonymousBlock.$type);
51
+ }
52
+ export const Attribute = {
53
+ $type: 'Attribute',
54
+ name: 'name',
55
+ negated: 'negated',
56
+ value: 'value'
57
+ };
58
+ export function isAttribute(item) {
59
+ return reflection.isInstance(item, Attribute.$type);
60
+ }
61
+ export const AttributeValue = {
62
+ $type: 'AttributeValue'
63
+ };
64
+ export function isAttributeValue(item) {
65
+ return reflection.isInstance(item, AttributeValue.$type);
66
+ }
67
+ export const BlockElement = {
68
+ $type: 'BlockElement'
69
+ };
70
+ export function isBlockElement(item) {
71
+ return reflection.isInstance(item, BlockElement.$type);
72
+ }
73
+ export const BlockLine = {
74
+ $type: 'BlockLine',
75
+ parts: 'parts'
76
+ };
77
+ export function isBlockLine(item) {
78
+ return reflection.isInstance(item, BlockLine.$type);
79
+ }
80
+ export const BlockValue = {
81
+ $type: 'BlockValue',
82
+ elements: 'elements'
83
+ };
84
+ export function isBlockValue(item) {
85
+ return reflection.isInstance(item, BlockValue.$type);
86
+ }
87
+ export const BodyElement = {
88
+ $type: 'BodyElement'
89
+ };
90
+ export function isBodyElement(item) {
91
+ return reflection.isInstance(item, BodyElement.$type);
92
+ }
93
+ export const BodyLine = {
94
+ $type: 'BodyLine',
95
+ parts: 'parts'
96
+ };
97
+ export function isBodyLine(item) {
98
+ return reflection.isInstance(item, BodyLine.$type);
99
+ }
100
+ export const BracketReference = {
101
+ $type: 'BracketReference',
102
+ inlineCode: 'inlineCode',
103
+ lparen: 'lparen',
104
+ rparen: 'rparen',
105
+ target: 'target',
106
+ text: 'text'
107
+ };
108
+ export function isBracketReference(item) {
109
+ return reflection.isInstance(item, BracketReference.$type);
110
+ }
111
+ export const CodeSnippet = {
112
+ $type: 'CodeSnippet',
113
+ raw: 'raw'
114
+ };
115
+ export function isCodeSnippet(item) {
116
+ return reflection.isInstance(item, CodeSnippet.$type);
117
+ }
118
+ export const CommentModel = {
119
+ $type: 'CommentModel',
120
+ references: 'references'
121
+ };
122
+ export function isCommentModel(item) {
123
+ return reflection.isInstance(item, CommentModel.$type);
124
+ }
125
+ export const CommentReference = {
126
+ $type: 'CommentReference',
127
+ target: 'target'
128
+ };
129
+ export function isCommentReference(item) {
130
+ return reflection.isInstance(item, CommentReference.$type);
131
+ }
132
+ export const CommentReferenceTarget = {
133
+ $type: 'CommentReferenceTarget'
134
+ };
135
+ export function isCommentReferenceTarget(item) {
136
+ return reflection.isInstance(item, CommentReferenceTarget.$type);
137
+ }
138
+ export const FileReference = {
139
+ $type: 'FileReference',
140
+ file: 'file'
141
+ };
142
+ export function isFileReference(item) {
143
+ return reflection.isInstance(item, FileReference.$type);
144
+ }
145
+ export const FileSymbolReference = {
146
+ $type: 'FileSymbolReference',
147
+ file: 'file',
148
+ symbols: 'symbols'
149
+ };
150
+ export function isFileSymbolReference(item) {
151
+ return reflection.isInstance(item, FileSymbolReference.$type);
152
+ }
153
+ export const FromImport = {
154
+ $type: 'FromImport',
155
+ path: 'path',
156
+ specifiers: 'specifiers'
157
+ };
158
+ export function isFromImport(item) {
159
+ return reflection.isInstance(item, FromImport.$type);
160
+ }
161
+ export const FromImportSpecifier = {
162
+ $type: 'FromImportSpecifier',
163
+ alias: 'alias',
164
+ idea: 'idea'
165
+ };
166
+ export function isFromImportSpecifier(item) {
167
+ return reflection.isInstance(item, FromImportSpecifier.$type);
168
+ }
169
+ export const Idea = {
170
+ $type: 'Idea',
171
+ elements: 'elements',
172
+ name: 'name'
173
+ };
174
+ export function isIdea(item) {
175
+ return reflection.isInstance(item, Idea.$type);
176
+ }
177
+ export const IdeaDeclaration = {
178
+ $type: 'IdeaDeclaration'
179
+ };
180
+ export function isIdeaDeclaration(item) {
181
+ return reflection.isInstance(item, IdeaDeclaration.$type);
182
+ }
183
+ export function isIdeaMemberName(item) {
184
+ return (typeof item === 'string' && (/[_a-zA-Z][\w-]*/.test(item) || /"(\\.|[^"\\\r\n])*"|'(\\.|[^'\\\r\n])*'/.test(item)));
185
+ }
186
+ export function isIdeaName(item) {
187
+ return (typeof item === 'string' && (/[_a-zA-Z][\w-]*/.test(item) || /"(\\.|[^"\\\r\n])*"|'(\\.|[^'\\\r\n])*'/.test(item)));
188
+ }
189
+ export const IdeaSet = {
190
+ $type: 'IdeaSet',
191
+ members: 'members',
192
+ name: 'name'
193
+ };
194
+ export function isIdeaSet(item) {
195
+ return reflection.isInstance(item, IdeaSet.$type);
196
+ }
197
+ export const Import = {
198
+ $type: 'Import'
199
+ };
200
+ export function isImport(item) {
201
+ return reflection.isInstance(item, Import.$type);
202
+ }
203
+ export const InlineTextPart = {
204
+ $type: 'InlineTextPart',
205
+ inlineCode: 'inlineCode',
206
+ text: 'text'
207
+ };
208
+ export function isInlineTextPart(item) {
209
+ return reflection.isInstance(item, InlineTextPart.$type);
210
+ }
211
+ export const ListItem = {
212
+ $type: 'ListItem'
213
+ };
214
+ export function isListItem(item) {
215
+ return reflection.isInstance(item, ListItem.$type);
216
+ }
217
+ export const ListItemBody = {
218
+ $type: 'ListItemBody',
219
+ content: 'content'
220
+ };
221
+ export function isListItemBody(item) {
222
+ return reflection.isInstance(item, ListItemBody.$type);
223
+ }
224
+ export function isListItemPunctuation(item) {
225
+ return item === '.' || item === ':' || item === ';' || item === '!' || item === '?' || item === '-';
226
+ }
227
+ export function isListItemText(item) {
228
+ return isListItemPunctuation(item) || item === '(' || item === '|' || item === 'from' || item === 'import' || item === 'as' || item === '`' || (typeof item === 'string' && (/[A-Za-z_][\w']*/.test(item) || /[_a-zA-Z][\w-]*/.test(item) || /\d+/.test(item) || /`[^`\n]+`/.test(item) || /[^\s\w\[\]()`]/.test(item)));
229
+ }
230
+ export const ListValue = {
231
+ $type: 'ListValue',
232
+ items: 'items'
233
+ };
234
+ export function isListValue(item) {
235
+ return reflection.isInstance(item, ListValue.$type);
236
+ }
237
+ export const LocalCommentReference = {
238
+ $type: 'LocalCommentReference',
239
+ idea: 'idea'
240
+ };
241
+ export function isLocalCommentReference(item) {
242
+ return reflection.isInstance(item, LocalCommentReference.$type);
243
+ }
244
+ export const LocalReference = {
245
+ $type: 'LocalReference',
246
+ idea: 'idea'
247
+ };
248
+ export function isLocalReference(item) {
249
+ return reflection.isInstance(item, LocalReference.$type);
250
+ }
251
+ export const MarkdownLink = {
252
+ $type: 'MarkdownLink',
253
+ inlineCode: 'inlineCode',
254
+ lparen: 'lparen',
255
+ raw: 'raw',
256
+ rparen: 'rparen',
257
+ text: 'text'
258
+ };
259
+ export function isMarkdownLink(item) {
260
+ return reflection.isInstance(item, MarkdownLink.$type);
261
+ }
262
+ export const Model = {
263
+ $type: 'Model',
264
+ elements: 'elements',
265
+ imports: 'imports'
266
+ };
267
+ export function isModel(item) {
268
+ return reflection.isInstance(item, Model.$type);
269
+ }
270
+ export const NamedBlockListItem = {
271
+ $type: 'NamedBlockListItem',
272
+ elements: 'elements',
273
+ name: 'name'
274
+ };
275
+ export function isNamedBlockListItem(item) {
276
+ return reflection.isInstance(item, NamedBlockListItem.$type);
277
+ }
278
+ export const NamedList = {
279
+ $type: 'NamedList',
280
+ items: 'items',
281
+ label: 'label'
282
+ };
283
+ export function isNamedList(item) {
284
+ return reflection.isInstance(item, NamedList.$type);
285
+ }
286
+ export const NamespaceImport = {
287
+ $type: 'NamespaceImport',
288
+ alias: 'alias',
289
+ path: 'path'
290
+ };
291
+ export function isNamespaceImport(item) {
292
+ return reflection.isInstance(item, NamespaceImport.$type);
293
+ }
294
+ export const NestedList = {
295
+ $type: 'NestedList',
296
+ items: 'items'
297
+ };
298
+ export function isNestedList(item) {
299
+ return reflection.isInstance(item, NestedList.$type);
300
+ }
301
+ export const NonBangInlineTextPart = {
302
+ $type: 'NonBangInlineTextPart',
303
+ inlineCode: 'inlineCode',
304
+ text: 'text'
305
+ };
306
+ export function isNonBangInlineTextPart(item) {
307
+ return reflection.isInstance(item, NonBangInlineTextPart.$type);
308
+ }
309
+ export function isNonBangPlainText(item) {
310
+ return isNonBangPunctuation(item) || item === '[' || item === ']' || item === '|' || item === 'from' || item === 'import' || item === 'as' || item === '`' || (typeof item === 'string' && (/[A-Za-z_][\w']*/.test(item) || /[_a-zA-Z][\w-]*/.test(item) || /\d+/.test(item) || /[^\s\w\[\]()`]/.test(item)));
311
+ }
312
+ export function isNonBangPunctuation(item) {
313
+ return item === '.' || item === ',' || item === ';' || item === '?' || item === '-';
314
+ }
315
+ export const OneLinerBody = {
316
+ $type: 'OneLinerBody',
317
+ content: 'content'
318
+ };
319
+ export function isOneLinerBody(item) {
320
+ return reflection.isInstance(item, OneLinerBody.$type);
321
+ }
322
+ export const OneLinerIdea = {
323
+ $type: 'OneLinerIdea',
324
+ body: 'body',
325
+ name: 'name'
326
+ };
327
+ export function isOneLinerIdea(item) {
328
+ return reflection.isInstance(item, OneLinerIdea.$type);
329
+ }
330
+ export const OneLinerListItem = {
331
+ $type: 'OneLinerListItem',
332
+ body: 'body'
333
+ };
334
+ export function isOneLinerListItem(item) {
335
+ return reflection.isInstance(item, OneLinerListItem.$type);
336
+ }
337
+ export function isOneLinerText(item) {
338
+ return isPlainPunctuation(item) || item === '(' || item === ')' || item === '|' || item === 'from' || item === 'import' || item === 'as' || item === '`' || (typeof item === 'string' && (/[A-Za-z_][\w']*/.test(item) || /[_a-zA-Z][\w-]*/.test(item) || /\d+/.test(item) || /`[^`\n]+`/.test(item) || /[^\s\w\[\]()`]/.test(item)));
339
+ }
340
+ export function isPlainPunctuation(item) {
341
+ return item === '.' || item === ',' || item === ':' || item === ';' || item === '!' || item === '?' || item === '-';
342
+ }
343
+ export function isPlainText(item) {
344
+ return isPlainPunctuation(item) || item === '[' || item === ']' || item === '|' || item === 'from' || item === 'import' || item === 'as' || item === '`' || (typeof item === 'string' && (/[A-Za-z_][\w']*/.test(item) || /[_a-zA-Z][\w-]*/.test(item) || /\d+/.test(item) || /[^\s\w\[\]()`]/.test(item)));
345
+ }
346
+ export const QualifiedCommentReference = {
347
+ $type: 'QualifiedCommentReference',
348
+ idea: 'idea',
349
+ path: 'path'
350
+ };
351
+ export function isQualifiedCommentReference(item) {
352
+ return reflection.isInstance(item, QualifiedCommentReference.$type);
353
+ }
354
+ export const QualifiedImport = {
355
+ $type: 'QualifiedImport',
356
+ alias: 'alias',
357
+ idea: 'idea',
358
+ ideaset: 'ideaset',
359
+ path: 'path'
360
+ };
361
+ export function isQualifiedImport(item) {
362
+ return reflection.isInstance(item, QualifiedImport.$type);
363
+ }
364
+ export const QualifiedReference = {
365
+ $type: 'QualifiedReference',
366
+ idea: 'idea',
367
+ ideaset: 'ideaset',
368
+ path: 'path',
369
+ qualifier: 'qualifier'
370
+ };
371
+ export function isQualifiedReference(item) {
372
+ return reflection.isInstance(item, QualifiedReference.$type);
373
+ }
374
+ export function isReferenceName(item) {
375
+ return (typeof item === 'string' && (/[_a-zA-Z][\w-]*/.test(item)));
376
+ }
377
+ export const ReferenceTarget = {
378
+ $type: 'ReferenceTarget'
379
+ };
380
+ export function isReferenceTarget(item) {
381
+ return reflection.isInstance(item, ReferenceTarget.$type);
382
+ }
383
+ export const RichTextPart = {
384
+ $type: 'RichTextPart',
385
+ inlineCode: 'inlineCode',
386
+ lparen: 'lparen',
387
+ rparen: 'rparen',
388
+ text: 'text'
389
+ };
390
+ export function isRichTextPart(item) {
391
+ return reflection.isInstance(item, RichTextPart.$type);
392
+ }
393
+ export const ScalarValue = {
394
+ $type: 'ScalarValue',
395
+ parts: 'parts'
396
+ };
397
+ export function isScalarValue(item) {
398
+ return reflection.isInstance(item, ScalarValue.$type);
399
+ }
400
+ export const TopLevelElement = {
401
+ $type: 'TopLevelElement'
402
+ };
403
+ export function isTopLevelElement(item) {
404
+ return reflection.isInstance(item, TopLevelElement.$type);
405
+ }
406
+ export const WikiLink = {
407
+ $type: 'WikiLink',
408
+ alias: 'alias',
409
+ inlineCode: 'inlineCode',
410
+ lparen: 'lparen',
411
+ rparen: 'rparen',
412
+ target: 'target',
413
+ text: 'text'
414
+ };
415
+ export function isWikiLink(item) {
416
+ return reflection.isInstance(item, WikiLink.$type);
417
+ }
418
+ export class ReqlanAstReflection extends langium.AbstractAstReflection {
419
+ constructor() {
420
+ super(...arguments);
421
+ this.types = {
422
+ AliasPart: {
423
+ name: AliasPart.$type,
424
+ properties: {
425
+ text: {
426
+ name: AliasPart.text
427
+ }
428
+ },
429
+ superTypes: []
430
+ },
431
+ AnonymousBlock: {
432
+ name: AnonymousBlock.$type,
433
+ properties: {
434
+ elements: {
435
+ name: AnonymousBlock.elements,
436
+ defaultValue: [],
437
+ optional: true
438
+ }
439
+ },
440
+ superTypes: [ListItem.$type]
441
+ },
442
+ Attribute: {
443
+ name: Attribute.$type,
444
+ properties: {
445
+ name: {
446
+ name: Attribute.name
447
+ },
448
+ negated: {
449
+ name: Attribute.negated,
450
+ defaultValue: false,
451
+ optional: true
452
+ },
453
+ value: {
454
+ name: Attribute.value,
455
+ optional: true
456
+ }
457
+ },
458
+ superTypes: [BlockElement.$type, BodyElement.$type]
459
+ },
460
+ AttributeValue: {
461
+ name: AttributeValue.$type,
462
+ properties: {},
463
+ superTypes: []
464
+ },
465
+ BlockElement: {
466
+ name: BlockElement.$type,
467
+ properties: {},
468
+ superTypes: []
469
+ },
470
+ BlockLine: {
471
+ name: BlockLine.$type,
472
+ properties: {
473
+ parts: {
474
+ name: BlockLine.parts,
475
+ defaultValue: []
476
+ }
477
+ },
478
+ superTypes: [BlockElement.$type]
479
+ },
480
+ BlockValue: {
481
+ name: BlockValue.$type,
482
+ properties: {
483
+ elements: {
484
+ name: BlockValue.elements,
485
+ defaultValue: [],
486
+ optional: true
487
+ }
488
+ },
489
+ superTypes: [AttributeValue.$type]
490
+ },
491
+ BodyElement: {
492
+ name: BodyElement.$type,
493
+ properties: {},
494
+ superTypes: []
495
+ },
496
+ BodyLine: {
497
+ name: BodyLine.$type,
498
+ properties: {
499
+ parts: {
500
+ name: BodyLine.parts,
501
+ defaultValue: []
502
+ }
503
+ },
504
+ superTypes: [BodyElement.$type]
505
+ },
506
+ BracketReference: {
507
+ name: BracketReference.$type,
508
+ properties: {
509
+ inlineCode: {
510
+ name: BracketReference.inlineCode,
511
+ optional: true
512
+ },
513
+ lparen: {
514
+ name: BracketReference.lparen,
515
+ optional: true
516
+ },
517
+ rparen: {
518
+ name: BracketReference.rparen,
519
+ optional: true
520
+ },
521
+ target: {
522
+ name: BracketReference.target
523
+ },
524
+ text: {
525
+ name: BracketReference.text,
526
+ optional: true
527
+ }
528
+ },
529
+ superTypes: [RichTextPart.$type, InlineTextPart.$type, NonBangInlineTextPart.$type]
530
+ },
531
+ CodeSnippet: {
532
+ name: CodeSnippet.$type,
533
+ properties: {
534
+ raw: {
535
+ name: CodeSnippet.raw
536
+ }
537
+ },
538
+ superTypes: [BlockElement.$type, BodyElement.$type]
539
+ },
540
+ CommentModel: {
541
+ name: CommentModel.$type,
542
+ properties: {
543
+ references: {
544
+ name: CommentModel.references,
545
+ defaultValue: [],
546
+ optional: true
547
+ }
548
+ },
549
+ superTypes: []
550
+ },
551
+ CommentReference: {
552
+ name: CommentReference.$type,
553
+ properties: {
554
+ target: {
555
+ name: CommentReference.target
556
+ }
557
+ },
558
+ superTypes: []
559
+ },
560
+ CommentReferenceTarget: {
561
+ name: CommentReferenceTarget.$type,
562
+ properties: {},
563
+ superTypes: []
564
+ },
565
+ FileReference: {
566
+ name: FileReference.$type,
567
+ properties: {
568
+ file: {
569
+ name: FileReference.file
570
+ }
571
+ },
572
+ superTypes: [ReferenceTarget.$type]
573
+ },
574
+ FileSymbolReference: {
575
+ name: FileSymbolReference.$type,
576
+ properties: {
577
+ file: {
578
+ name: FileSymbolReference.file
579
+ },
580
+ symbols: {
581
+ name: FileSymbolReference.symbols,
582
+ defaultValue: []
583
+ }
584
+ },
585
+ superTypes: [ReferenceTarget.$type]
586
+ },
587
+ FromImport: {
588
+ name: FromImport.$type,
589
+ properties: {
590
+ path: {
591
+ name: FromImport.path
592
+ },
593
+ specifiers: {
594
+ name: FromImport.specifiers,
595
+ defaultValue: []
596
+ }
597
+ },
598
+ superTypes: [Import.$type]
599
+ },
600
+ FromImportSpecifier: {
601
+ name: FromImportSpecifier.$type,
602
+ properties: {
603
+ alias: {
604
+ name: FromImportSpecifier.alias,
605
+ optional: true
606
+ },
607
+ idea: {
608
+ name: FromImportSpecifier.idea,
609
+ referenceType: IdeaDeclaration.$type
610
+ }
611
+ },
612
+ superTypes: []
613
+ },
614
+ Idea: {
615
+ name: Idea.$type,
616
+ properties: {
617
+ elements: {
618
+ name: Idea.elements,
619
+ defaultValue: [],
620
+ optional: true
621
+ },
622
+ name: {
623
+ name: Idea.name
624
+ }
625
+ },
626
+ superTypes: [IdeaDeclaration.$type, TopLevelElement.$type]
627
+ },
628
+ IdeaDeclaration: {
629
+ name: IdeaDeclaration.$type,
630
+ properties: {},
631
+ superTypes: []
632
+ },
633
+ IdeaSet: {
634
+ name: IdeaSet.$type,
635
+ properties: {
636
+ members: {
637
+ name: IdeaSet.members,
638
+ defaultValue: [],
639
+ referenceType: IdeaDeclaration.$type
640
+ },
641
+ name: {
642
+ name: IdeaSet.name
643
+ }
644
+ },
645
+ superTypes: [TopLevelElement.$type]
646
+ },
647
+ Import: {
648
+ name: Import.$type,
649
+ properties: {},
650
+ superTypes: []
651
+ },
652
+ InlineTextPart: {
653
+ name: InlineTextPart.$type,
654
+ properties: {
655
+ inlineCode: {
656
+ name: InlineTextPart.inlineCode,
657
+ optional: true
658
+ },
659
+ text: {
660
+ name: InlineTextPart.text,
661
+ optional: true
662
+ }
663
+ },
664
+ superTypes: []
665
+ },
666
+ ListItem: {
667
+ name: ListItem.$type,
668
+ properties: {},
669
+ superTypes: []
670
+ },
671
+ ListItemBody: {
672
+ name: ListItemBody.$type,
673
+ properties: {
674
+ content: {
675
+ name: ListItemBody.content,
676
+ defaultValue: []
677
+ }
678
+ },
679
+ superTypes: []
680
+ },
681
+ ListValue: {
682
+ name: ListValue.$type,
683
+ properties: {
684
+ items: {
685
+ name: ListValue.items,
686
+ defaultValue: []
687
+ }
688
+ },
689
+ superTypes: [AttributeValue.$type]
690
+ },
691
+ LocalCommentReference: {
692
+ name: LocalCommentReference.$type,
693
+ properties: {
694
+ idea: {
695
+ name: LocalCommentReference.idea
696
+ }
697
+ },
698
+ superTypes: [CommentReferenceTarget.$type]
699
+ },
700
+ LocalReference: {
701
+ name: LocalReference.$type,
702
+ properties: {
703
+ idea: {
704
+ name: LocalReference.idea,
705
+ referenceType: IdeaDeclaration.$type
706
+ }
707
+ },
708
+ superTypes: [ReferenceTarget.$type]
709
+ },
710
+ MarkdownLink: {
711
+ name: MarkdownLink.$type,
712
+ properties: {
713
+ inlineCode: {
714
+ name: MarkdownLink.inlineCode,
715
+ optional: true
716
+ },
717
+ lparen: {
718
+ name: MarkdownLink.lparen,
719
+ optional: true
720
+ },
721
+ raw: {
722
+ name: MarkdownLink.raw
723
+ },
724
+ rparen: {
725
+ name: MarkdownLink.rparen,
726
+ optional: true
727
+ },
728
+ text: {
729
+ name: MarkdownLink.text,
730
+ optional: true
731
+ }
732
+ },
733
+ superTypes: [InlineTextPart.$type, RichTextPart.$type, NonBangInlineTextPart.$type]
734
+ },
735
+ Model: {
736
+ name: Model.$type,
737
+ properties: {
738
+ elements: {
739
+ name: Model.elements,
740
+ defaultValue: [],
741
+ optional: true
742
+ },
743
+ imports: {
744
+ name: Model.imports,
745
+ defaultValue: [],
746
+ optional: true
747
+ }
748
+ },
749
+ superTypes: []
750
+ },
751
+ NamedBlockListItem: {
752
+ name: NamedBlockListItem.$type,
753
+ properties: {
754
+ elements: {
755
+ name: NamedBlockListItem.elements,
756
+ defaultValue: [],
757
+ optional: true
758
+ },
759
+ name: {
760
+ name: NamedBlockListItem.name
761
+ }
762
+ },
763
+ superTypes: [ListItem.$type]
764
+ },
765
+ NamedList: {
766
+ name: NamedList.$type,
767
+ properties: {
768
+ items: {
769
+ name: NamedList.items,
770
+ defaultValue: []
771
+ },
772
+ label: {
773
+ name: NamedList.label
774
+ }
775
+ },
776
+ superTypes: [BlockElement.$type, BodyElement.$type]
777
+ },
778
+ NamespaceImport: {
779
+ name: NamespaceImport.$type,
780
+ properties: {
781
+ alias: {
782
+ name: NamespaceImport.alias,
783
+ optional: true
784
+ },
785
+ path: {
786
+ name: NamespaceImport.path
787
+ }
788
+ },
789
+ superTypes: [Import.$type]
790
+ },
791
+ NestedList: {
792
+ name: NestedList.$type,
793
+ properties: {
794
+ items: {
795
+ name: NestedList.items,
796
+ defaultValue: []
797
+ }
798
+ },
799
+ superTypes: [BlockElement.$type, BodyElement.$type, ListItem.$type]
800
+ },
801
+ NonBangInlineTextPart: {
802
+ name: NonBangInlineTextPart.$type,
803
+ properties: {
804
+ inlineCode: {
805
+ name: NonBangInlineTextPart.inlineCode,
806
+ optional: true
807
+ },
808
+ text: {
809
+ name: NonBangInlineTextPart.text,
810
+ optional: true
811
+ }
812
+ },
813
+ superTypes: []
814
+ },
815
+ OneLinerBody: {
816
+ name: OneLinerBody.$type,
817
+ properties: {
818
+ content: {
819
+ name: OneLinerBody.content,
820
+ defaultValue: []
821
+ }
822
+ },
823
+ superTypes: []
824
+ },
825
+ OneLinerIdea: {
826
+ name: OneLinerIdea.$type,
827
+ properties: {
828
+ body: {
829
+ name: OneLinerIdea.body,
830
+ optional: true
831
+ },
832
+ name: {
833
+ name: OneLinerIdea.name
834
+ }
835
+ },
836
+ superTypes: [IdeaDeclaration.$type, TopLevelElement.$type]
837
+ },
838
+ OneLinerListItem: {
839
+ name: OneLinerListItem.$type,
840
+ properties: {
841
+ body: {
842
+ name: OneLinerListItem.body
843
+ }
844
+ },
845
+ superTypes: [ListItem.$type]
846
+ },
847
+ QualifiedCommentReference: {
848
+ name: QualifiedCommentReference.$type,
849
+ properties: {
850
+ idea: {
851
+ name: QualifiedCommentReference.idea
852
+ },
853
+ path: {
854
+ name: QualifiedCommentReference.path
855
+ }
856
+ },
857
+ superTypes: [CommentReferenceTarget.$type]
858
+ },
859
+ QualifiedImport: {
860
+ name: QualifiedImport.$type,
861
+ properties: {
862
+ alias: {
863
+ name: QualifiedImport.alias,
864
+ optional: true
865
+ },
866
+ idea: {
867
+ name: QualifiedImport.idea,
868
+ referenceType: IdeaDeclaration.$type
869
+ },
870
+ ideaset: {
871
+ name: QualifiedImport.ideaset
872
+ },
873
+ path: {
874
+ name: QualifiedImport.path
875
+ }
876
+ },
877
+ superTypes: [Import.$type]
878
+ },
879
+ QualifiedReference: {
880
+ name: QualifiedReference.$type,
881
+ properties: {
882
+ idea: {
883
+ name: QualifiedReference.idea,
884
+ referenceType: IdeaDeclaration.$type
885
+ },
886
+ ideaset: {
887
+ name: QualifiedReference.ideaset,
888
+ referenceType: IdeaSet.$type,
889
+ optional: true
890
+ },
891
+ path: {
892
+ name: QualifiedReference.path,
893
+ referenceType: Import.$type,
894
+ optional: true
895
+ },
896
+ qualifier: {
897
+ name: QualifiedReference.qualifier,
898
+ referenceType: Import.$type,
899
+ optional: true
900
+ }
901
+ },
902
+ superTypes: [ReferenceTarget.$type]
903
+ },
904
+ ReferenceTarget: {
905
+ name: ReferenceTarget.$type,
906
+ properties: {},
907
+ superTypes: []
908
+ },
909
+ RichTextPart: {
910
+ name: RichTextPart.$type,
911
+ properties: {
912
+ inlineCode: {
913
+ name: RichTextPart.inlineCode,
914
+ optional: true
915
+ },
916
+ lparen: {
917
+ name: RichTextPart.lparen,
918
+ optional: true
919
+ },
920
+ rparen: {
921
+ name: RichTextPart.rparen,
922
+ optional: true
923
+ },
924
+ text: {
925
+ name: RichTextPart.text,
926
+ optional: true
927
+ }
928
+ },
929
+ superTypes: []
930
+ },
931
+ ScalarValue: {
932
+ name: ScalarValue.$type,
933
+ properties: {
934
+ parts: {
935
+ name: ScalarValue.parts,
936
+ defaultValue: []
937
+ }
938
+ },
939
+ superTypes: [AttributeValue.$type]
940
+ },
941
+ TopLevelElement: {
942
+ name: TopLevelElement.$type,
943
+ properties: {},
944
+ superTypes: []
945
+ },
946
+ WikiLink: {
947
+ name: WikiLink.$type,
948
+ properties: {
949
+ alias: {
950
+ name: WikiLink.alias,
951
+ defaultValue: [],
952
+ optional: true
953
+ },
954
+ inlineCode: {
955
+ name: WikiLink.inlineCode,
956
+ optional: true
957
+ },
958
+ lparen: {
959
+ name: WikiLink.lparen,
960
+ optional: true
961
+ },
962
+ rparen: {
963
+ name: WikiLink.rparen,
964
+ optional: true
965
+ },
966
+ target: {
967
+ name: WikiLink.target
968
+ },
969
+ text: {
970
+ name: WikiLink.text,
971
+ optional: true
972
+ }
973
+ },
974
+ superTypes: [InlineTextPart.$type, NonBangInlineTextPart.$type, RichTextPart.$type]
975
+ }
976
+ };
977
+ }
978
+ }
979
+ export const reflection = new ReqlanAstReflection();
980
+ //# sourceMappingURL=ast.js.map