@domainlang/language 0.1.81

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