@domainlang/language 0.1.20

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 (212) hide show
  1. package/README.md +163 -0
  2. package/out/ast-augmentation.d.ts +6 -0
  3. package/out/ast-augmentation.js +2 -0
  4. package/out/ast-augmentation.js.map +1 -0
  5. package/out/domain-lang-module.d.ts +57 -0
  6. package/out/domain-lang-module.js +67 -0
  7. package/out/domain-lang-module.js.map +1 -0
  8. package/out/generated/ast.d.ts +759 -0
  9. package/out/generated/ast.js +556 -0
  10. package/out/generated/ast.js.map +1 -0
  11. package/out/generated/grammar.d.ts +6 -0
  12. package/out/generated/grammar.js +2407 -0
  13. package/out/generated/grammar.js.map +1 -0
  14. package/out/generated/module.d.ts +13 -0
  15. package/out/generated/module.js +21 -0
  16. package/out/generated/module.js.map +1 -0
  17. package/out/index.d.ts +16 -0
  18. package/out/index.js +22 -0
  19. package/out/index.js.map +1 -0
  20. package/out/lsp/domain-lang-code-actions.d.ts +55 -0
  21. package/out/lsp/domain-lang-code-actions.js +143 -0
  22. package/out/lsp/domain-lang-code-actions.js.map +1 -0
  23. package/out/lsp/domain-lang-completion.d.ts +37 -0
  24. package/out/lsp/domain-lang-completion.js +452 -0
  25. package/out/lsp/domain-lang-completion.js.map +1 -0
  26. package/out/lsp/domain-lang-formatter.d.ts +15 -0
  27. package/out/lsp/domain-lang-formatter.js +43 -0
  28. package/out/lsp/domain-lang-formatter.js.map +1 -0
  29. package/out/lsp/domain-lang-naming.d.ts +34 -0
  30. package/out/lsp/domain-lang-naming.js +49 -0
  31. package/out/lsp/domain-lang-naming.js.map +1 -0
  32. package/out/lsp/domain-lang-scope.d.ts +59 -0
  33. package/out/lsp/domain-lang-scope.js +102 -0
  34. package/out/lsp/domain-lang-scope.js.map +1 -0
  35. package/out/lsp/domain-lang-workspace-manager.d.ts +21 -0
  36. package/out/lsp/domain-lang-workspace-manager.js +93 -0
  37. package/out/lsp/domain-lang-workspace-manager.js.map +1 -0
  38. package/out/lsp/hover/ddd-pattern-explanations.d.ts +50 -0
  39. package/out/lsp/hover/ddd-pattern-explanations.js +196 -0
  40. package/out/lsp/hover/ddd-pattern-explanations.js.map +1 -0
  41. package/out/lsp/hover/domain-lang-hover.d.ts +19 -0
  42. package/out/lsp/hover/domain-lang-hover.js +302 -0
  43. package/out/lsp/hover/domain-lang-hover.js.map +1 -0
  44. package/out/lsp/hover/domain-lang-keywords.d.ts +13 -0
  45. package/out/lsp/hover/domain-lang-keywords.js +47 -0
  46. package/out/lsp/hover/domain-lang-keywords.js.map +1 -0
  47. package/out/lsp/manifest-diagnostics.d.ts +82 -0
  48. package/out/lsp/manifest-diagnostics.js +230 -0
  49. package/out/lsp/manifest-diagnostics.js.map +1 -0
  50. package/out/main-browser.d.ts +1 -0
  51. package/out/main-browser.js +11 -0
  52. package/out/main-browser.js.map +1 -0
  53. package/out/main.d.ts +1 -0
  54. package/out/main.js +74 -0
  55. package/out/main.js.map +1 -0
  56. package/out/sdk/ast-augmentation.d.ts +136 -0
  57. package/out/sdk/ast-augmentation.js +62 -0
  58. package/out/sdk/ast-augmentation.js.map +1 -0
  59. package/out/sdk/index.d.ts +94 -0
  60. package/out/sdk/index.js +97 -0
  61. package/out/sdk/index.js.map +1 -0
  62. package/out/sdk/indexes.d.ts +16 -0
  63. package/out/sdk/indexes.js +97 -0
  64. package/out/sdk/indexes.js.map +1 -0
  65. package/out/sdk/loader-node.d.ts +51 -0
  66. package/out/sdk/loader-node.js +119 -0
  67. package/out/sdk/loader-node.js.map +1 -0
  68. package/out/sdk/loader.d.ts +49 -0
  69. package/out/sdk/loader.js +85 -0
  70. package/out/sdk/loader.js.map +1 -0
  71. package/out/sdk/patterns.d.ts +93 -0
  72. package/out/sdk/patterns.js +123 -0
  73. package/out/sdk/patterns.js.map +1 -0
  74. package/out/sdk/query.d.ts +90 -0
  75. package/out/sdk/query.js +679 -0
  76. package/out/sdk/query.js.map +1 -0
  77. package/out/sdk/resolution.d.ts +52 -0
  78. package/out/sdk/resolution.js +68 -0
  79. package/out/sdk/resolution.js.map +1 -0
  80. package/out/sdk/types.d.ts +280 -0
  81. package/out/sdk/types.js +8 -0
  82. package/out/sdk/types.js.map +1 -0
  83. package/out/services/dependency-analyzer.d.ts +58 -0
  84. package/out/services/dependency-analyzer.js +254 -0
  85. package/out/services/dependency-analyzer.js.map +1 -0
  86. package/out/services/dependency-resolver.d.ts +146 -0
  87. package/out/services/dependency-resolver.js +452 -0
  88. package/out/services/dependency-resolver.js.map +1 -0
  89. package/out/services/git-url-resolver.browser.d.ts +10 -0
  90. package/out/services/git-url-resolver.browser.js +19 -0
  91. package/out/services/git-url-resolver.browser.js.map +1 -0
  92. package/out/services/git-url-resolver.d.ts +158 -0
  93. package/out/services/git-url-resolver.js +416 -0
  94. package/out/services/git-url-resolver.js.map +1 -0
  95. package/out/services/governance-validator.d.ts +44 -0
  96. package/out/services/governance-validator.js +153 -0
  97. package/out/services/governance-validator.js.map +1 -0
  98. package/out/services/import-resolver.d.ts +77 -0
  99. package/out/services/import-resolver.js +240 -0
  100. package/out/services/import-resolver.js.map +1 -0
  101. package/out/services/performance-optimizer.d.ts +60 -0
  102. package/out/services/performance-optimizer.js +140 -0
  103. package/out/services/performance-optimizer.js.map +1 -0
  104. package/out/services/relationship-inference.d.ts +11 -0
  105. package/out/services/relationship-inference.js +98 -0
  106. package/out/services/relationship-inference.js.map +1 -0
  107. package/out/services/semver.d.ts +98 -0
  108. package/out/services/semver.js +195 -0
  109. package/out/services/semver.js.map +1 -0
  110. package/out/services/types.d.ts +340 -0
  111. package/out/services/types.js +46 -0
  112. package/out/services/types.js.map +1 -0
  113. package/out/services/workspace-manager.d.ts +123 -0
  114. package/out/services/workspace-manager.js +489 -0
  115. package/out/services/workspace-manager.js.map +1 -0
  116. package/out/syntaxes/domain-lang.monarch.d.ts +76 -0
  117. package/out/syntaxes/domain-lang.monarch.js +29 -0
  118. package/out/syntaxes/domain-lang.monarch.js.map +1 -0
  119. package/out/utils/import-utils.d.ts +49 -0
  120. package/out/utils/import-utils.js +128 -0
  121. package/out/utils/import-utils.js.map +1 -0
  122. package/out/validation/bounded-context.d.ts +11 -0
  123. package/out/validation/bounded-context.js +79 -0
  124. package/out/validation/bounded-context.js.map +1 -0
  125. package/out/validation/classification.d.ts +3 -0
  126. package/out/validation/classification.js +3 -0
  127. package/out/validation/classification.js.map +1 -0
  128. package/out/validation/constants.d.ts +180 -0
  129. package/out/validation/constants.js +235 -0
  130. package/out/validation/constants.js.map +1 -0
  131. package/out/validation/domain-lang-validator.d.ts +2 -0
  132. package/out/validation/domain-lang-validator.js +27 -0
  133. package/out/validation/domain-lang-validator.js.map +1 -0
  134. package/out/validation/domain.d.ts +11 -0
  135. package/out/validation/domain.js +63 -0
  136. package/out/validation/domain.js.map +1 -0
  137. package/out/validation/import.d.ts +68 -0
  138. package/out/validation/import.js +237 -0
  139. package/out/validation/import.js.map +1 -0
  140. package/out/validation/manifest.d.ts +144 -0
  141. package/out/validation/manifest.js +327 -0
  142. package/out/validation/manifest.js.map +1 -0
  143. package/out/validation/maps.d.ts +21 -0
  144. package/out/validation/maps.js +60 -0
  145. package/out/validation/maps.js.map +1 -0
  146. package/out/validation/metadata.d.ts +7 -0
  147. package/out/validation/metadata.js +16 -0
  148. package/out/validation/metadata.js.map +1 -0
  149. package/out/validation/model.d.ts +12 -0
  150. package/out/validation/model.js +29 -0
  151. package/out/validation/model.js.map +1 -0
  152. package/out/validation/relationships.d.ts +12 -0
  153. package/out/validation/relationships.js +94 -0
  154. package/out/validation/relationships.js.map +1 -0
  155. package/out/validation/shared.d.ts +6 -0
  156. package/out/validation/shared.js +12 -0
  157. package/out/validation/shared.js.map +1 -0
  158. package/package.json +110 -0
  159. package/src/ast-augmentation.ts +5 -0
  160. package/src/domain-lang-module.ts +112 -0
  161. package/src/domain-lang.langium +351 -0
  162. package/src/generated/ast.ts +986 -0
  163. package/src/generated/grammar.ts +2409 -0
  164. package/src/generated/module.ts +25 -0
  165. package/src/index.ts +24 -0
  166. package/src/lsp/domain-lang-code-actions.ts +189 -0
  167. package/src/lsp/domain-lang-completion.ts +514 -0
  168. package/src/lsp/domain-lang-formatter.ts +51 -0
  169. package/src/lsp/domain-lang-naming.ts +56 -0
  170. package/src/lsp/domain-lang-scope.ts +137 -0
  171. package/src/lsp/domain-lang-workspace-manager.ts +104 -0
  172. package/src/lsp/hover/ddd-pattern-explanations.ts +237 -0
  173. package/src/lsp/hover/domain-lang-hover.ts +338 -0
  174. package/src/lsp/hover/domain-lang-keywords.ts +50 -0
  175. package/src/lsp/manifest-diagnostics.ts +290 -0
  176. package/src/main-browser.ts +15 -0
  177. package/src/main.ts +85 -0
  178. package/src/sdk/README.md +297 -0
  179. package/src/sdk/ast-augmentation.ts +157 -0
  180. package/src/sdk/index.ts +126 -0
  181. package/src/sdk/indexes.ts +155 -0
  182. package/src/sdk/loader-node.ts +146 -0
  183. package/src/sdk/loader.ts +99 -0
  184. package/src/sdk/patterns.ts +147 -0
  185. package/src/sdk/query.ts +802 -0
  186. package/src/sdk/resolution.ts +78 -0
  187. package/src/sdk/types.ts +323 -0
  188. package/src/services/dependency-analyzer.ts +321 -0
  189. package/src/services/dependency-resolver.ts +551 -0
  190. package/src/services/git-url-resolver.browser.ts +26 -0
  191. package/src/services/git-url-resolver.ts +517 -0
  192. package/src/services/governance-validator.ts +177 -0
  193. package/src/services/import-resolver.ts +292 -0
  194. package/src/services/performance-optimizer.ts +170 -0
  195. package/src/services/relationship-inference.ts +121 -0
  196. package/src/services/semver.ts +213 -0
  197. package/src/services/types.ts +415 -0
  198. package/src/services/workspace-manager.ts +607 -0
  199. package/src/syntaxes/domain-lang.monarch.ts +29 -0
  200. package/src/utils/import-utils.ts +152 -0
  201. package/src/validation/bounded-context.ts +99 -0
  202. package/src/validation/classification.ts +5 -0
  203. package/src/validation/constants.ts +304 -0
  204. package/src/validation/domain-lang-validator.ts +33 -0
  205. package/src/validation/domain.ts +77 -0
  206. package/src/validation/import.ts +295 -0
  207. package/src/validation/manifest.ts +439 -0
  208. package/src/validation/maps.ts +76 -0
  209. package/src/validation/metadata.ts +18 -0
  210. package/src/validation/model.ts +37 -0
  211. package/src/validation/relationships.ts +154 -0
  212. package/src/validation/shared.ts +14 -0
@@ -0,0 +1,556 @@
1
+ /******************************************************************************
2
+ * This file was generated by langium-cli 4.2.0.
3
+ * DO NOT EDIT MANUALLY!
4
+ ******************************************************************************/
5
+ /* eslint-disable */
6
+ import * as langium from 'langium';
7
+ export const DomainLangTerminals = {
8
+ WS: /\s+/,
9
+ ID: /[_a-zA-Z][\w_-]*/,
10
+ STRING: /"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,
11
+ ML_COMMENT: /\/\*[\s\S]*?\*\//,
12
+ SL_COMMENT: /\/\/[^\n\r]*/,
13
+ };
14
+ export const AbstractDecision = {
15
+ $type: 'AbstractDecision'
16
+ };
17
+ export function isAbstractDecision(item) {
18
+ return reflection.isInstance(item, AbstractDecision.$type);
19
+ }
20
+ export function isAssignment(item) {
21
+ return item === ':' || item === 'is' || item === '=';
22
+ }
23
+ export const BoundedContext = {
24
+ $type: 'BoundedContext',
25
+ archetype: 'archetype',
26
+ businessModel: 'businessModel',
27
+ classification: 'classification',
28
+ decisions: 'decisions',
29
+ description: 'description',
30
+ domain: 'domain',
31
+ evolution: 'evolution',
32
+ metadata: 'metadata',
33
+ name: 'name',
34
+ relationships: 'relationships',
35
+ team: 'team',
36
+ terminology: 'terminology'
37
+ };
38
+ export function isBoundedContext(item) {
39
+ return reflection.isInstance(item, BoundedContext.$type);
40
+ }
41
+ export const BoundedContextRef = {
42
+ $type: 'BoundedContextRef',
43
+ link: 'link'
44
+ };
45
+ export function isBoundedContextRef(item) {
46
+ return reflection.isInstance(item, BoundedContextRef.$type);
47
+ }
48
+ export const BusinessRule = {
49
+ $type: 'BusinessRule',
50
+ classification: 'classification',
51
+ name: 'name',
52
+ value: 'value'
53
+ };
54
+ export function isBusinessRule(item) {
55
+ return reflection.isInstance(item, BusinessRule.$type);
56
+ }
57
+ export const Classification = {
58
+ $type: 'Classification',
59
+ name: 'name'
60
+ };
61
+ export function isClassification(item) {
62
+ return reflection.isInstance(item, Classification.$type);
63
+ }
64
+ export const Container = {
65
+ $type: 'Container'
66
+ };
67
+ export function isContainer(item) {
68
+ return reflection.isInstance(item, Container.$type);
69
+ }
70
+ export const ContextMap = {
71
+ $type: 'ContextMap',
72
+ boundedContexts: 'boundedContexts',
73
+ name: 'name',
74
+ relationships: 'relationships'
75
+ };
76
+ export function isContextMap(item) {
77
+ return reflection.isInstance(item, ContextMap.$type);
78
+ }
79
+ export const Decision = {
80
+ $type: 'Decision',
81
+ classification: 'classification',
82
+ name: 'name',
83
+ value: 'value'
84
+ };
85
+ export function isDecision(item) {
86
+ return reflection.isInstance(item, Decision.$type);
87
+ }
88
+ export const Domain = {
89
+ $type: 'Domain',
90
+ description: 'description',
91
+ name: 'name',
92
+ parent: 'parent',
93
+ type: 'type',
94
+ vision: 'vision'
95
+ };
96
+ export function isDomain(item) {
97
+ return reflection.isInstance(item, Domain.$type);
98
+ }
99
+ export const DomainMap = {
100
+ $type: 'DomainMap',
101
+ domains: 'domains',
102
+ name: 'name'
103
+ };
104
+ export function isDomainMap(item) {
105
+ return reflection.isInstance(item, DomainMap.$type);
106
+ }
107
+ export const DomainTerm = {
108
+ $type: 'DomainTerm',
109
+ examples: 'examples',
110
+ meaning: 'meaning',
111
+ name: 'name',
112
+ synonyms: 'synonyms'
113
+ };
114
+ export function isDomainTerm(item) {
115
+ return reflection.isInstance(item, DomainTerm.$type);
116
+ }
117
+ export const ImportStatement = {
118
+ $type: 'ImportStatement',
119
+ alias: 'alias',
120
+ uri: 'uri'
121
+ };
122
+ export function isImportStatement(item) {
123
+ return reflection.isInstance(item, ImportStatement.$type);
124
+ }
125
+ export function isIntegrationPattern(item) {
126
+ return item === 'PL' || item === 'PublishedLanguage' || item === 'OHS' || item === 'OpenHostService' || item === 'CF' || item === 'Conformist' || item === 'ACL' || item === 'AntiCorruptionLayer' || item === 'P' || item === 'Partnership' || item === 'SK' || item === 'SharedKernel' || item === 'BBoM' || item === 'BigBallOfMud';
127
+ }
128
+ export const Metadata = {
129
+ $type: 'Metadata',
130
+ name: 'name'
131
+ };
132
+ export function isMetadata(item) {
133
+ return reflection.isInstance(item, Metadata.$type);
134
+ }
135
+ export const MetadataEntry = {
136
+ $type: 'MetadataEntry',
137
+ key: 'key',
138
+ value: 'value'
139
+ };
140
+ export function isMetadataEntry(item) {
141
+ return reflection.isInstance(item, MetadataEntry.$type);
142
+ }
143
+ export const Model = {
144
+ $type: 'Model',
145
+ children: 'children',
146
+ imports: 'imports'
147
+ };
148
+ export function isModel(item) {
149
+ return reflection.isInstance(item, Model.$type);
150
+ }
151
+ export const NamespaceDeclaration = {
152
+ $type: 'NamespaceDeclaration',
153
+ children: 'children',
154
+ name: 'name'
155
+ };
156
+ export function isNamespaceDeclaration(item) {
157
+ return reflection.isInstance(item, NamespaceDeclaration.$type);
158
+ }
159
+ export const ObjectMap = {
160
+ $type: 'ObjectMap'
161
+ };
162
+ export function isObjectMap(item) {
163
+ return reflection.isInstance(item, ObjectMap.$type);
164
+ }
165
+ export const Policy = {
166
+ $type: 'Policy',
167
+ classification: 'classification',
168
+ name: 'name',
169
+ value: 'value'
170
+ };
171
+ export function isPolicy(item) {
172
+ return reflection.isInstance(item, Policy.$type);
173
+ }
174
+ export function isQualifiedName(item) {
175
+ return typeof item === 'string';
176
+ }
177
+ export const Relationship = {
178
+ $type: 'Relationship',
179
+ arrow: 'arrow',
180
+ left: 'left',
181
+ leftPatterns: 'leftPatterns',
182
+ right: 'right',
183
+ rightPatterns: 'rightPatterns',
184
+ type: 'type'
185
+ };
186
+ export function isRelationship(item) {
187
+ return reflection.isInstance(item, Relationship.$type);
188
+ }
189
+ export function isRelationshipArrow(item) {
190
+ return item === '<->' || item === '->' || item === '<-' || item === '><';
191
+ }
192
+ export function isRelationshipType(item) {
193
+ return item === 'Partnership' || item === 'SharedKernel' || item === 'CustomerSupplier' || item === 'UpstreamDownstream' || item === 'SeparateWays';
194
+ }
195
+ export const StructureElement = {
196
+ $type: 'StructureElement'
197
+ };
198
+ export function isStructureElement(item) {
199
+ return reflection.isInstance(item, StructureElement.$type);
200
+ }
201
+ export const Team = {
202
+ $type: 'Team',
203
+ name: 'name'
204
+ };
205
+ export function isTeam(item) {
206
+ return reflection.isInstance(item, Team.$type);
207
+ }
208
+ export const ThisRef = {
209
+ $type: 'ThisRef',
210
+ link: 'link'
211
+ };
212
+ export function isThisRef(item) {
213
+ return reflection.isInstance(item, ThisRef.$type);
214
+ }
215
+ export const Type = {
216
+ $type: 'Type'
217
+ };
218
+ export function isType(item) {
219
+ return reflection.isInstance(item, Type.$type);
220
+ }
221
+ export class DomainLangAstReflection extends langium.AbstractAstReflection {
222
+ constructor() {
223
+ super(...arguments);
224
+ this.types = {
225
+ AbstractDecision: {
226
+ name: AbstractDecision.$type,
227
+ properties: {},
228
+ superTypes: []
229
+ },
230
+ BoundedContext: {
231
+ name: BoundedContext.$type,
232
+ properties: {
233
+ archetype: {
234
+ name: BoundedContext.archetype,
235
+ referenceType: Classification.$type
236
+ },
237
+ businessModel: {
238
+ name: BoundedContext.businessModel,
239
+ referenceType: Classification.$type
240
+ },
241
+ classification: {
242
+ name: BoundedContext.classification,
243
+ defaultValue: [],
244
+ referenceType: Classification.$type
245
+ },
246
+ decisions: {
247
+ name: BoundedContext.decisions,
248
+ defaultValue: []
249
+ },
250
+ description: {
251
+ name: BoundedContext.description
252
+ },
253
+ domain: {
254
+ name: BoundedContext.domain,
255
+ referenceType: Domain.$type
256
+ },
257
+ evolution: {
258
+ name: BoundedContext.evolution,
259
+ referenceType: Classification.$type
260
+ },
261
+ metadata: {
262
+ name: BoundedContext.metadata,
263
+ defaultValue: []
264
+ },
265
+ name: {
266
+ name: BoundedContext.name
267
+ },
268
+ relationships: {
269
+ name: BoundedContext.relationships,
270
+ defaultValue: []
271
+ },
272
+ team: {
273
+ name: BoundedContext.team,
274
+ defaultValue: [],
275
+ referenceType: Team.$type
276
+ },
277
+ terminology: {
278
+ name: BoundedContext.terminology,
279
+ defaultValue: []
280
+ }
281
+ },
282
+ superTypes: [Type.$type]
283
+ },
284
+ BoundedContextRef: {
285
+ name: BoundedContextRef.$type,
286
+ properties: {
287
+ link: {
288
+ name: BoundedContextRef.link,
289
+ referenceType: BoundedContext.$type
290
+ }
291
+ },
292
+ superTypes: []
293
+ },
294
+ BusinessRule: {
295
+ name: BusinessRule.$type,
296
+ properties: {
297
+ classification: {
298
+ name: BusinessRule.classification,
299
+ referenceType: Classification.$type
300
+ },
301
+ name: {
302
+ name: BusinessRule.name
303
+ },
304
+ value: {
305
+ name: BusinessRule.value
306
+ }
307
+ },
308
+ superTypes: [AbstractDecision.$type]
309
+ },
310
+ Classification: {
311
+ name: Classification.$type,
312
+ properties: {
313
+ name: {
314
+ name: Classification.name
315
+ }
316
+ },
317
+ superTypes: [Type.$type]
318
+ },
319
+ Container: {
320
+ name: Container.$type,
321
+ properties: {},
322
+ superTypes: []
323
+ },
324
+ ContextMap: {
325
+ name: ContextMap.$type,
326
+ properties: {
327
+ boundedContexts: {
328
+ name: ContextMap.boundedContexts,
329
+ defaultValue: [],
330
+ referenceType: BoundedContext.$type
331
+ },
332
+ name: {
333
+ name: ContextMap.name
334
+ },
335
+ relationships: {
336
+ name: ContextMap.relationships,
337
+ defaultValue: []
338
+ }
339
+ },
340
+ superTypes: [ObjectMap.$type]
341
+ },
342
+ Decision: {
343
+ name: Decision.$type,
344
+ properties: {
345
+ classification: {
346
+ name: Decision.classification,
347
+ referenceType: Classification.$type
348
+ },
349
+ name: {
350
+ name: Decision.name
351
+ },
352
+ value: {
353
+ name: Decision.value
354
+ }
355
+ },
356
+ superTypes: [AbstractDecision.$type]
357
+ },
358
+ Domain: {
359
+ name: Domain.$type,
360
+ properties: {
361
+ description: {
362
+ name: Domain.description
363
+ },
364
+ name: {
365
+ name: Domain.name
366
+ },
367
+ parent: {
368
+ name: Domain.parent,
369
+ referenceType: Domain.$type
370
+ },
371
+ type: {
372
+ name: Domain.type,
373
+ referenceType: Classification.$type
374
+ },
375
+ vision: {
376
+ name: Domain.vision
377
+ }
378
+ },
379
+ superTypes: [Type.$type]
380
+ },
381
+ DomainMap: {
382
+ name: DomainMap.$type,
383
+ properties: {
384
+ domains: {
385
+ name: DomainMap.domains,
386
+ defaultValue: [],
387
+ referenceType: Domain.$type
388
+ },
389
+ name: {
390
+ name: DomainMap.name
391
+ }
392
+ },
393
+ superTypes: [ObjectMap.$type]
394
+ },
395
+ DomainTerm: {
396
+ name: DomainTerm.$type,
397
+ properties: {
398
+ examples: {
399
+ name: DomainTerm.examples,
400
+ defaultValue: []
401
+ },
402
+ meaning: {
403
+ name: DomainTerm.meaning
404
+ },
405
+ name: {
406
+ name: DomainTerm.name
407
+ },
408
+ synonyms: {
409
+ name: DomainTerm.synonyms,
410
+ defaultValue: []
411
+ }
412
+ },
413
+ superTypes: []
414
+ },
415
+ ImportStatement: {
416
+ name: ImportStatement.$type,
417
+ properties: {
418
+ alias: {
419
+ name: ImportStatement.alias
420
+ },
421
+ uri: {
422
+ name: ImportStatement.uri
423
+ }
424
+ },
425
+ superTypes: []
426
+ },
427
+ Metadata: {
428
+ name: Metadata.$type,
429
+ properties: {
430
+ name: {
431
+ name: Metadata.name
432
+ }
433
+ },
434
+ superTypes: [Type.$type]
435
+ },
436
+ MetadataEntry: {
437
+ name: MetadataEntry.$type,
438
+ properties: {
439
+ key: {
440
+ name: MetadataEntry.key,
441
+ referenceType: Metadata.$type
442
+ },
443
+ value: {
444
+ name: MetadataEntry.value
445
+ }
446
+ },
447
+ superTypes: []
448
+ },
449
+ Model: {
450
+ name: Model.$type,
451
+ properties: {
452
+ children: {
453
+ name: Model.children,
454
+ defaultValue: []
455
+ },
456
+ imports: {
457
+ name: Model.imports,
458
+ defaultValue: []
459
+ }
460
+ },
461
+ superTypes: [Container.$type]
462
+ },
463
+ NamespaceDeclaration: {
464
+ name: NamespaceDeclaration.$type,
465
+ properties: {
466
+ children: {
467
+ name: NamespaceDeclaration.children,
468
+ defaultValue: []
469
+ },
470
+ name: {
471
+ name: NamespaceDeclaration.name
472
+ }
473
+ },
474
+ superTypes: [Container.$type, StructureElement.$type]
475
+ },
476
+ ObjectMap: {
477
+ name: ObjectMap.$type,
478
+ properties: {},
479
+ superTypes: [StructureElement.$type]
480
+ },
481
+ Policy: {
482
+ name: Policy.$type,
483
+ properties: {
484
+ classification: {
485
+ name: Policy.classification,
486
+ referenceType: Classification.$type
487
+ },
488
+ name: {
489
+ name: Policy.name
490
+ },
491
+ value: {
492
+ name: Policy.value
493
+ }
494
+ },
495
+ superTypes: [AbstractDecision.$type]
496
+ },
497
+ Relationship: {
498
+ name: Relationship.$type,
499
+ properties: {
500
+ arrow: {
501
+ name: Relationship.arrow
502
+ },
503
+ left: {
504
+ name: Relationship.left
505
+ },
506
+ leftPatterns: {
507
+ name: Relationship.leftPatterns,
508
+ defaultValue: []
509
+ },
510
+ right: {
511
+ name: Relationship.right
512
+ },
513
+ rightPatterns: {
514
+ name: Relationship.rightPatterns,
515
+ defaultValue: []
516
+ },
517
+ type: {
518
+ name: Relationship.type
519
+ }
520
+ },
521
+ superTypes: []
522
+ },
523
+ StructureElement: {
524
+ name: StructureElement.$type,
525
+ properties: {},
526
+ superTypes: []
527
+ },
528
+ Team: {
529
+ name: Team.$type,
530
+ properties: {
531
+ name: {
532
+ name: Team.name
533
+ }
534
+ },
535
+ superTypes: [Type.$type]
536
+ },
537
+ ThisRef: {
538
+ name: ThisRef.$type,
539
+ properties: {
540
+ link: {
541
+ name: ThisRef.link,
542
+ referenceType: BoundedContext.$type
543
+ }
544
+ },
545
+ superTypes: [BoundedContextRef.$type]
546
+ },
547
+ Type: {
548
+ name: Type.$type,
549
+ properties: {},
550
+ superTypes: [StructureElement.$type]
551
+ }
552
+ };
553
+ }
554
+ }
555
+ export const reflection = new DomainLangAstReflection();
556
+ //# sourceMappingURL=ast.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EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ /******************************************************************************
2
+ * This file was generated by langium-cli 4.2.0.
3
+ * DO NOT EDIT MANUALLY!
4
+ ******************************************************************************/
5
+ import type { Grammar } from 'langium';
6
+ export declare const DomainLangGrammar: () => Grammar;