@likec4/language-server 1.39.5 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/ast.d.ts +4 -2
  2. package/dist/bundled.mjs +3438 -3428
  3. package/dist/formatting/LikeC4Formatter.mjs +14 -8
  4. package/dist/generated/ast.d.ts +22 -5
  5. package/dist/generated/ast.mjs +28 -2
  6. package/dist/generated/grammar.mjs +1 -1
  7. package/dist/logger.d.ts +1 -1
  8. package/dist/logger.mjs +3 -0
  9. package/dist/lsp/CompletionProvider.mjs +34 -3
  10. package/dist/lsp/HoverProvider.mjs +14 -2
  11. package/dist/lsp/SemanticTokenProvider.mjs +1 -1
  12. package/dist/model/builder/MergedSpecification.d.ts +1 -1
  13. package/dist/model/builder/MergedSpecification.mjs +39 -35
  14. package/dist/model/builder/buildModel.mjs +2 -1
  15. package/dist/model/model-parser.d.ts +72 -45
  16. package/dist/model/parser/Base.d.ts +13 -7
  17. package/dist/model/parser/Base.mjs +27 -16
  18. package/dist/model/parser/DeploymentModelParser.d.ts +8 -5
  19. package/dist/model/parser/DeploymentModelParser.mjs +47 -45
  20. package/dist/model/parser/DeploymentViewParser.d.ts +8 -5
  21. package/dist/model/parser/DeploymentViewParser.mjs +1 -2
  22. package/dist/model/parser/FqnRefParser.d.ts +10 -6
  23. package/dist/model/parser/FqnRefParser.mjs +12 -4
  24. package/dist/model/parser/GlobalsParser.d.ts +8 -5
  25. package/dist/model/parser/GlobalsParser.mjs +5 -3
  26. package/dist/model/parser/ImportsParser.d.ts +8 -5
  27. package/dist/model/parser/ImportsParser.mjs +4 -2
  28. package/dist/model/parser/ModelParser.d.ts +8 -5
  29. package/dist/model/parser/ModelParser.mjs +31 -36
  30. package/dist/model/parser/PredicatesParser.d.ts +8 -5
  31. package/dist/model/parser/SpecificationParser.d.ts +8 -5
  32. package/dist/model/parser/SpecificationParser.mjs +15 -21
  33. package/dist/model/parser/ValueConverter.mjs +1 -1
  34. package/dist/model/parser/ViewsParser.d.ts +8 -5
  35. package/dist/model/parser/ViewsParser.mjs +5 -5
  36. package/dist/test/testServices.mjs +22 -24
  37. package/dist/validation/{dynamic-view-step.d.ts → dynamic-view.d.ts} +2 -1
  38. package/dist/validation/{dynamic-view-step.mjs → dynamic-view.mjs} +19 -0
  39. package/dist/validation/index.d.ts +1 -1
  40. package/dist/validation/index.mjs +4 -2
  41. package/package.json +8 -8
@@ -155,6 +155,7 @@ export class LikeC4Formatter extends AbstractFormatter {
155
155
  "title",
156
156
  "description",
157
157
  "technology",
158
+ "summary",
158
159
  "notation",
159
160
  "notes",
160
161
  "color",
@@ -427,14 +428,19 @@ export class LikeC4Formatter extends AbstractFormatter {
427
428
  return (command, edits) => {
428
429
  const quotesToReplace = quoteStyle === "single" ? '"' : "'";
429
430
  const quotesToInsert = quoteStyle === "single" ? "'" : '"';
430
- const newEdits = command.region.nodes.map((node) => ({
431
- range: node.range,
432
- newText: quotesToInsert + this.escapeQuotesInternalQuotes(
433
- node.text.slice(1, -1),
434
- quotesToReplace,
435
- quotesToInsert
436
- ) + quotesToInsert
437
- }));
431
+ const markdownFence = quotesToInsert.repeat(3);
432
+ const plainFence = quotesToInsert;
433
+ const newEdits = command.region.nodes.map((node) => {
434
+ const fence = node.text.startsWith(`"""`) || node.text.startsWith(`'''`) ? markdownFence : plainFence;
435
+ return {
436
+ range: node.range,
437
+ newText: fence + this.escapeQuotesInternalQuotes(
438
+ node.text.slice(fence.length, -fence.length),
439
+ quotesToReplace,
440
+ quotesToInsert
441
+ ) + fence
442
+ };
443
+ });
438
444
  edits.push(...newEdits);
439
445
  };
440
446
  }
@@ -29,7 +29,7 @@ export declare const LikeC4Terminals: {
29
29
  Hex: RegExp;
30
30
  };
31
31
  export type LikeC4TerminalNames = keyof typeof LikeC4Terminals;
32
- export type LikeC4KeywordNames = "(" | ")" | "*" | "," | "->" | "-[" | ":" | ";" | "<-" | "<->" | "BottomTop" | "LeftRight" | "RightLeft" | "TopBottom" | "]->" | "amber" | "and" | "autoLayout" | "blue" | "border" | "browser" | "color" | "crow" | "cylinder" | "dashed" | "deployment" | "deploymentNode" | "description" | "diamond" | "dot" | "dotted" | "dynamic" | "dynamicPredicateGroup" | "element" | "element.kind" | "element.tag" | "exclude" | "extend" | "extends" | "from" | "global" | "gray" | "green" | "group" | "head" | "icon" | "icons" | "import" | "include" | "indigo" | "instance" | "instanceOf" | "is" | "kind" | "large" | "lg" | "likec4lib" | "line" | "link" | "md" | "medium" | "metadata" | "mobile" | "model" | "multiple" | "muted" | "navigateTo" | "node" | "none" | "normal" | "not" | "notation" | "notes" | "odiamond" | "odot" | "of" | "onormal" | "opacity" | "open" | "or" | "padding" | "par" | "parallel" | "person" | "predicate" | "predicateGroup" | "primary" | "queue" | "rectangle" | "red" | "relationship" | "rgb" | "rgba" | "secondary" | "shape" | "size" | "sky" | "slate" | "sm" | "small" | "solid" | "source" | "specification" | "storage" | "style" | "styleGroup" | "tag" | "tail" | "target" | "technology" | "textSize" | "title" | "vee" | "view" | "views" | "where" | "with" | "xl" | "xlarge" | "xs" | "xsmall" | "{" | "}";
32
+ export type LikeC4KeywordNames = "(" | ")" | "*" | "," | "->" | "-[" | ":" | ";" | "<-" | "<->" | "BottomTop" | "LeftRight" | "RightLeft" | "TopBottom" | "]->" | "amber" | "and" | "autoLayout" | "blue" | "border" | "browser" | "color" | "crow" | "cylinder" | "dashed" | "deployment" | "deploymentNode" | "description" | "diagram" | "diamond" | "dot" | "dotted" | "dynamic" | "dynamicPredicateGroup" | "element" | "element.kind" | "element.tag" | "exclude" | "extend" | "extends" | "from" | "global" | "gray" | "green" | "group" | "head" | "icon" | "icons" | "import" | "include" | "indigo" | "instance" | "instanceOf" | "is" | "kind" | "large" | "lg" | "likec4lib" | "line" | "link" | "md" | "medium" | "metadata" | "mobile" | "model" | "multiple" | "muted" | "navigateTo" | "node" | "none" | "normal" | "not" | "notation" | "notes" | "odiamond" | "odot" | "of" | "onormal" | "opacity" | "open" | "or" | "padding" | "par" | "parallel" | "person" | "predicate" | "predicateGroup" | "primary" | "queue" | "rectangle" | "red" | "relationship" | "rgb" | "rgba" | "secondary" | "sequence" | "shape" | "size" | "sky" | "slate" | "sm" | "small" | "solid" | "source" | "specification" | "storage" | "style" | "styleGroup" | "summary" | "tag" | "tail" | "target" | "technology" | "textSize" | "title" | "variant" | "vee" | "view" | "views" | "where" | "with" | "xl" | "xlarge" | "xs" | "xsmall" | "{" | "}";
33
33
  export type LikeC4TokenNames = LikeC4TerminalNames | LikeC4KeywordNames;
34
34
  export type ArrowType = 'crow' | 'diamond' | 'dot' | 'none' | 'normal' | 'odiamond' | 'odot' | 'onormal' | 'open' | 'vee';
35
35
  export declare function isArrowType(item: unknown): item is ArrowType;
@@ -49,6 +49,11 @@ export declare function isDeploymentNodeOrElementKind(item: unknown): item is De
49
49
  export type DeploymentViewRule = DeploymentViewRulePredicate | DeploymentViewRuleStyle | ViewRuleAutoLayout;
50
50
  export declare const DeploymentViewRule = "DeploymentViewRule";
51
51
  export declare function isDeploymentViewRule(item: unknown): item is DeploymentViewRule;
52
+ export type DynamicViewDisplayVariantValue = 'diagram' | 'sequence';
53
+ export declare function isDynamicViewDisplayVariantValue(item: unknown): item is DynamicViewDisplayVariantValue;
54
+ export type DynamicViewProperty = DynamicViewDisplayVariantProperty | ViewProperty;
55
+ export declare const DynamicViewProperty = "DynamicViewProperty";
56
+ export declare function isDynamicViewProperty(item: unknown): item is DynamicViewProperty;
52
57
  export type DynamicViewRule = DynamicViewGlobalPredicateRef | DynamicViewIncludePredicate | ViewRuleAutoLayout | ViewRuleStyleOrGlobalRef;
53
58
  export declare const DynamicViewRule = "DynamicViewRule";
54
59
  export declare function isDynamicViewRule(item: unknown): item is DynamicViewRule;
@@ -77,7 +82,7 @@ export declare const FqnReferenceable = "FqnReferenceable";
77
82
  export declare function isFqnReferenceable(item: unknown): item is FqnReferenceable;
78
83
  export type IconId = string;
79
84
  export declare function isIconId(item: unknown): item is IconId;
80
- export type Id = 'deployment' | 'element' | 'group' | 'instance' | 'model' | 'node' | ArrowType | ElementShape | LineOptions | Participant | SizeValue | ThemeColor | string;
85
+ export type Id = 'deployment' | 'element' | 'group' | 'instance' | 'model' | 'node' | ArrowType | DynamicViewDisplayVariantValue | ElementShape | LineOptions | Participant | SizeValue | ThemeColor | string;
81
86
  export declare function isId(item: unknown): item is Id;
82
87
  export type LikeC4View = DeploymentView | DynamicView | ElementView;
83
88
  export declare const LikeC4View = "LikeC4View";
@@ -208,6 +213,7 @@ export interface DeployedInstance extends langium.AstNode {
208
213
  readonly $type: 'DeployedInstance';
209
214
  body?: DeployedInstanceBody;
210
215
  name?: Id;
216
+ summary?: string;
211
217
  target: ElementRef;
212
218
  title?: string;
213
219
  }
@@ -228,6 +234,7 @@ export interface DeploymentNode extends langium.AstNode {
228
234
  body?: DeploymentNodeBody;
229
235
  kind: langium.Reference<DeploymentNodeKind>;
230
236
  name: Id;
237
+ summary?: string;
231
238
  title?: string;
232
239
  }
233
240
  export declare const DeploymentNode = "DeploymentNode";
@@ -323,13 +330,21 @@ export declare function isDynamicView(item: unknown): item is DynamicView;
323
330
  export interface DynamicViewBody extends langium.AstNode {
324
331
  readonly $container: DynamicView;
325
332
  readonly $type: 'DynamicViewBody';
326
- props: Array<ViewProperty>;
333
+ props: Array<DynamicViewProperty>;
327
334
  rules: Array<DynamicViewRule>;
328
335
  steps: Array<DynamicViewParallelSteps | DynamicViewStep>;
329
336
  tags?: Tags;
330
337
  }
331
338
  export declare const DynamicViewBody = "DynamicViewBody";
332
339
  export declare function isDynamicViewBody(item: unknown): item is DynamicViewBody;
340
+ export interface DynamicViewDisplayVariantProperty extends langium.AstNode {
341
+ readonly $container: DynamicViewBody;
342
+ readonly $type: 'DynamicViewDisplayVariantProperty';
343
+ key: 'variant';
344
+ value: DynamicViewDisplayVariantValue;
345
+ }
346
+ export declare const DynamicViewDisplayVariantProperty = "DynamicViewDisplayVariantProperty";
347
+ export declare function isDynamicViewDisplayVariantProperty(item: unknown): item is DynamicViewDisplayVariantProperty;
333
348
  export interface DynamicViewGlobalPredicateRef extends langium.AstNode {
334
349
  readonly $container: DynamicViewBody;
335
350
  readonly $type: 'DynamicViewGlobalPredicateRef';
@@ -415,7 +430,7 @@ export declare function isElementRef(item: unknown): item is ElementRef;
415
430
  export interface ElementStringProperty extends langium.AstNode {
416
431
  readonly $container: CustomElementProperties | DeployedInstanceBody | DeploymentNodeBody | ElementBody;
417
432
  readonly $type: 'ElementStringProperty';
418
- key: 'description' | 'technology' | 'title';
433
+ key: 'description' | 'summary' | 'technology' | 'title';
419
434
  value: MarkdownOrString;
420
435
  }
421
436
  export declare const ElementStringProperty = "ElementStringProperty";
@@ -921,7 +936,7 @@ export declare function isSpecificationElementKind(item: unknown): item is Speci
921
936
  export interface SpecificationElementStringProperty extends langium.AstNode {
922
937
  readonly $container: SpecificationDeploymentNodeKind | SpecificationElementKind;
923
938
  readonly $type: 'SpecificationElementStringProperty';
924
- key: 'description' | 'notation' | 'technology' | 'title';
939
+ key: 'description' | 'notation' | 'summary' | 'technology' | 'title';
925
940
  value: MarkdownOrString;
926
941
  }
927
942
  export declare const SpecificationElementStringProperty = "SpecificationElementStringProperty";
@@ -1182,9 +1197,11 @@ export type LikeC4AstType = {
1182
1197
  DirectedRelationExpr: DirectedRelationExpr;
1183
1198
  DynamicView: DynamicView;
1184
1199
  DynamicViewBody: DynamicViewBody;
1200
+ DynamicViewDisplayVariantProperty: DynamicViewDisplayVariantProperty;
1185
1201
  DynamicViewGlobalPredicateRef: DynamicViewGlobalPredicateRef;
1186
1202
  DynamicViewIncludePredicate: DynamicViewIncludePredicate;
1187
1203
  DynamicViewParallelSteps: DynamicViewParallelSteps;
1204
+ DynamicViewProperty: DynamicViewProperty;
1188
1205
  DynamicViewRef: DynamicViewRef;
1189
1206
  DynamicViewRule: DynamicViewRule;
1190
1207
  DynamicViewStep: DynamicViewStep;
@@ -49,6 +49,13 @@ export const DeploymentViewRule = "DeploymentViewRule";
49
49
  export function isDeploymentViewRule(item) {
50
50
  return reflection.isInstance(item, DeploymentViewRule);
51
51
  }
52
+ export function isDynamicViewDisplayVariantValue(item) {
53
+ return item === "diagram" || item === "sequence";
54
+ }
55
+ export const DynamicViewProperty = "DynamicViewProperty";
56
+ export function isDynamicViewProperty(item) {
57
+ return reflection.isInstance(item, DynamicViewProperty);
58
+ }
52
59
  export const DynamicViewRule = "DynamicViewRule";
53
60
  export function isDynamicViewRule(item) {
54
61
  return reflection.isInstance(item, DynamicViewRule);
@@ -88,7 +95,7 @@ export function isIconId(item) {
88
95
  return typeof item === "string" && /(aws|azure|gcp|tech):[-\w]*/.test(item);
89
96
  }
90
97
  export function isId(item) {
91
- return isElementShape(item) || isThemeColor(item) || isArrowType(item) || isLineOptions(item) || isParticipant(item) || isSizeValue(item) || item === "element" || item === "model" || item === "group" || item === "node" || item === "deployment" || item === "instance" || typeof item === "string" && /[_]*[a-zA-Z][-\w]*/.test(item);
98
+ return isElementShape(item) || isThemeColor(item) || isArrowType(item) || isLineOptions(item) || isParticipant(item) || isSizeValue(item) || isDynamicViewDisplayVariantValue(item) || item === "element" || item === "model" || item === "group" || item === "node" || item === "deployment" || item === "instance" || typeof item === "string" && /[_]*[a-zA-Z][-\w]*/.test(item);
92
99
  }
93
100
  export const LikeC4View = "LikeC4View";
94
101
  export function isLikeC4View(item) {
@@ -276,6 +283,10 @@ export const DynamicViewBody = "DynamicViewBody";
276
283
  export function isDynamicViewBody(item) {
277
284
  return reflection.isInstance(item, DynamicViewBody);
278
285
  }
286
+ export const DynamicViewDisplayVariantProperty = "DynamicViewDisplayVariantProperty";
287
+ export function isDynamicViewDisplayVariantProperty(item) {
288
+ return reflection.isInstance(item, DynamicViewDisplayVariantProperty);
289
+ }
279
290
  export const DynamicViewGlobalPredicateRef = "DynamicViewGlobalPredicateRef";
280
291
  export function isDynamicViewGlobalPredicateRef(item) {
281
292
  return reflection.isInstance(item, DynamicViewGlobalPredicateRef);
@@ -678,7 +689,7 @@ export function isWildcardExpression(item) {
678
689
  }
679
690
  export class LikeC4AstReflection extends langium.AbstractAstReflection {
680
691
  getAllTypes() {
681
- return [ArrowProperty, BorderProperty, ColorLiteral, ColorProperty, CustomColor, CustomElementProperties, CustomRelationProperties, DeployedInstance, DeployedInstanceBody, DeploymentElement, DeploymentNode, DeploymentNodeBody, DeploymentNodeKind, DeploymentNodeOrElementKind, DeploymentRelation, DeploymentRelationBody, DeploymentView, DeploymentViewBody, DeploymentViewRule, DeploymentViewRulePredicate, DeploymentViewRuleStyle, DirectedRelationExpr, DynamicView, DynamicViewBody, DynamicViewGlobalPredicateRef, DynamicViewIncludePredicate, DynamicViewParallelSteps, DynamicViewRef, DynamicViewRule, DynamicViewStep, Element, ElementBody, ElementKind, ElementKindExpression, ElementProperty, ElementRef, ElementStringProperty, ElementStyleProperty, ElementTagExpression, ElementView, ElementViewBody, ElementViewRef, ExpressionV2, Expressions, ExtendDeployment, ExtendDeploymentBody, ExtendElement, ExtendElementBody, ExtendElementProperty, FqnExpr, FqnExprOrWhere, FqnExprOrWith, FqnExprWhere, FqnExprWith, FqnExpressions, FqnRef, FqnRefExpr, FqnReferenceable, GlobalDynamicPredicateGroup, GlobalPredicateGroup, GlobalStyle, GlobalStyleGroup, GlobalStyleId, Globals, HexColor, IconProperty, Imported, ImportsFromPoject, InOutRelationExpr, IncomingRelationExpr, LibIcon, LikeC4Grammar, LikeC4Lib, LikeC4View, LineProperty, LinkProperty, MarkdownOrString, MetadataAttribute, MetadataBody, MetadataProperty, Model, ModelDeployments, ModelReferenceable, ModelViews, MultipleProperty, NavigateToProperty, NotationProperty, NotesProperty, OpacityProperty, OutgoingRelationExpr, PaddingSizeProperty, RGBAColor, Referenceable, Relation, RelationBody, RelationExpr, RelationExprOrWhere, RelationExprOrWith, RelationExprWhere, RelationExprWith, RelationKindDotRef, RelationNavigateToProperty, RelationProperty, RelationStringProperty, RelationStyleProperty, RelationshipKind, RelationshipStyleProperty, ShapeProperty, ShapeSizeProperty, SizeProperty, SpecificationColor, SpecificationDeploymentNodeKind, SpecificationElementKind, SpecificationElementStringProperty, SpecificationRelationshipKind, SpecificationRelationshipStringProperty, SpecificationRule, SpecificationTag, StrictFqnElementRef, StrictFqnRef, StringProperty, StyleProperty, Tag, TagRef, Tags, TextSizeProperty, ViewProperty, ViewRef, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRuleGroup, ViewRulePredicate, ViewRuleStyle, ViewRuleStyleOrGlobalRef, ViewStringProperty, WhereBinaryExpression, WhereElement, WhereElementExpression, WhereElementKind, WhereElementNegation, WhereElementTag, WhereExpression, WhereKindEqual, WhereRelation, WhereRelationExpression, WhereRelationKind, WhereRelationNegation, WhereRelationParticipantKind, WhereRelationParticipantTag, WhereRelationTag, WhereTagEqual, WildcardExpression];
692
+ return [ArrowProperty, BorderProperty, ColorLiteral, ColorProperty, CustomColor, CustomElementProperties, CustomRelationProperties, DeployedInstance, DeployedInstanceBody, DeploymentElement, DeploymentNode, DeploymentNodeBody, DeploymentNodeKind, DeploymentNodeOrElementKind, DeploymentRelation, DeploymentRelationBody, DeploymentView, DeploymentViewBody, DeploymentViewRule, DeploymentViewRulePredicate, DeploymentViewRuleStyle, DirectedRelationExpr, DynamicView, DynamicViewBody, DynamicViewDisplayVariantProperty, DynamicViewGlobalPredicateRef, DynamicViewIncludePredicate, DynamicViewParallelSteps, DynamicViewProperty, DynamicViewRef, DynamicViewRule, DynamicViewStep, Element, ElementBody, ElementKind, ElementKindExpression, ElementProperty, ElementRef, ElementStringProperty, ElementStyleProperty, ElementTagExpression, ElementView, ElementViewBody, ElementViewRef, ExpressionV2, Expressions, ExtendDeployment, ExtendDeploymentBody, ExtendElement, ExtendElementBody, ExtendElementProperty, FqnExpr, FqnExprOrWhere, FqnExprOrWith, FqnExprWhere, FqnExprWith, FqnExpressions, FqnRef, FqnRefExpr, FqnReferenceable, GlobalDynamicPredicateGroup, GlobalPredicateGroup, GlobalStyle, GlobalStyleGroup, GlobalStyleId, Globals, HexColor, IconProperty, Imported, ImportsFromPoject, InOutRelationExpr, IncomingRelationExpr, LibIcon, LikeC4Grammar, LikeC4Lib, LikeC4View, LineProperty, LinkProperty, MarkdownOrString, MetadataAttribute, MetadataBody, MetadataProperty, Model, ModelDeployments, ModelReferenceable, ModelViews, MultipleProperty, NavigateToProperty, NotationProperty, NotesProperty, OpacityProperty, OutgoingRelationExpr, PaddingSizeProperty, RGBAColor, Referenceable, Relation, RelationBody, RelationExpr, RelationExprOrWhere, RelationExprOrWith, RelationExprWhere, RelationExprWith, RelationKindDotRef, RelationNavigateToProperty, RelationProperty, RelationStringProperty, RelationStyleProperty, RelationshipKind, RelationshipStyleProperty, ShapeProperty, ShapeSizeProperty, SizeProperty, SpecificationColor, SpecificationDeploymentNodeKind, SpecificationElementKind, SpecificationElementStringProperty, SpecificationRelationshipKind, SpecificationRelationshipStringProperty, SpecificationRule, SpecificationTag, StrictFqnElementRef, StrictFqnRef, StringProperty, StyleProperty, Tag, TagRef, Tags, TextSizeProperty, ViewProperty, ViewRef, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRuleGroup, ViewRulePredicate, ViewRuleStyle, ViewRuleStyleOrGlobalRef, ViewStringProperty, WhereBinaryExpression, WhereElement, WhereElementExpression, WhereElementKind, WhereElementNegation, WhereElementTag, WhereExpression, WhereKindEqual, WhereRelation, WhereRelationExpression, WhereRelationKind, WhereRelationNegation, WhereRelationParticipantKind, WhereRelationParticipantTag, WhereRelationTag, WhereTagEqual, WildcardExpression];
682
693
  }
683
694
  computeIsSubtype(subtype, supertype) {
684
695
  switch (subtype) {
@@ -718,6 +729,10 @@ export class LikeC4AstReflection extends langium.AbstractAstReflection {
718
729
  case OutgoingRelationExpr: {
719
730
  return this.isSubtype(RelationExpr, supertype);
720
731
  }
732
+ case DynamicViewDisplayVariantProperty:
733
+ case ViewProperty: {
734
+ return this.isSubtype(DynamicViewProperty, supertype);
735
+ }
721
736
  case DynamicViewGlobalPredicateRef:
722
737
  case DynamicViewIncludePredicate: {
723
738
  return this.isSubtype(DynamicViewRule, supertype);
@@ -974,6 +989,7 @@ export class LikeC4AstReflection extends langium.AbstractAstReflection {
974
989
  properties: [
975
990
  { name: "body" },
976
991
  { name: "name" },
992
+ { name: "summary" },
977
993
  { name: "target" },
978
994
  { name: "title" }
979
995
  ]
@@ -996,6 +1012,7 @@ export class LikeC4AstReflection extends langium.AbstractAstReflection {
996
1012
  { name: "body" },
997
1013
  { name: "kind" },
998
1014
  { name: "name" },
1015
+ { name: "summary" },
999
1016
  { name: "title" }
1000
1017
  ]
1001
1018
  };
@@ -1109,6 +1126,15 @@ export class LikeC4AstReflection extends langium.AbstractAstReflection {
1109
1126
  ]
1110
1127
  };
1111
1128
  }
1129
+ case DynamicViewDisplayVariantProperty: {
1130
+ return {
1131
+ name: DynamicViewDisplayVariantProperty,
1132
+ properties: [
1133
+ { name: "key" },
1134
+ { name: "value" }
1135
+ ]
1136
+ };
1137
+ }
1112
1138
  case DynamicViewGlobalPredicateRef: {
1113
1139
  return {
1114
1140
  name: DynamicViewGlobalPredicateRef,