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