@likec4/language-server 1.30.0 → 1.32.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/dist/LikeC4LanguageServices.d.ts +2 -1
- package/dist/LikeC4LanguageServices.js +4 -3
- package/dist/Rpc.js +11 -4
- package/dist/ast.d.ts +11 -15
- package/dist/bundled.mjs +2545 -2475
- package/dist/formatting/LikeC4Formatter.d.ts +26 -2
- package/dist/formatting/LikeC4Formatter.js +106 -8
- package/dist/generated/ast.d.ts +171 -153
- package/dist/generated/ast.js +40 -18
- package/dist/generated/grammar.d.ts +1 -1
- package/dist/generated/grammar.js +1 -1
- package/dist/generated/module.d.ts +1 -1
- package/dist/lsp/CompletionProvider.js +1 -1
- package/dist/lsp/DocumentLinkProvider.js +4 -3
- package/dist/lsp/HoverProvider.js +9 -1
- package/dist/lsp/SemanticTokenProvider.js +18 -4
- package/dist/mcp/LikeC4MCPServerFactory.d.ts +5 -2
- package/dist/mcp/LikeC4MCPServerFactory.js +2 -72
- package/dist/mcp/LikeC4MCPTools.js +5 -3
- package/dist/mcp/sseserver/MCPServerFactory.d.ts +8 -0
- package/dist/mcp/sseserver/MCPServerFactory.js +78 -0
- package/dist/mcp/sseserver/with-mcp-server.d.ts +2 -0
- package/dist/mcp/sseserver/with-mcp-server.js +5 -1
- package/dist/mcp/utils.d.ts +5 -4
- package/dist/mcp/utils.js +2 -2
- package/dist/model/builder/MergedExtends.d.ts +4 -4
- package/dist/model/builder/MergedExtends.js +1 -1
- package/dist/model/builder/MergedSpecification.d.ts +4 -3
- package/dist/model/builder/MergedSpecification.js +9 -8
- package/dist/model/builder/assignTagColors.d.ts +7 -0
- package/dist/model/builder/assignTagColors.js +51 -0
- package/dist/model/builder/buildModel.d.ts +2 -2
- package/dist/model/builder/buildModel.js +40 -18
- package/dist/model/deployments-index.js +2 -2
- package/dist/model/fqn-index.d.ts +1 -1
- package/dist/model/fqn-index.js +6 -6
- package/dist/model/model-builder.d.ts +10 -4
- package/dist/model/model-builder.js +22 -19
- package/dist/model/model-locator.d.ts +10 -2
- package/dist/model/model-locator.js +65 -9
- package/dist/model/model-parser-where.d.ts +1 -1
- package/dist/model/model-parser-where.js +1 -1
- package/dist/model/model-parser.d.ts +10 -11
- package/dist/model/model-parser.js +11 -7
- package/dist/model/parser/Base.js +2 -3
- package/dist/model/parser/DeploymentModelParser.d.ts +1 -1
- package/dist/model/parser/DeploymentModelParser.js +7 -5
- package/dist/model/parser/DeploymentViewParser.d.ts +3 -3
- package/dist/model/parser/DeploymentViewParser.js +2 -1
- package/dist/model/parser/FqnRefParser.d.ts +1 -1
- package/dist/model/parser/FqnRefParser.js +2 -5
- package/dist/model/parser/GlobalsParser.d.ts +23 -24
- package/dist/model/parser/GlobalsParser.js +4 -4
- package/dist/model/parser/ModelParser.d.ts +1 -1
- package/dist/model/parser/ModelParser.js +1 -1
- package/dist/model/parser/PredicatesParser.d.ts +12 -12
- package/dist/model/parser/SpecificationParser.d.ts +5 -2
- package/dist/model/parser/SpecificationParser.js +18 -30
- package/dist/model/parser/ViewsParser.d.ts +23 -23
- package/dist/model/parser/ViewsParser.js +12 -19
- package/dist/model-change/changeElementStyle.d.ts +2 -2
- package/dist/model-change/changeElementStyle.js +6 -2
- package/dist/module.d.ts +1 -1
- package/dist/module.js +5 -2
- package/dist/protocol.d.ts +24 -3
- package/dist/protocol.js +4 -0
- package/dist/references/scope-computation.js +2 -3
- package/dist/test/testServices.d.ts +15 -0
- package/dist/test/testServices.js +4 -1
- package/dist/validation/relation.js +1 -1
- package/dist/validation/specification.js +1 -1
- package/dist/view-utils/assignNavigateTo.d.ts +1 -1
- package/dist/view-utils/assignNavigateTo.js +3 -3
- package/dist/views/likec4-views.d.ts +1 -3
- package/dist/views/likec4-views.js +68 -44
- package/dist/workspace/WorkspaceManager.d.ts +2 -2
- package/dist/workspace/WorkspaceManager.js +2 -2
- package/package.json +27 -25
- /package/dist/mcp/sseserver/{SSELikeC4MCPServer.d.ts → MCPServer.d.ts} +0 -0
- /package/dist/mcp/sseserver/{SSELikeC4MCPServer.js → MCPServer.js} +0 -0
package/dist/generated/ast.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
|
-
* This file was generated by langium-cli 3.
|
|
2
|
+
* This file was generated by langium-cli 3.5.0.
|
|
3
3
|
* DO NOT EDIT MANUALLY!
|
|
4
4
|
******************************************************************************/
|
|
5
|
-
import
|
|
6
|
-
import { AbstractAstReflection } from 'langium';
|
|
5
|
+
import * as langium from 'langium';
|
|
7
6
|
export declare const LikeC4Terminals: {
|
|
8
7
|
BLOCK_COMMENT: RegExp;
|
|
9
8
|
LINE_COMMENT: RegExp;
|
|
@@ -47,8 +46,6 @@ export declare function isDeploymentNodeOrElementKind(item: unknown): item is De
|
|
|
47
46
|
export type DeploymentViewRule = DeploymentViewRulePredicate | DeploymentViewRuleStyle | ViewRuleAutoLayout;
|
|
48
47
|
export declare const DeploymentViewRule = "DeploymentViewRule";
|
|
49
48
|
export declare function isDeploymentViewRule(item: unknown): item is DeploymentViewRule;
|
|
50
|
-
export type DotId = string;
|
|
51
|
-
export declare function isDotId(item: unknown): item is DotId;
|
|
52
49
|
export type DynamicViewRule = DynamicViewGlobalPredicateRef | DynamicViewIncludePredicate | ViewRuleAutoLayout | ViewRuleStyleOrGlobalRef;
|
|
53
50
|
export declare const DynamicViewRule = "DynamicViewRule";
|
|
54
51
|
export declare function isDynamicViewRule(item: unknown): item is DynamicViewRule;
|
|
@@ -121,8 +118,6 @@ export declare function isStringProperty(item: unknown): item is StringProperty;
|
|
|
121
118
|
export type StyleProperty = BorderProperty | ColorProperty | IconProperty | MultipleProperty | OpacityProperty | PaddingSizeProperty | ShapeProperty | ShapeSizeProperty | TextSizeProperty;
|
|
122
119
|
export declare const StyleProperty = "StyleProperty";
|
|
123
120
|
export declare function isStyleProperty(item: unknown): item is StyleProperty;
|
|
124
|
-
export type TagId = string;
|
|
125
|
-
export declare function isTagId(item: unknown): item is TagId;
|
|
126
121
|
export type ThemeColor = 'amber' | 'blue' | 'gray' | 'green' | 'indigo' | 'muted' | 'primary' | 'red' | 'secondary' | 'sky' | 'slate';
|
|
127
122
|
export declare function isThemeColor(item: unknown): item is ThemeColor;
|
|
128
123
|
export type Uri = string;
|
|
@@ -159,7 +154,7 @@ export declare function isWhereRelationExpression(item: unknown): item is WhereR
|
|
|
159
154
|
export type WhereTagEqual = WhereElementTag | WhereRelationParticipantTag | WhereRelationTag;
|
|
160
155
|
export declare const WhereTagEqual = "WhereTagEqual";
|
|
161
156
|
export declare function isWhereTagEqual(item: unknown): item is WhereTagEqual;
|
|
162
|
-
export interface ArrowProperty extends AstNode {
|
|
157
|
+
export interface ArrowProperty extends langium.AstNode {
|
|
163
158
|
readonly $container: CustomRelationProperties | RelationStyleProperty | SpecificationRelationshipKind;
|
|
164
159
|
readonly $type: 'ArrowProperty';
|
|
165
160
|
key: 'head' | 'tail';
|
|
@@ -167,7 +162,7 @@ export interface ArrowProperty extends AstNode {
|
|
|
167
162
|
}
|
|
168
163
|
export declare const ArrowProperty = "ArrowProperty";
|
|
169
164
|
export declare function isArrowProperty(item: unknown): item is ArrowProperty;
|
|
170
|
-
export interface BorderProperty extends AstNode {
|
|
165
|
+
export interface BorderProperty extends langium.AstNode {
|
|
171
166
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleGroup | ViewRuleStyle;
|
|
172
167
|
readonly $type: 'BorderProperty';
|
|
173
168
|
key: 'border';
|
|
@@ -175,37 +170,37 @@ export interface BorderProperty extends AstNode {
|
|
|
175
170
|
}
|
|
176
171
|
export declare const BorderProperty = "BorderProperty";
|
|
177
172
|
export declare function isBorderProperty(item: unknown): item is BorderProperty;
|
|
178
|
-
export interface ColorProperty extends AstNode {
|
|
173
|
+
export interface ColorProperty extends langium.AstNode {
|
|
179
174
|
readonly $container: CustomElementProperties | CustomRelationProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | RelationStyleProperty | SpecificationRelationshipKind | ViewRuleGroup | ViewRuleStyle;
|
|
180
175
|
readonly $type: 'ColorProperty';
|
|
181
|
-
customColor?: Reference<CustomColor>;
|
|
176
|
+
customColor?: langium.Reference<CustomColor>;
|
|
182
177
|
key: 'color';
|
|
183
178
|
themeColor?: ThemeColor;
|
|
184
179
|
}
|
|
185
180
|
export declare const ColorProperty = "ColorProperty";
|
|
186
181
|
export declare function isColorProperty(item: unknown): item is ColorProperty;
|
|
187
|
-
export interface CustomColor extends AstNode {
|
|
182
|
+
export interface CustomColor extends langium.AstNode {
|
|
188
183
|
readonly $container: SpecificationColor;
|
|
189
184
|
readonly $type: 'CustomColor';
|
|
190
185
|
name: CustomColorId;
|
|
191
186
|
}
|
|
192
187
|
export declare const CustomColor = "CustomColor";
|
|
193
188
|
export declare function isCustomColor(item: unknown): item is CustomColor;
|
|
194
|
-
export interface CustomElementProperties extends AstNode {
|
|
189
|
+
export interface CustomElementProperties extends langium.AstNode {
|
|
195
190
|
readonly $container: FqnExprWith;
|
|
196
191
|
readonly $type: 'CustomElementProperties';
|
|
197
192
|
props: Array<ElementStringProperty | NavigateToProperty | NotationProperty | StyleProperty>;
|
|
198
193
|
}
|
|
199
194
|
export declare const CustomElementProperties = "CustomElementProperties";
|
|
200
195
|
export declare function isCustomElementProperties(item: unknown): item is CustomElementProperties;
|
|
201
|
-
export interface CustomRelationProperties extends AstNode {
|
|
196
|
+
export interface CustomRelationProperties extends langium.AstNode {
|
|
202
197
|
readonly $container: DynamicViewStep | RelationExprWith;
|
|
203
198
|
readonly $type: 'CustomRelationProperties';
|
|
204
199
|
props: Array<NotationProperty | NotesProperty | RelationNavigateToProperty | RelationStringProperty | RelationshipStyleProperty>;
|
|
205
200
|
}
|
|
206
201
|
export declare const CustomRelationProperties = "CustomRelationProperties";
|
|
207
202
|
export declare function isCustomRelationProperties(item: unknown): item is CustomRelationProperties;
|
|
208
|
-
export interface DeployedInstance extends AstNode {
|
|
203
|
+
export interface DeployedInstance extends langium.AstNode {
|
|
209
204
|
readonly $container: DeploymentNodeBody | ExtendDeploymentBody;
|
|
210
205
|
readonly $type: 'DeployedInstance';
|
|
211
206
|
body?: DeployedInstanceBody;
|
|
@@ -215,7 +210,7 @@ export interface DeployedInstance extends AstNode {
|
|
|
215
210
|
}
|
|
216
211
|
export declare const DeployedInstance = "DeployedInstance";
|
|
217
212
|
export declare function isDeployedInstance(item: unknown): item is DeployedInstance;
|
|
218
|
-
export interface DeployedInstanceBody extends AstNode {
|
|
213
|
+
export interface DeployedInstanceBody extends langium.AstNode {
|
|
219
214
|
readonly $container: DeployedInstance;
|
|
220
215
|
readonly $type: 'DeployedInstanceBody';
|
|
221
216
|
elements: Array<DeploymentRelation>;
|
|
@@ -224,17 +219,17 @@ export interface DeployedInstanceBody extends AstNode {
|
|
|
224
219
|
}
|
|
225
220
|
export declare const DeployedInstanceBody = "DeployedInstanceBody";
|
|
226
221
|
export declare function isDeployedInstanceBody(item: unknown): item is DeployedInstanceBody;
|
|
227
|
-
export interface DeploymentNode extends AstNode {
|
|
222
|
+
export interface DeploymentNode extends langium.AstNode {
|
|
228
223
|
readonly $container: DeploymentNodeBody | ExtendDeploymentBody | ModelDeployments;
|
|
229
224
|
readonly $type: 'DeploymentNode';
|
|
230
225
|
body?: DeploymentNodeBody;
|
|
231
|
-
kind: Reference<DeploymentNodeKind>;
|
|
226
|
+
kind: langium.Reference<DeploymentNodeKind>;
|
|
232
227
|
name: Id;
|
|
233
228
|
title?: string;
|
|
234
229
|
}
|
|
235
230
|
export declare const DeploymentNode = "DeploymentNode";
|
|
236
231
|
export declare function isDeploymentNode(item: unknown): item is DeploymentNode;
|
|
237
|
-
export interface DeploymentNodeBody extends AstNode {
|
|
232
|
+
export interface DeploymentNodeBody extends langium.AstNode {
|
|
238
233
|
readonly $container: DeploymentNode;
|
|
239
234
|
readonly $type: 'DeploymentNodeBody';
|
|
240
235
|
elements: Array<DeployedInstance | DeploymentNode | DeploymentRelation>;
|
|
@@ -243,18 +238,19 @@ export interface DeploymentNodeBody extends AstNode {
|
|
|
243
238
|
}
|
|
244
239
|
export declare const DeploymentNodeBody = "DeploymentNodeBody";
|
|
245
240
|
export declare function isDeploymentNodeBody(item: unknown): item is DeploymentNodeBody;
|
|
246
|
-
export interface DeploymentNodeKind extends AstNode {
|
|
241
|
+
export interface DeploymentNodeKind extends langium.AstNode {
|
|
247
242
|
readonly $container: SpecificationDeploymentNodeKind;
|
|
248
243
|
readonly $type: 'DeploymentNodeKind';
|
|
249
244
|
name: Id;
|
|
250
245
|
}
|
|
251
246
|
export declare const DeploymentNodeKind = "DeploymentNodeKind";
|
|
252
247
|
export declare function isDeploymentNodeKind(item: unknown): item is DeploymentNodeKind;
|
|
253
|
-
export interface DeploymentRelation extends AstNode {
|
|
248
|
+
export interface DeploymentRelation extends langium.AstNode {
|
|
254
249
|
readonly $container: DeployedInstanceBody | DeploymentNodeBody | ExtendDeploymentBody | ModelDeployments;
|
|
255
250
|
readonly $type: 'DeploymentRelation';
|
|
256
251
|
body?: DeploymentRelationBody;
|
|
257
|
-
|
|
252
|
+
dotKind?: RelationKindDotRef;
|
|
253
|
+
kind?: langium.Reference<RelationshipKind>;
|
|
258
254
|
source?: FqnRef;
|
|
259
255
|
tags?: Tags;
|
|
260
256
|
target: FqnRef;
|
|
@@ -263,7 +259,7 @@ export interface DeploymentRelation extends AstNode {
|
|
|
263
259
|
}
|
|
264
260
|
export declare const DeploymentRelation = "DeploymentRelation";
|
|
265
261
|
export declare function isDeploymentRelation(item: unknown): item is DeploymentRelation;
|
|
266
|
-
export interface DeploymentRelationBody extends AstNode {
|
|
262
|
+
export interface DeploymentRelationBody extends langium.AstNode {
|
|
267
263
|
readonly $container: DeploymentRelation;
|
|
268
264
|
readonly $type: 'DeploymentRelationBody';
|
|
269
265
|
props: Array<RelationProperty>;
|
|
@@ -271,7 +267,7 @@ export interface DeploymentRelationBody extends AstNode {
|
|
|
271
267
|
}
|
|
272
268
|
export declare const DeploymentRelationBody = "DeploymentRelationBody";
|
|
273
269
|
export declare function isDeploymentRelationBody(item: unknown): item is DeploymentRelationBody;
|
|
274
|
-
export interface DeploymentView extends AstNode {
|
|
270
|
+
export interface DeploymentView extends langium.AstNode {
|
|
275
271
|
readonly $container: ModelViews;
|
|
276
272
|
readonly $type: 'DeploymentView';
|
|
277
273
|
body?: DeploymentViewBody;
|
|
@@ -279,7 +275,7 @@ export interface DeploymentView extends AstNode {
|
|
|
279
275
|
}
|
|
280
276
|
export declare const DeploymentView = "DeploymentView";
|
|
281
277
|
export declare function isDeploymentView(item: unknown): item is DeploymentView;
|
|
282
|
-
export interface DeploymentViewBody extends AstNode {
|
|
278
|
+
export interface DeploymentViewBody extends langium.AstNode {
|
|
283
279
|
readonly $container: DeploymentView;
|
|
284
280
|
readonly $type: 'DeploymentViewBody';
|
|
285
281
|
props: Array<ViewProperty>;
|
|
@@ -288,7 +284,7 @@ export interface DeploymentViewBody extends AstNode {
|
|
|
288
284
|
}
|
|
289
285
|
export declare const DeploymentViewBody = "DeploymentViewBody";
|
|
290
286
|
export declare function isDeploymentViewBody(item: unknown): item is DeploymentViewBody;
|
|
291
|
-
export interface DeploymentViewRulePredicate extends AstNode {
|
|
287
|
+
export interface DeploymentViewRulePredicate extends langium.AstNode {
|
|
292
288
|
readonly $container: DeploymentViewBody;
|
|
293
289
|
readonly $type: 'DeploymentViewRulePredicate';
|
|
294
290
|
expr: Expressions;
|
|
@@ -296,7 +292,7 @@ export interface DeploymentViewRulePredicate extends AstNode {
|
|
|
296
292
|
}
|
|
297
293
|
export declare const DeploymentViewRulePredicate = "DeploymentViewRulePredicate";
|
|
298
294
|
export declare function isDeploymentViewRulePredicate(item: unknown): item is DeploymentViewRulePredicate;
|
|
299
|
-
export interface DeploymentViewRuleStyle extends AstNode {
|
|
295
|
+
export interface DeploymentViewRuleStyle extends langium.AstNode {
|
|
300
296
|
readonly $container: DeploymentViewBody;
|
|
301
297
|
readonly $type: 'DeploymentViewRuleStyle';
|
|
302
298
|
props: Array<NotationProperty | StyleProperty>;
|
|
@@ -304,7 +300,7 @@ export interface DeploymentViewRuleStyle extends AstNode {
|
|
|
304
300
|
}
|
|
305
301
|
export declare const DeploymentViewRuleStyle = "DeploymentViewRuleStyle";
|
|
306
302
|
export declare function isDeploymentViewRuleStyle(item: unknown): item is DeploymentViewRuleStyle;
|
|
307
|
-
export interface DirectedRelationExpr extends AstNode {
|
|
303
|
+
export interface DirectedRelationExpr extends langium.AstNode {
|
|
308
304
|
readonly $container: Expressions | RelationExprWhere | RelationExprWith;
|
|
309
305
|
readonly $type: 'DirectedRelationExpr';
|
|
310
306
|
source: OutgoingRelationExpr;
|
|
@@ -312,7 +308,7 @@ export interface DirectedRelationExpr extends AstNode {
|
|
|
312
308
|
}
|
|
313
309
|
export declare const DirectedRelationExpr = "DirectedRelationExpr";
|
|
314
310
|
export declare function isDirectedRelationExpr(item: unknown): item is DirectedRelationExpr;
|
|
315
|
-
export interface DynamicView extends AstNode {
|
|
311
|
+
export interface DynamicView extends langium.AstNode {
|
|
316
312
|
readonly $container: ModelViews;
|
|
317
313
|
readonly $type: 'DynamicView';
|
|
318
314
|
body?: DynamicViewBody;
|
|
@@ -320,7 +316,7 @@ export interface DynamicView extends AstNode {
|
|
|
320
316
|
}
|
|
321
317
|
export declare const DynamicView = "DynamicView";
|
|
322
318
|
export declare function isDynamicView(item: unknown): item is DynamicView;
|
|
323
|
-
export interface DynamicViewBody extends AstNode {
|
|
319
|
+
export interface DynamicViewBody extends langium.AstNode {
|
|
324
320
|
readonly $container: DynamicView;
|
|
325
321
|
readonly $type: 'DynamicViewBody';
|
|
326
322
|
props: Array<ViewProperty>;
|
|
@@ -330,57 +326,58 @@ export interface DynamicViewBody extends AstNode {
|
|
|
330
326
|
}
|
|
331
327
|
export declare const DynamicViewBody = "DynamicViewBody";
|
|
332
328
|
export declare function isDynamicViewBody(item: unknown): item is DynamicViewBody;
|
|
333
|
-
export interface DynamicViewGlobalPredicateRef extends AstNode {
|
|
329
|
+
export interface DynamicViewGlobalPredicateRef extends langium.AstNode {
|
|
334
330
|
readonly $container: DynamicViewBody;
|
|
335
331
|
readonly $type: 'DynamicViewGlobalPredicateRef';
|
|
336
|
-
predicate: Reference<GlobalDynamicPredicateGroup>;
|
|
332
|
+
predicate: langium.Reference<GlobalDynamicPredicateGroup>;
|
|
337
333
|
}
|
|
338
334
|
export declare const DynamicViewGlobalPredicateRef = "DynamicViewGlobalPredicateRef";
|
|
339
335
|
export declare function isDynamicViewGlobalPredicateRef(item: unknown): item is DynamicViewGlobalPredicateRef;
|
|
340
|
-
export interface DynamicViewIncludePredicate extends AstNode {
|
|
336
|
+
export interface DynamicViewIncludePredicate extends langium.AstNode {
|
|
341
337
|
readonly $container: DynamicViewBody | GlobalDynamicPredicateGroup;
|
|
342
338
|
readonly $type: 'DynamicViewIncludePredicate';
|
|
343
339
|
exprs: Expressions;
|
|
344
340
|
}
|
|
345
341
|
export declare const DynamicViewIncludePredicate = "DynamicViewIncludePredicate";
|
|
346
342
|
export declare function isDynamicViewIncludePredicate(item: unknown): item is DynamicViewIncludePredicate;
|
|
347
|
-
export interface DynamicViewParallelSteps extends AstNode {
|
|
343
|
+
export interface DynamicViewParallelSteps extends langium.AstNode {
|
|
348
344
|
readonly $container: DynamicViewBody;
|
|
349
345
|
readonly $type: 'DynamicViewParallelSteps';
|
|
350
346
|
steps: Array<DynamicViewStep>;
|
|
351
347
|
}
|
|
352
348
|
export declare const DynamicViewParallelSteps = "DynamicViewParallelSteps";
|
|
353
349
|
export declare function isDynamicViewParallelSteps(item: unknown): item is DynamicViewParallelSteps;
|
|
354
|
-
export interface DynamicViewRef extends AstNode {
|
|
350
|
+
export interface DynamicViewRef extends langium.AstNode {
|
|
355
351
|
readonly $container: RelationNavigateToProperty;
|
|
356
352
|
readonly $type: 'DynamicViewRef';
|
|
357
|
-
view: Reference<DynamicView>;
|
|
353
|
+
view: langium.Reference<DynamicView>;
|
|
358
354
|
}
|
|
359
355
|
export declare const DynamicViewRef = "DynamicViewRef";
|
|
360
356
|
export declare function isDynamicViewRef(item: unknown): item is DynamicViewRef;
|
|
361
|
-
export interface DynamicViewStep extends AstNode {
|
|
357
|
+
export interface DynamicViewStep extends langium.AstNode {
|
|
362
358
|
readonly $container: DynamicViewBody | DynamicViewParallelSteps;
|
|
363
359
|
readonly $type: 'DynamicViewStep';
|
|
364
360
|
custom?: CustomRelationProperties;
|
|
361
|
+
dotKind?: RelationKindDotRef;
|
|
365
362
|
isBackward: boolean;
|
|
366
|
-
kind?: Reference<RelationshipKind>;
|
|
363
|
+
kind?: langium.Reference<RelationshipKind>;
|
|
367
364
|
source: ElementRef;
|
|
368
365
|
target: ElementRef;
|
|
369
366
|
title?: string;
|
|
370
367
|
}
|
|
371
368
|
export declare const DynamicViewStep = "DynamicViewStep";
|
|
372
369
|
export declare function isDynamicViewStep(item: unknown): item is DynamicViewStep;
|
|
373
|
-
export interface Element extends AstNode {
|
|
370
|
+
export interface Element extends langium.AstNode {
|
|
374
371
|
readonly $container: ElementBody | ExtendElementBody | Model;
|
|
375
372
|
readonly $type: 'Element';
|
|
376
373
|
body?: ElementBody;
|
|
377
|
-
kind: Reference<ElementKind>;
|
|
374
|
+
kind: langium.Reference<ElementKind>;
|
|
378
375
|
name: Id;
|
|
379
376
|
props: Array<string>;
|
|
380
377
|
}
|
|
381
378
|
export declare const Element = "Element";
|
|
382
379
|
export declare function isElement(item: unknown): item is Element;
|
|
383
|
-
export interface ElementBody extends AstNode {
|
|
380
|
+
export interface ElementBody extends langium.AstNode {
|
|
384
381
|
readonly $container: Element;
|
|
385
382
|
readonly $type: 'ElementBody';
|
|
386
383
|
elements: Array<Element | Relation>;
|
|
@@ -389,29 +386,29 @@ export interface ElementBody extends AstNode {
|
|
|
389
386
|
}
|
|
390
387
|
export declare const ElementBody = "ElementBody";
|
|
391
388
|
export declare function isElementBody(item: unknown): item is ElementBody;
|
|
392
|
-
export interface ElementKind extends AstNode {
|
|
389
|
+
export interface ElementKind extends langium.AstNode {
|
|
393
390
|
readonly $container: SpecificationElementKind;
|
|
394
391
|
readonly $type: 'ElementKind';
|
|
395
392
|
name: Id;
|
|
396
393
|
}
|
|
397
394
|
export declare const ElementKind = "ElementKind";
|
|
398
395
|
export declare function isElementKind(item: unknown): item is ElementKind;
|
|
399
|
-
export interface ElementKindExpression extends AstNode {
|
|
396
|
+
export interface ElementKindExpression extends langium.AstNode {
|
|
400
397
|
readonly $container: DirectedRelationExpr | Expressions | FqnExprWhere | FqnExprWith | FqnExpressions | IncomingRelationExpr | OutgoingRelationExpr;
|
|
401
398
|
readonly $type: 'ElementKindExpression';
|
|
402
399
|
isEqual: boolean;
|
|
403
|
-
kind
|
|
400
|
+
kind: langium.Reference<ElementKind>;
|
|
404
401
|
}
|
|
405
402
|
export declare const ElementKindExpression = "ElementKindExpression";
|
|
406
403
|
export declare function isElementKindExpression(item: unknown): item is ElementKindExpression;
|
|
407
|
-
export interface ElementRef extends AstNode {
|
|
404
|
+
export interface ElementRef extends langium.AstNode {
|
|
408
405
|
readonly $container: DeployedInstance | DynamicViewStep | ElementView;
|
|
409
406
|
readonly $type: 'ElementRef';
|
|
410
407
|
modelElement: FqnRef;
|
|
411
408
|
}
|
|
412
409
|
export declare const ElementRef = "ElementRef";
|
|
413
410
|
export declare function isElementRef(item: unknown): item is ElementRef;
|
|
414
|
-
export interface ElementStringProperty extends AstNode {
|
|
411
|
+
export interface ElementStringProperty extends langium.AstNode {
|
|
415
412
|
readonly $container: CustomElementProperties | DeployedInstanceBody | DeploymentNodeBody | ElementBody;
|
|
416
413
|
readonly $type: 'ElementStringProperty';
|
|
417
414
|
key: 'description' | 'technology' | 'title';
|
|
@@ -419,7 +416,7 @@ export interface ElementStringProperty extends AstNode {
|
|
|
419
416
|
}
|
|
420
417
|
export declare const ElementStringProperty = "ElementStringProperty";
|
|
421
418
|
export declare function isElementStringProperty(item: unknown): item is ElementStringProperty;
|
|
422
|
-
export interface ElementStyleProperty extends AstNode {
|
|
419
|
+
export interface ElementStyleProperty extends langium.AstNode {
|
|
423
420
|
readonly $container: DeployedInstanceBody | DeploymentNodeBody | ElementBody | SpecificationDeploymentNodeKind | SpecificationElementKind;
|
|
424
421
|
readonly $type: 'ElementStyleProperty';
|
|
425
422
|
key: 'style';
|
|
@@ -427,15 +424,15 @@ export interface ElementStyleProperty extends AstNode {
|
|
|
427
424
|
}
|
|
428
425
|
export declare const ElementStyleProperty = "ElementStyleProperty";
|
|
429
426
|
export declare function isElementStyleProperty(item: unknown): item is ElementStyleProperty;
|
|
430
|
-
export interface ElementTagExpression extends AstNode {
|
|
427
|
+
export interface ElementTagExpression extends langium.AstNode {
|
|
431
428
|
readonly $container: DirectedRelationExpr | Expressions | FqnExprWhere | FqnExprWith | FqnExpressions | IncomingRelationExpr | OutgoingRelationExpr;
|
|
432
429
|
readonly $type: 'ElementTagExpression';
|
|
433
430
|
isEqual: boolean;
|
|
434
|
-
tag
|
|
431
|
+
tag: TagRef;
|
|
435
432
|
}
|
|
436
433
|
export declare const ElementTagExpression = "ElementTagExpression";
|
|
437
434
|
export declare function isElementTagExpression(item: unknown): item is ElementTagExpression;
|
|
438
|
-
export interface ElementView extends AstNode {
|
|
435
|
+
export interface ElementView extends langium.AstNode {
|
|
439
436
|
readonly $container: ModelViews;
|
|
440
437
|
readonly $type: 'ElementView';
|
|
441
438
|
body?: ElementViewBody;
|
|
@@ -445,7 +442,7 @@ export interface ElementView extends AstNode {
|
|
|
445
442
|
}
|
|
446
443
|
export declare const ElementView = "ElementView";
|
|
447
444
|
export declare function isElementView(item: unknown): item is ElementView;
|
|
448
|
-
export interface ElementViewBody extends AstNode {
|
|
445
|
+
export interface ElementViewBody extends langium.AstNode {
|
|
449
446
|
readonly $container: ElementView;
|
|
450
447
|
readonly $type: 'ElementViewBody';
|
|
451
448
|
props: Array<ViewProperty>;
|
|
@@ -454,14 +451,14 @@ export interface ElementViewBody extends AstNode {
|
|
|
454
451
|
}
|
|
455
452
|
export declare const ElementViewBody = "ElementViewBody";
|
|
456
453
|
export declare function isElementViewBody(item: unknown): item is ElementViewBody;
|
|
457
|
-
export interface ElementViewRef extends AstNode {
|
|
454
|
+
export interface ElementViewRef extends langium.AstNode {
|
|
458
455
|
readonly $container: ElementView;
|
|
459
456
|
readonly $type: 'ElementViewRef';
|
|
460
|
-
view: Reference<ElementView>;
|
|
457
|
+
view: langium.Reference<ElementView>;
|
|
461
458
|
}
|
|
462
459
|
export declare const ElementViewRef = "ElementViewRef";
|
|
463
460
|
export declare function isElementViewRef(item: unknown): item is ElementViewRef;
|
|
464
|
-
export interface Expressions extends AstNode {
|
|
461
|
+
export interface Expressions extends langium.AstNode {
|
|
465
462
|
readonly $container: DeploymentViewRulePredicate | DynamicViewIncludePredicate | Expressions | ViewRulePredicate;
|
|
466
463
|
readonly $type: 'Expressions';
|
|
467
464
|
prev?: Expressions;
|
|
@@ -469,7 +466,7 @@ export interface Expressions extends AstNode {
|
|
|
469
466
|
}
|
|
470
467
|
export declare const Expressions = "Expressions";
|
|
471
468
|
export declare function isExpressions(item: unknown): item is Expressions;
|
|
472
|
-
export interface ExtendDeployment extends AstNode {
|
|
469
|
+
export interface ExtendDeployment extends langium.AstNode {
|
|
473
470
|
readonly $container: ModelDeployments;
|
|
474
471
|
readonly $type: 'ExtendDeployment';
|
|
475
472
|
body: ExtendDeploymentBody;
|
|
@@ -477,7 +474,7 @@ export interface ExtendDeployment extends AstNode {
|
|
|
477
474
|
}
|
|
478
475
|
export declare const ExtendDeployment = "ExtendDeployment";
|
|
479
476
|
export declare function isExtendDeployment(item: unknown): item is ExtendDeployment;
|
|
480
|
-
export interface ExtendDeploymentBody extends AstNode {
|
|
477
|
+
export interface ExtendDeploymentBody extends langium.AstNode {
|
|
481
478
|
readonly $container: ExtendDeployment;
|
|
482
479
|
readonly $type: 'ExtendDeploymentBody';
|
|
483
480
|
elements: Array<DeployedInstance | DeploymentNode | DeploymentRelation>;
|
|
@@ -486,7 +483,7 @@ export interface ExtendDeploymentBody extends AstNode {
|
|
|
486
483
|
}
|
|
487
484
|
export declare const ExtendDeploymentBody = "ExtendDeploymentBody";
|
|
488
485
|
export declare function isExtendDeploymentBody(item: unknown): item is ExtendDeploymentBody;
|
|
489
|
-
export interface ExtendElement extends AstNode {
|
|
486
|
+
export interface ExtendElement extends langium.AstNode {
|
|
490
487
|
readonly $container: Model;
|
|
491
488
|
readonly $type: 'ExtendElement';
|
|
492
489
|
body: ExtendElementBody;
|
|
@@ -494,7 +491,7 @@ export interface ExtendElement extends AstNode {
|
|
|
494
491
|
}
|
|
495
492
|
export declare const ExtendElement = "ExtendElement";
|
|
496
493
|
export declare function isExtendElement(item: unknown): item is ExtendElement;
|
|
497
|
-
export interface ExtendElementBody extends AstNode {
|
|
494
|
+
export interface ExtendElementBody extends langium.AstNode {
|
|
498
495
|
readonly $container: ExtendElement;
|
|
499
496
|
readonly $type: 'ExtendElementBody';
|
|
500
497
|
elements: Array<Element | Relation>;
|
|
@@ -503,7 +500,7 @@ export interface ExtendElementBody extends AstNode {
|
|
|
503
500
|
}
|
|
504
501
|
export declare const ExtendElementBody = "ExtendElementBody";
|
|
505
502
|
export declare function isExtendElementBody(item: unknown): item is ExtendElementBody;
|
|
506
|
-
export interface FqnExpressions extends AstNode {
|
|
503
|
+
export interface FqnExpressions extends langium.AstNode {
|
|
507
504
|
readonly $container: DeploymentViewRuleStyle | FqnExpressions | GlobalStyle | ViewRuleStyle;
|
|
508
505
|
readonly $type: 'FqnExpressions';
|
|
509
506
|
prev?: FqnExpressions;
|
|
@@ -511,7 +508,7 @@ export interface FqnExpressions extends AstNode {
|
|
|
511
508
|
}
|
|
512
509
|
export declare const FqnExpressions = "FqnExpressions";
|
|
513
510
|
export declare function isFqnExpressions(item: unknown): item is FqnExpressions;
|
|
514
|
-
export interface FqnExprWhere extends AstNode {
|
|
511
|
+
export interface FqnExprWhere extends langium.AstNode {
|
|
515
512
|
readonly $container: Expressions | FqnExprWith;
|
|
516
513
|
readonly $type: 'FqnExprWhere';
|
|
517
514
|
subject: FqnExpr;
|
|
@@ -519,7 +516,7 @@ export interface FqnExprWhere extends AstNode {
|
|
|
519
516
|
}
|
|
520
517
|
export declare const FqnExprWhere = "FqnExprWhere";
|
|
521
518
|
export declare function isFqnExprWhere(item: unknown): item is FqnExprWhere;
|
|
522
|
-
export interface FqnExprWith extends AstNode {
|
|
519
|
+
export interface FqnExprWith extends langium.AstNode {
|
|
523
520
|
readonly $container: Expressions;
|
|
524
521
|
readonly $type: 'FqnExprWith';
|
|
525
522
|
custom?: CustomElementProperties;
|
|
@@ -527,15 +524,15 @@ export interface FqnExprWith extends AstNode {
|
|
|
527
524
|
}
|
|
528
525
|
export declare const FqnExprWith = "FqnExprWith";
|
|
529
526
|
export declare function isFqnExprWith(item: unknown): item is FqnExprWith;
|
|
530
|
-
export interface FqnRef extends AstNode {
|
|
527
|
+
export interface FqnRef extends langium.AstNode {
|
|
531
528
|
readonly $container: DeploymentRelation | ElementRef | FqnRef | FqnRefExpr | Relation;
|
|
532
529
|
readonly $type: 'FqnRef';
|
|
533
530
|
parent?: FqnRef;
|
|
534
|
-
value: Reference<Referenceable>;
|
|
531
|
+
value: langium.Reference<Referenceable>;
|
|
535
532
|
}
|
|
536
533
|
export declare const FqnRef = "FqnRef";
|
|
537
534
|
export declare function isFqnRef(item: unknown): item is FqnRef;
|
|
538
|
-
export interface FqnRefExpr extends AstNode {
|
|
535
|
+
export interface FqnRefExpr extends langium.AstNode {
|
|
539
536
|
readonly $container: DirectedRelationExpr | Expressions | FqnExprWhere | FqnExprWith | FqnExpressions | IncomingRelationExpr | OutgoingRelationExpr;
|
|
540
537
|
readonly $type: 'FqnRefExpr';
|
|
541
538
|
ref: FqnRef;
|
|
@@ -543,7 +540,7 @@ export interface FqnRefExpr extends AstNode {
|
|
|
543
540
|
}
|
|
544
541
|
export declare const FqnRefExpr = "FqnRefExpr";
|
|
545
542
|
export declare function isFqnRefExpr(item: unknown): item is FqnRefExpr;
|
|
546
|
-
export interface GlobalDynamicPredicateGroup extends AstNode {
|
|
543
|
+
export interface GlobalDynamicPredicateGroup extends langium.AstNode {
|
|
547
544
|
readonly $container: Globals;
|
|
548
545
|
readonly $type: 'GlobalDynamicPredicateGroup';
|
|
549
546
|
name: string;
|
|
@@ -551,7 +548,7 @@ export interface GlobalDynamicPredicateGroup extends AstNode {
|
|
|
551
548
|
}
|
|
552
549
|
export declare const GlobalDynamicPredicateGroup = "GlobalDynamicPredicateGroup";
|
|
553
550
|
export declare function isGlobalDynamicPredicateGroup(item: unknown): item is GlobalDynamicPredicateGroup;
|
|
554
|
-
export interface GlobalPredicateGroup extends AstNode {
|
|
551
|
+
export interface GlobalPredicateGroup extends langium.AstNode {
|
|
555
552
|
readonly $container: Globals;
|
|
556
553
|
readonly $type: 'GlobalPredicateGroup';
|
|
557
554
|
name: string;
|
|
@@ -559,7 +556,7 @@ export interface GlobalPredicateGroup extends AstNode {
|
|
|
559
556
|
}
|
|
560
557
|
export declare const GlobalPredicateGroup = "GlobalPredicateGroup";
|
|
561
558
|
export declare function isGlobalPredicateGroup(item: unknown): item is GlobalPredicateGroup;
|
|
562
|
-
export interface Globals extends AstNode {
|
|
559
|
+
export interface Globals extends langium.AstNode {
|
|
563
560
|
readonly $container: LikeC4Grammar;
|
|
564
561
|
readonly $type: 'Globals';
|
|
565
562
|
name: 'global';
|
|
@@ -568,7 +565,7 @@ export interface Globals extends AstNode {
|
|
|
568
565
|
}
|
|
569
566
|
export declare const Globals = "Globals";
|
|
570
567
|
export declare function isGlobals(item: unknown): item is Globals;
|
|
571
|
-
export interface GlobalStyle extends AstNode {
|
|
568
|
+
export interface GlobalStyle extends langium.AstNode {
|
|
572
569
|
readonly $container: Globals;
|
|
573
570
|
readonly $type: 'GlobalStyle';
|
|
574
571
|
id: GlobalStyleId;
|
|
@@ -577,7 +574,7 @@ export interface GlobalStyle extends AstNode {
|
|
|
577
574
|
}
|
|
578
575
|
export declare const GlobalStyle = "GlobalStyle";
|
|
579
576
|
export declare function isGlobalStyle(item: unknown): item is GlobalStyle;
|
|
580
|
-
export interface GlobalStyleGroup extends AstNode {
|
|
577
|
+
export interface GlobalStyleGroup extends langium.AstNode {
|
|
581
578
|
readonly $container: Globals;
|
|
582
579
|
readonly $type: 'GlobalStyleGroup';
|
|
583
580
|
id: GlobalStyleId;
|
|
@@ -585,31 +582,31 @@ export interface GlobalStyleGroup extends AstNode {
|
|
|
585
582
|
}
|
|
586
583
|
export declare const GlobalStyleGroup = "GlobalStyleGroup";
|
|
587
584
|
export declare function isGlobalStyleGroup(item: unknown): item is GlobalStyleGroup;
|
|
588
|
-
export interface GlobalStyleId extends AstNode {
|
|
585
|
+
export interface GlobalStyleId extends langium.AstNode {
|
|
589
586
|
readonly $container: GlobalStyle | GlobalStyleGroup;
|
|
590
587
|
readonly $type: 'GlobalStyleId';
|
|
591
588
|
name: string;
|
|
592
589
|
}
|
|
593
590
|
export declare const GlobalStyleId = "GlobalStyleId";
|
|
594
591
|
export declare function isGlobalStyleId(item: unknown): item is GlobalStyleId;
|
|
595
|
-
export interface IconProperty extends AstNode {
|
|
592
|
+
export interface IconProperty extends langium.AstNode {
|
|
596
593
|
readonly $container: CustomElementProperties | DeployedInstanceBody | DeploymentNodeBody | DeploymentViewRuleStyle | ElementBody | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
597
594
|
readonly $type: 'IconProperty';
|
|
598
595
|
key: 'icon';
|
|
599
|
-
libicon?: Reference<LibIcon>;
|
|
596
|
+
libicon?: langium.Reference<LibIcon>;
|
|
600
597
|
value?: 'none' | Uri;
|
|
601
598
|
}
|
|
602
599
|
export declare const IconProperty = "IconProperty";
|
|
603
600
|
export declare function isIconProperty(item: unknown): item is IconProperty;
|
|
604
|
-
export interface Imported extends AstNode {
|
|
601
|
+
export interface Imported extends langium.AstNode {
|
|
605
602
|
readonly $container: Imported | ImportsFromPoject;
|
|
606
603
|
readonly $type: 'Imported';
|
|
607
|
-
imported: Reference<Element>;
|
|
604
|
+
imported: langium.Reference<Element>;
|
|
608
605
|
prev?: Imported;
|
|
609
606
|
}
|
|
610
607
|
export declare const Imported = "Imported";
|
|
611
608
|
export declare function isImported(item: unknown): item is Imported;
|
|
612
|
-
export interface ImportsFromPoject extends AstNode {
|
|
609
|
+
export interface ImportsFromPoject extends langium.AstNode {
|
|
613
610
|
readonly $container: LikeC4Grammar;
|
|
614
611
|
readonly $type: 'ImportsFromPoject';
|
|
615
612
|
imports: Imported;
|
|
@@ -617,28 +614,28 @@ export interface ImportsFromPoject extends AstNode {
|
|
|
617
614
|
}
|
|
618
615
|
export declare const ImportsFromPoject = "ImportsFromPoject";
|
|
619
616
|
export declare function isImportsFromPoject(item: unknown): item is ImportsFromPoject;
|
|
620
|
-
export interface IncomingRelationExpr extends AstNode {
|
|
617
|
+
export interface IncomingRelationExpr extends langium.AstNode {
|
|
621
618
|
readonly $container: Expressions | InOutRelationExpr | RelationExprWhere | RelationExprWith;
|
|
622
619
|
readonly $type: 'IncomingRelationExpr';
|
|
623
620
|
to: FqnExpr;
|
|
624
621
|
}
|
|
625
622
|
export declare const IncomingRelationExpr = "IncomingRelationExpr";
|
|
626
623
|
export declare function isIncomingRelationExpr(item: unknown): item is IncomingRelationExpr;
|
|
627
|
-
export interface InOutRelationExpr extends AstNode {
|
|
624
|
+
export interface InOutRelationExpr extends langium.AstNode {
|
|
628
625
|
readonly $container: Expressions | RelationExprWhere | RelationExprWith;
|
|
629
626
|
readonly $type: 'InOutRelationExpr';
|
|
630
627
|
inout: IncomingRelationExpr;
|
|
631
628
|
}
|
|
632
629
|
export declare const InOutRelationExpr = "InOutRelationExpr";
|
|
633
630
|
export declare function isInOutRelationExpr(item: unknown): item is InOutRelationExpr;
|
|
634
|
-
export interface LibIcon extends AstNode {
|
|
631
|
+
export interface LibIcon extends langium.AstNode {
|
|
635
632
|
readonly $container: LikeC4Lib;
|
|
636
633
|
readonly $type: 'LibIcon';
|
|
637
634
|
name: IconId;
|
|
638
635
|
}
|
|
639
636
|
export declare const LibIcon = "LibIcon";
|
|
640
637
|
export declare function isLibIcon(item: unknown): item is LibIcon;
|
|
641
|
-
export interface LikeC4Grammar extends AstNode {
|
|
638
|
+
export interface LikeC4Grammar extends langium.AstNode {
|
|
642
639
|
readonly $type: 'LikeC4Grammar';
|
|
643
640
|
deployments: Array<ModelDeployments>;
|
|
644
641
|
globals: Array<Globals>;
|
|
@@ -650,14 +647,14 @@ export interface LikeC4Grammar extends AstNode {
|
|
|
650
647
|
}
|
|
651
648
|
export declare const LikeC4Grammar = "LikeC4Grammar";
|
|
652
649
|
export declare function isLikeC4Grammar(item: unknown): item is LikeC4Grammar;
|
|
653
|
-
export interface LikeC4Lib extends AstNode {
|
|
650
|
+
export interface LikeC4Lib extends langium.AstNode {
|
|
654
651
|
readonly $container: LikeC4Grammar;
|
|
655
652
|
readonly $type: 'LikeC4Lib';
|
|
656
653
|
icons: Array<LibIcon>;
|
|
657
654
|
}
|
|
658
655
|
export declare const LikeC4Lib = "LikeC4Lib";
|
|
659
656
|
export declare function isLikeC4Lib(item: unknown): item is LikeC4Lib;
|
|
660
|
-
export interface LineProperty extends AstNode {
|
|
657
|
+
export interface LineProperty extends langium.AstNode {
|
|
661
658
|
readonly $container: CustomRelationProperties | RelationStyleProperty | SpecificationRelationshipKind;
|
|
662
659
|
readonly $type: 'LineProperty';
|
|
663
660
|
key: 'line';
|
|
@@ -665,7 +662,7 @@ export interface LineProperty extends AstNode {
|
|
|
665
662
|
}
|
|
666
663
|
export declare const LineProperty = "LineProperty";
|
|
667
664
|
export declare function isLineProperty(item: unknown): item is LineProperty;
|
|
668
|
-
export interface LinkProperty extends AstNode {
|
|
665
|
+
export interface LinkProperty extends langium.AstNode {
|
|
669
666
|
readonly $container: DeployedInstanceBody | DeploymentNodeBody | DeploymentRelationBody | DeploymentViewBody | DynamicViewBody | ElementBody | ElementViewBody | ExtendDeploymentBody | ExtendElementBody | RelationBody;
|
|
670
667
|
readonly $type: 'LinkProperty';
|
|
671
668
|
key: 'link';
|
|
@@ -674,7 +671,7 @@ export interface LinkProperty extends AstNode {
|
|
|
674
671
|
}
|
|
675
672
|
export declare const LinkProperty = "LinkProperty";
|
|
676
673
|
export declare function isLinkProperty(item: unknown): item is LinkProperty;
|
|
677
|
-
export interface MetadataAttribute extends AstNode {
|
|
674
|
+
export interface MetadataAttribute extends langium.AstNode {
|
|
678
675
|
readonly $container: MetadataBody;
|
|
679
676
|
readonly $type: 'MetadataAttribute';
|
|
680
677
|
key: string;
|
|
@@ -682,14 +679,14 @@ export interface MetadataAttribute extends AstNode {
|
|
|
682
679
|
}
|
|
683
680
|
export declare const MetadataAttribute = "MetadataAttribute";
|
|
684
681
|
export declare function isMetadataAttribute(item: unknown): item is MetadataAttribute;
|
|
685
|
-
export interface MetadataBody extends AstNode {
|
|
682
|
+
export interface MetadataBody extends langium.AstNode {
|
|
686
683
|
readonly $container: DeployedInstanceBody | DeploymentNodeBody | DeploymentRelationBody | ElementBody | ExtendDeploymentBody | ExtendElementBody | RelationBody;
|
|
687
684
|
readonly $type: 'MetadataBody';
|
|
688
685
|
props: Array<MetadataAttribute>;
|
|
689
686
|
}
|
|
690
687
|
export declare const MetadataBody = "MetadataBody";
|
|
691
688
|
export declare function isMetadataBody(item: unknown): item is MetadataBody;
|
|
692
|
-
export interface Model extends AstNode {
|
|
689
|
+
export interface Model extends langium.AstNode {
|
|
693
690
|
readonly $container: LikeC4Grammar;
|
|
694
691
|
readonly $type: 'Model';
|
|
695
692
|
elements: Array<Element | ExtendElement | Relation>;
|
|
@@ -697,7 +694,7 @@ export interface Model extends AstNode {
|
|
|
697
694
|
}
|
|
698
695
|
export declare const Model = "Model";
|
|
699
696
|
export declare function isModel(item: unknown): item is Model;
|
|
700
|
-
export interface ModelDeployments extends AstNode {
|
|
697
|
+
export interface ModelDeployments extends langium.AstNode {
|
|
701
698
|
readonly $container: LikeC4Grammar;
|
|
702
699
|
readonly $type: 'ModelDeployments';
|
|
703
700
|
elements: Array<DeploymentNode | DeploymentRelation | ExtendDeployment>;
|
|
@@ -705,7 +702,7 @@ export interface ModelDeployments extends AstNode {
|
|
|
705
702
|
}
|
|
706
703
|
export declare const ModelDeployments = "ModelDeployments";
|
|
707
704
|
export declare function isModelDeployments(item: unknown): item is ModelDeployments;
|
|
708
|
-
export interface ModelViews extends AstNode {
|
|
705
|
+
export interface ModelViews extends langium.AstNode {
|
|
709
706
|
readonly $container: LikeC4Grammar;
|
|
710
707
|
readonly $type: 'ModelViews';
|
|
711
708
|
name: 'views';
|
|
@@ -714,7 +711,7 @@ export interface ModelViews extends AstNode {
|
|
|
714
711
|
}
|
|
715
712
|
export declare const ModelViews = "ModelViews";
|
|
716
713
|
export declare function isModelViews(item: unknown): item is ModelViews;
|
|
717
|
-
export interface MultipleProperty extends AstNode {
|
|
714
|
+
export interface MultipleProperty extends langium.AstNode {
|
|
718
715
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
719
716
|
readonly $type: 'MultipleProperty';
|
|
720
717
|
key: 'multiple';
|
|
@@ -722,7 +719,7 @@ export interface MultipleProperty extends AstNode {
|
|
|
722
719
|
}
|
|
723
720
|
export declare const MultipleProperty = "MultipleProperty";
|
|
724
721
|
export declare function isMultipleProperty(item: unknown): item is MultipleProperty;
|
|
725
|
-
export interface NavigateToProperty extends AstNode {
|
|
722
|
+
export interface NavigateToProperty extends langium.AstNode {
|
|
726
723
|
readonly $container: CustomElementProperties;
|
|
727
724
|
readonly $type: 'NavigateToProperty';
|
|
728
725
|
key: 'navigateTo';
|
|
@@ -730,7 +727,7 @@ export interface NavigateToProperty extends AstNode {
|
|
|
730
727
|
}
|
|
731
728
|
export declare const NavigateToProperty = "NavigateToProperty";
|
|
732
729
|
export declare function isNavigateToProperty(item: unknown): item is NavigateToProperty;
|
|
733
|
-
export interface NotationProperty extends AstNode {
|
|
730
|
+
export interface NotationProperty extends langium.AstNode {
|
|
734
731
|
readonly $container: CustomElementProperties | CustomRelationProperties | DeploymentViewRuleStyle | GlobalStyle | ViewRuleStyle;
|
|
735
732
|
readonly $type: 'NotationProperty';
|
|
736
733
|
key: 'notation';
|
|
@@ -738,7 +735,7 @@ export interface NotationProperty extends AstNode {
|
|
|
738
735
|
}
|
|
739
736
|
export declare const NotationProperty = "NotationProperty";
|
|
740
737
|
export declare function isNotationProperty(item: unknown): item is NotationProperty;
|
|
741
|
-
export interface NotesProperty extends AstNode {
|
|
738
|
+
export interface NotesProperty extends langium.AstNode {
|
|
742
739
|
readonly $container: CustomRelationProperties;
|
|
743
740
|
readonly $type: 'NotesProperty';
|
|
744
741
|
key: 'notes';
|
|
@@ -746,7 +743,7 @@ export interface NotesProperty extends AstNode {
|
|
|
746
743
|
}
|
|
747
744
|
export declare const NotesProperty = "NotesProperty";
|
|
748
745
|
export declare function isNotesProperty(item: unknown): item is NotesProperty;
|
|
749
|
-
export interface OpacityProperty extends AstNode {
|
|
746
|
+
export interface OpacityProperty extends langium.AstNode {
|
|
750
747
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleGroup | ViewRuleStyle;
|
|
751
748
|
readonly $type: 'OpacityProperty';
|
|
752
749
|
key: 'opacity';
|
|
@@ -754,16 +751,17 @@ export interface OpacityProperty extends AstNode {
|
|
|
754
751
|
}
|
|
755
752
|
export declare const OpacityProperty = "OpacityProperty";
|
|
756
753
|
export declare function isOpacityProperty(item: unknown): item is OpacityProperty;
|
|
757
|
-
export interface OutgoingRelationExpr extends AstNode {
|
|
754
|
+
export interface OutgoingRelationExpr extends langium.AstNode {
|
|
758
755
|
readonly $container: DirectedRelationExpr | Expressions | RelationExprWhere | RelationExprWith;
|
|
759
756
|
readonly $type: 'OutgoingRelationExpr';
|
|
757
|
+
dotKind?: RelationKindDotRef;
|
|
760
758
|
from: FqnExpr;
|
|
761
759
|
isBidirectional: boolean;
|
|
762
|
-
kind?: Reference<RelationshipKind>;
|
|
760
|
+
kind?: langium.Reference<RelationshipKind>;
|
|
763
761
|
}
|
|
764
762
|
export declare const OutgoingRelationExpr = "OutgoingRelationExpr";
|
|
765
763
|
export declare function isOutgoingRelationExpr(item: unknown): item is OutgoingRelationExpr;
|
|
766
|
-
export interface PaddingSizeProperty extends AstNode {
|
|
764
|
+
export interface PaddingSizeProperty extends langium.AstNode {
|
|
767
765
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
768
766
|
readonly $type: 'PaddingSizeProperty';
|
|
769
767
|
key: 'padding';
|
|
@@ -771,11 +769,12 @@ export interface PaddingSizeProperty extends AstNode {
|
|
|
771
769
|
}
|
|
772
770
|
export declare const PaddingSizeProperty = "PaddingSizeProperty";
|
|
773
771
|
export declare function isPaddingSizeProperty(item: unknown): item is PaddingSizeProperty;
|
|
774
|
-
export interface Relation extends AstNode {
|
|
772
|
+
export interface Relation extends langium.AstNode {
|
|
775
773
|
readonly $container: ElementBody | ExtendElementBody | Model;
|
|
776
774
|
readonly $type: 'Relation';
|
|
777
775
|
body?: RelationBody;
|
|
778
|
-
|
|
776
|
+
dotKind?: RelationKindDotRef;
|
|
777
|
+
kind?: langium.Reference<RelationshipKind>;
|
|
779
778
|
source?: FqnRef;
|
|
780
779
|
tags?: Tags;
|
|
781
780
|
target: FqnRef;
|
|
@@ -784,7 +783,7 @@ export interface Relation extends AstNode {
|
|
|
784
783
|
}
|
|
785
784
|
export declare const Relation = "Relation";
|
|
786
785
|
export declare function isRelation(item: unknown): item is Relation;
|
|
787
|
-
export interface RelationBody extends AstNode {
|
|
786
|
+
export interface RelationBody extends langium.AstNode {
|
|
788
787
|
readonly $container: Relation;
|
|
789
788
|
readonly $type: 'RelationBody';
|
|
790
789
|
props: Array<RelationProperty>;
|
|
@@ -792,7 +791,7 @@ export interface RelationBody extends AstNode {
|
|
|
792
791
|
}
|
|
793
792
|
export declare const RelationBody = "RelationBody";
|
|
794
793
|
export declare function isRelationBody(item: unknown): item is RelationBody;
|
|
795
|
-
export interface RelationExprWhere extends AstNode {
|
|
794
|
+
export interface RelationExprWhere extends langium.AstNode {
|
|
796
795
|
readonly $container: Expressions | RelationExprWith;
|
|
797
796
|
readonly $type: 'RelationExprWhere';
|
|
798
797
|
subject: RelationExpr;
|
|
@@ -800,7 +799,7 @@ export interface RelationExprWhere extends AstNode {
|
|
|
800
799
|
}
|
|
801
800
|
export declare const RelationExprWhere = "RelationExprWhere";
|
|
802
801
|
export declare function isRelationExprWhere(item: unknown): item is RelationExprWhere;
|
|
803
|
-
export interface RelationExprWith extends AstNode {
|
|
802
|
+
export interface RelationExprWith extends langium.AstNode {
|
|
804
803
|
readonly $container: Expressions;
|
|
805
804
|
readonly $type: 'RelationExprWith';
|
|
806
805
|
custom?: CustomRelationProperties;
|
|
@@ -808,7 +807,14 @@ export interface RelationExprWith extends AstNode {
|
|
|
808
807
|
}
|
|
809
808
|
export declare const RelationExprWith = "RelationExprWith";
|
|
810
809
|
export declare function isRelationExprWith(item: unknown): item is RelationExprWith;
|
|
811
|
-
export interface
|
|
810
|
+
export interface RelationKindDotRef extends langium.AstNode {
|
|
811
|
+
readonly $container: DeploymentRelation | DynamicViewStep | OutgoingRelationExpr | Relation;
|
|
812
|
+
readonly $type: 'RelationKindDotRef';
|
|
813
|
+
kind: langium.Reference<RelationshipKind>;
|
|
814
|
+
}
|
|
815
|
+
export declare const RelationKindDotRef = "RelationKindDotRef";
|
|
816
|
+
export declare function isRelationKindDotRef(item: unknown): item is RelationKindDotRef;
|
|
817
|
+
export interface RelationNavigateToProperty extends langium.AstNode {
|
|
812
818
|
readonly $container: CustomRelationProperties | DeploymentRelationBody | RelationBody;
|
|
813
819
|
readonly $type: 'RelationNavigateToProperty';
|
|
814
820
|
key: 'navigateTo';
|
|
@@ -816,14 +822,14 @@ export interface RelationNavigateToProperty extends AstNode {
|
|
|
816
822
|
}
|
|
817
823
|
export declare const RelationNavigateToProperty = "RelationNavigateToProperty";
|
|
818
824
|
export declare function isRelationNavigateToProperty(item: unknown): item is RelationNavigateToProperty;
|
|
819
|
-
export interface RelationshipKind extends AstNode {
|
|
825
|
+
export interface RelationshipKind extends langium.AstNode {
|
|
820
826
|
readonly $container: SpecificationRelationshipKind;
|
|
821
827
|
readonly $type: 'RelationshipKind';
|
|
822
828
|
name: Id;
|
|
823
829
|
}
|
|
824
830
|
export declare const RelationshipKind = "RelationshipKind";
|
|
825
831
|
export declare function isRelationshipKind(item: unknown): item is RelationshipKind;
|
|
826
|
-
export interface RelationStringProperty extends AstNode {
|
|
832
|
+
export interface RelationStringProperty extends langium.AstNode {
|
|
827
833
|
readonly $container: CustomRelationProperties | DeploymentRelationBody | RelationBody;
|
|
828
834
|
readonly $type: 'RelationStringProperty';
|
|
829
835
|
key: 'description' | 'technology' | 'title';
|
|
@@ -831,7 +837,7 @@ export interface RelationStringProperty extends AstNode {
|
|
|
831
837
|
}
|
|
832
838
|
export declare const RelationStringProperty = "RelationStringProperty";
|
|
833
839
|
export declare function isRelationStringProperty(item: unknown): item is RelationStringProperty;
|
|
834
|
-
export interface RelationStyleProperty extends AstNode {
|
|
840
|
+
export interface RelationStyleProperty extends langium.AstNode {
|
|
835
841
|
readonly $container: DeploymentRelationBody | RelationBody;
|
|
836
842
|
readonly $type: 'RelationStyleProperty';
|
|
837
843
|
key: 'style';
|
|
@@ -839,7 +845,7 @@ export interface RelationStyleProperty extends AstNode {
|
|
|
839
845
|
}
|
|
840
846
|
export declare const RelationStyleProperty = "RelationStyleProperty";
|
|
841
847
|
export declare function isRelationStyleProperty(item: unknown): item is RelationStyleProperty;
|
|
842
|
-
export interface ShapeProperty extends AstNode {
|
|
848
|
+
export interface ShapeProperty extends langium.AstNode {
|
|
843
849
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
844
850
|
readonly $type: 'ShapeProperty';
|
|
845
851
|
key: 'shape';
|
|
@@ -847,7 +853,7 @@ export interface ShapeProperty extends AstNode {
|
|
|
847
853
|
}
|
|
848
854
|
export declare const ShapeProperty = "ShapeProperty";
|
|
849
855
|
export declare function isShapeProperty(item: unknown): item is ShapeProperty;
|
|
850
|
-
export interface ShapeSizeProperty extends AstNode {
|
|
856
|
+
export interface ShapeSizeProperty extends langium.AstNode {
|
|
851
857
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
852
858
|
readonly $type: 'ShapeSizeProperty';
|
|
853
859
|
key: 'size';
|
|
@@ -855,7 +861,7 @@ export interface ShapeSizeProperty extends AstNode {
|
|
|
855
861
|
}
|
|
856
862
|
export declare const ShapeSizeProperty = "ShapeSizeProperty";
|
|
857
863
|
export declare function isShapeSizeProperty(item: unknown): item is ShapeSizeProperty;
|
|
858
|
-
export interface SpecificationColor extends AstNode {
|
|
864
|
+
export interface SpecificationColor extends langium.AstNode {
|
|
859
865
|
readonly $container: SpecificationRule;
|
|
860
866
|
readonly $type: 'SpecificationColor';
|
|
861
867
|
color: CustomColorValue;
|
|
@@ -863,23 +869,25 @@ export interface SpecificationColor extends AstNode {
|
|
|
863
869
|
}
|
|
864
870
|
export declare const SpecificationColor = "SpecificationColor";
|
|
865
871
|
export declare function isSpecificationColor(item: unknown): item is SpecificationColor;
|
|
866
|
-
export interface SpecificationDeploymentNodeKind extends AstNode {
|
|
872
|
+
export interface SpecificationDeploymentNodeKind extends langium.AstNode {
|
|
867
873
|
readonly $container: SpecificationRule;
|
|
868
874
|
readonly $type: 'SpecificationDeploymentNodeKind';
|
|
869
875
|
kind: DeploymentNodeKind;
|
|
870
876
|
props: Array<ElementStyleProperty | SpecificationElementStringProperty>;
|
|
877
|
+
tags?: Tags;
|
|
871
878
|
}
|
|
872
879
|
export declare const SpecificationDeploymentNodeKind = "SpecificationDeploymentNodeKind";
|
|
873
880
|
export declare function isSpecificationDeploymentNodeKind(item: unknown): item is SpecificationDeploymentNodeKind;
|
|
874
|
-
export interface SpecificationElementKind extends AstNode {
|
|
881
|
+
export interface SpecificationElementKind extends langium.AstNode {
|
|
875
882
|
readonly $container: SpecificationRule;
|
|
876
883
|
readonly $type: 'SpecificationElementKind';
|
|
877
884
|
kind: ElementKind;
|
|
878
885
|
props: Array<ElementStyleProperty | SpecificationElementStringProperty>;
|
|
886
|
+
tags?: Tags;
|
|
879
887
|
}
|
|
880
888
|
export declare const SpecificationElementKind = "SpecificationElementKind";
|
|
881
889
|
export declare function isSpecificationElementKind(item: unknown): item is SpecificationElementKind;
|
|
882
|
-
export interface SpecificationElementStringProperty extends AstNode {
|
|
890
|
+
export interface SpecificationElementStringProperty extends langium.AstNode {
|
|
883
891
|
readonly $container: SpecificationDeploymentNodeKind | SpecificationElementKind;
|
|
884
892
|
readonly $type: 'SpecificationElementStringProperty';
|
|
885
893
|
key: 'notation' | 'technology';
|
|
@@ -887,7 +895,7 @@ export interface SpecificationElementStringProperty extends AstNode {
|
|
|
887
895
|
}
|
|
888
896
|
export declare const SpecificationElementStringProperty = "SpecificationElementStringProperty";
|
|
889
897
|
export declare function isSpecificationElementStringProperty(item: unknown): item is SpecificationElementStringProperty;
|
|
890
|
-
export interface SpecificationRelationshipKind extends AstNode {
|
|
898
|
+
export interface SpecificationRelationshipKind extends langium.AstNode {
|
|
891
899
|
readonly $container: SpecificationRule;
|
|
892
900
|
readonly $type: 'SpecificationRelationshipKind';
|
|
893
901
|
kind: RelationshipKind;
|
|
@@ -895,7 +903,7 @@ export interface SpecificationRelationshipKind extends AstNode {
|
|
|
895
903
|
}
|
|
896
904
|
export declare const SpecificationRelationshipKind = "SpecificationRelationshipKind";
|
|
897
905
|
export declare function isSpecificationRelationshipKind(item: unknown): item is SpecificationRelationshipKind;
|
|
898
|
-
export interface SpecificationRelationshipStringProperty extends AstNode {
|
|
906
|
+
export interface SpecificationRelationshipStringProperty extends langium.AstNode {
|
|
899
907
|
readonly $container: SpecificationRelationshipKind;
|
|
900
908
|
readonly $type: 'SpecificationRelationshipStringProperty';
|
|
901
909
|
key: 'notation' | 'technology';
|
|
@@ -903,7 +911,7 @@ export interface SpecificationRelationshipStringProperty extends AstNode {
|
|
|
903
911
|
}
|
|
904
912
|
export declare const SpecificationRelationshipStringProperty = "SpecificationRelationshipStringProperty";
|
|
905
913
|
export declare function isSpecificationRelationshipStringProperty(item: unknown): item is SpecificationRelationshipStringProperty;
|
|
906
|
-
export interface SpecificationRule extends AstNode {
|
|
914
|
+
export interface SpecificationRule extends langium.AstNode {
|
|
907
915
|
readonly $container: LikeC4Grammar;
|
|
908
916
|
readonly $type: 'SpecificationRule';
|
|
909
917
|
colors: Array<SpecificationColor>;
|
|
@@ -915,45 +923,53 @@ export interface SpecificationRule extends AstNode {
|
|
|
915
923
|
}
|
|
916
924
|
export declare const SpecificationRule = "SpecificationRule";
|
|
917
925
|
export declare function isSpecificationRule(item: unknown): item is SpecificationRule;
|
|
918
|
-
export interface SpecificationTag extends AstNode {
|
|
926
|
+
export interface SpecificationTag extends langium.AstNode {
|
|
919
927
|
readonly $container: SpecificationRule;
|
|
920
928
|
readonly $type: 'SpecificationTag';
|
|
929
|
+
color?: CustomColorValue;
|
|
921
930
|
tag: Tag;
|
|
922
931
|
}
|
|
923
932
|
export declare const SpecificationTag = "SpecificationTag";
|
|
924
933
|
export declare function isSpecificationTag(item: unknown): item is SpecificationTag;
|
|
925
|
-
export interface StrictFqnElementRef extends AstNode {
|
|
934
|
+
export interface StrictFqnElementRef extends langium.AstNode {
|
|
926
935
|
readonly $container: ExtendElement | StrictFqnElementRef;
|
|
927
936
|
readonly $type: 'StrictFqnElementRef';
|
|
928
|
-
el: Reference<Element>;
|
|
937
|
+
el: langium.Reference<Element>;
|
|
929
938
|
parent?: StrictFqnElementRef;
|
|
930
939
|
}
|
|
931
940
|
export declare const StrictFqnElementRef = "StrictFqnElementRef";
|
|
932
941
|
export declare function isStrictFqnElementRef(item: unknown): item is StrictFqnElementRef;
|
|
933
|
-
export interface StrictFqnRef extends AstNode {
|
|
942
|
+
export interface StrictFqnRef extends langium.AstNode {
|
|
934
943
|
readonly $container: ExtendDeployment | StrictFqnRef;
|
|
935
944
|
readonly $type: 'StrictFqnRef';
|
|
936
945
|
parent?: StrictFqnRef;
|
|
937
|
-
value: Reference<Referenceable>;
|
|
946
|
+
value: langium.Reference<Referenceable>;
|
|
938
947
|
}
|
|
939
948
|
export declare const StrictFqnRef = "StrictFqnRef";
|
|
940
949
|
export declare function isStrictFqnRef(item: unknown): item is StrictFqnRef;
|
|
941
|
-
export interface Tag extends AstNode {
|
|
950
|
+
export interface Tag extends langium.AstNode {
|
|
942
951
|
readonly $container: SpecificationTag;
|
|
943
952
|
readonly $type: 'Tag';
|
|
944
953
|
name: Id;
|
|
945
954
|
}
|
|
946
955
|
export declare const Tag = "Tag";
|
|
947
956
|
export declare function isTag(item: unknown): item is Tag;
|
|
948
|
-
export interface
|
|
949
|
-
readonly $container:
|
|
957
|
+
export interface TagRef extends langium.AstNode {
|
|
958
|
+
readonly $container: ElementTagExpression | Tags | WhereElementTag | WhereRelationParticipantTag | WhereRelationTag;
|
|
959
|
+
readonly $type: 'TagRef';
|
|
960
|
+
tag: langium.Reference<Tag>;
|
|
961
|
+
}
|
|
962
|
+
export declare const TagRef = "TagRef";
|
|
963
|
+
export declare function isTagRef(item: unknown): item is TagRef;
|
|
964
|
+
export interface Tags extends langium.AstNode {
|
|
965
|
+
readonly $container: DeployedInstanceBody | DeploymentNodeBody | DeploymentRelation | DeploymentRelationBody | DeploymentViewBody | DynamicViewBody | ElementBody | ElementViewBody | ExtendDeploymentBody | ExtendElementBody | Relation | RelationBody | SpecificationDeploymentNodeKind | SpecificationElementKind | Tags;
|
|
950
966
|
readonly $type: 'Tags';
|
|
951
967
|
prev?: Tags;
|
|
952
|
-
values: Array<
|
|
968
|
+
values: Array<TagRef>;
|
|
953
969
|
}
|
|
954
970
|
export declare const Tags = "Tags";
|
|
955
971
|
export declare function isTags(item: unknown): item is Tags;
|
|
956
|
-
export interface TextSizeProperty extends AstNode {
|
|
972
|
+
export interface TextSizeProperty extends langium.AstNode {
|
|
957
973
|
readonly $container: CustomElementProperties | DeploymentViewRuleStyle | ElementStyleProperty | GlobalStyle | ViewRuleStyle;
|
|
958
974
|
readonly $type: 'TextSizeProperty';
|
|
959
975
|
key: 'textSize';
|
|
@@ -961,14 +977,14 @@ export interface TextSizeProperty extends AstNode {
|
|
|
961
977
|
}
|
|
962
978
|
export declare const TextSizeProperty = "TextSizeProperty";
|
|
963
979
|
export declare function isTextSizeProperty(item: unknown): item is TextSizeProperty;
|
|
964
|
-
export interface ViewRef extends AstNode {
|
|
980
|
+
export interface ViewRef extends langium.AstNode {
|
|
965
981
|
readonly $container: NavigateToProperty;
|
|
966
982
|
readonly $type: 'ViewRef';
|
|
967
|
-
view: Reference<LikeC4View>;
|
|
983
|
+
view: langium.Reference<LikeC4View>;
|
|
968
984
|
}
|
|
969
985
|
export declare const ViewRef = "ViewRef";
|
|
970
986
|
export declare function isViewRef(item: unknown): item is ViewRef;
|
|
971
|
-
export interface ViewRuleAutoLayout extends AstNode {
|
|
987
|
+
export interface ViewRuleAutoLayout extends langium.AstNode {
|
|
972
988
|
readonly $container: DeploymentViewBody | DynamicViewBody | ElementViewBody;
|
|
973
989
|
readonly $type: 'ViewRuleAutoLayout';
|
|
974
990
|
direction: ViewLayoutDirection;
|
|
@@ -977,21 +993,21 @@ export interface ViewRuleAutoLayout extends AstNode {
|
|
|
977
993
|
}
|
|
978
994
|
export declare const ViewRuleAutoLayout = "ViewRuleAutoLayout";
|
|
979
995
|
export declare function isViewRuleAutoLayout(item: unknown): item is ViewRuleAutoLayout;
|
|
980
|
-
export interface ViewRuleGlobalPredicateRef extends AstNode {
|
|
996
|
+
export interface ViewRuleGlobalPredicateRef extends langium.AstNode {
|
|
981
997
|
readonly $container: ElementViewBody;
|
|
982
998
|
readonly $type: 'ViewRuleGlobalPredicateRef';
|
|
983
|
-
predicate: Reference<GlobalPredicateGroup>;
|
|
999
|
+
predicate: langium.Reference<GlobalPredicateGroup>;
|
|
984
1000
|
}
|
|
985
1001
|
export declare const ViewRuleGlobalPredicateRef = "ViewRuleGlobalPredicateRef";
|
|
986
1002
|
export declare function isViewRuleGlobalPredicateRef(item: unknown): item is ViewRuleGlobalPredicateRef;
|
|
987
|
-
export interface ViewRuleGlobalStyle extends AstNode {
|
|
1003
|
+
export interface ViewRuleGlobalStyle extends langium.AstNode {
|
|
988
1004
|
readonly $container: DynamicViewBody | ElementViewBody | ModelViews;
|
|
989
1005
|
readonly $type: 'ViewRuleGlobalStyle';
|
|
990
|
-
style: Reference<GlobalStyleId>;
|
|
1006
|
+
style: langium.Reference<GlobalStyleId>;
|
|
991
1007
|
}
|
|
992
1008
|
export declare const ViewRuleGlobalStyle = "ViewRuleGlobalStyle";
|
|
993
1009
|
export declare function isViewRuleGlobalStyle(item: unknown): item is ViewRuleGlobalStyle;
|
|
994
|
-
export interface ViewRuleGroup extends AstNode {
|
|
1010
|
+
export interface ViewRuleGroup extends langium.AstNode {
|
|
995
1011
|
readonly $container: ElementViewBody | ViewRuleGroup;
|
|
996
1012
|
readonly $type: 'ViewRuleGroup';
|
|
997
1013
|
groupRules: Array<ViewRuleGroup | ViewRulePredicate>;
|
|
@@ -1000,7 +1016,7 @@ export interface ViewRuleGroup extends AstNode {
|
|
|
1000
1016
|
}
|
|
1001
1017
|
export declare const ViewRuleGroup = "ViewRuleGroup";
|
|
1002
1018
|
export declare function isViewRuleGroup(item: unknown): item is ViewRuleGroup;
|
|
1003
|
-
export interface ViewRulePredicate extends AstNode {
|
|
1019
|
+
export interface ViewRulePredicate extends langium.AstNode {
|
|
1004
1020
|
readonly $container: ElementViewBody | GlobalPredicateGroup | ViewRuleGroup;
|
|
1005
1021
|
readonly $type: 'ViewRulePredicate';
|
|
1006
1022
|
exprs: Expressions;
|
|
@@ -1008,7 +1024,7 @@ export interface ViewRulePredicate extends AstNode {
|
|
|
1008
1024
|
}
|
|
1009
1025
|
export declare const ViewRulePredicate = "ViewRulePredicate";
|
|
1010
1026
|
export declare function isViewRulePredicate(item: unknown): item is ViewRulePredicate;
|
|
1011
|
-
export interface ViewRuleStyle extends AstNode {
|
|
1027
|
+
export interface ViewRuleStyle extends langium.AstNode {
|
|
1012
1028
|
readonly $container: DynamicViewBody | ElementViewBody | GlobalStyleGroup | ModelViews;
|
|
1013
1029
|
readonly $type: 'ViewRuleStyle';
|
|
1014
1030
|
props: Array<NotationProperty | StyleProperty>;
|
|
@@ -1016,7 +1032,7 @@ export interface ViewRuleStyle extends AstNode {
|
|
|
1016
1032
|
}
|
|
1017
1033
|
export declare const ViewRuleStyle = "ViewRuleStyle";
|
|
1018
1034
|
export declare function isViewRuleStyle(item: unknown): item is ViewRuleStyle;
|
|
1019
|
-
export interface ViewStringProperty extends AstNode {
|
|
1035
|
+
export interface ViewStringProperty extends langium.AstNode {
|
|
1020
1036
|
readonly $container: DeploymentViewBody | DynamicViewBody | ElementViewBody;
|
|
1021
1037
|
readonly $type: 'ViewStringProperty';
|
|
1022
1038
|
key: 'description' | 'title';
|
|
@@ -1024,7 +1040,7 @@ export interface ViewStringProperty extends AstNode {
|
|
|
1024
1040
|
}
|
|
1025
1041
|
export declare const ViewStringProperty = "ViewStringProperty";
|
|
1026
1042
|
export declare function isViewStringProperty(item: unknown): item is ViewStringProperty;
|
|
1027
|
-
export interface WhereBinaryExpression extends AstNode {
|
|
1043
|
+
export interface WhereBinaryExpression extends langium.AstNode {
|
|
1028
1044
|
readonly $container: FqnExprWhere | RelationExprWhere | WhereBinaryExpression | WhereElementNegation | WhereRelationNegation;
|
|
1029
1045
|
readonly $type: 'WhereBinaryExpression';
|
|
1030
1046
|
left: WhereElementExpression | WhereRelationExpression;
|
|
@@ -1033,77 +1049,77 @@ export interface WhereBinaryExpression extends AstNode {
|
|
|
1033
1049
|
}
|
|
1034
1050
|
export declare const WhereBinaryExpression = "WhereBinaryExpression";
|
|
1035
1051
|
export declare function isWhereBinaryExpression(item: unknown): item is WhereBinaryExpression;
|
|
1036
|
-
export interface WhereElementKind extends AstNode {
|
|
1052
|
+
export interface WhereElementKind extends langium.AstNode {
|
|
1037
1053
|
readonly $container: FqnExprWhere | WhereBinaryExpression | WhereElementNegation;
|
|
1038
1054
|
readonly $type: 'WhereElementKind';
|
|
1039
1055
|
not: boolean;
|
|
1040
1056
|
operator: 'is' | string;
|
|
1041
|
-
value
|
|
1057
|
+
value: langium.Reference<DeploymentNodeOrElementKind>;
|
|
1042
1058
|
}
|
|
1043
1059
|
export declare const WhereElementKind = "WhereElementKind";
|
|
1044
1060
|
export declare function isWhereElementKind(item: unknown): item is WhereElementKind;
|
|
1045
|
-
export interface WhereElementNegation extends AstNode {
|
|
1061
|
+
export interface WhereElementNegation extends langium.AstNode {
|
|
1046
1062
|
readonly $container: FqnExprWhere | WhereBinaryExpression | WhereElementNegation;
|
|
1047
1063
|
readonly $type: 'WhereElementNegation';
|
|
1048
1064
|
value: WhereElementExpression;
|
|
1049
1065
|
}
|
|
1050
1066
|
export declare const WhereElementNegation = "WhereElementNegation";
|
|
1051
1067
|
export declare function isWhereElementNegation(item: unknown): item is WhereElementNegation;
|
|
1052
|
-
export interface WhereElementTag extends AstNode {
|
|
1068
|
+
export interface WhereElementTag extends langium.AstNode {
|
|
1053
1069
|
readonly $container: FqnExprWhere | WhereBinaryExpression | WhereElementNegation;
|
|
1054
1070
|
readonly $type: 'WhereElementTag';
|
|
1055
1071
|
not: boolean;
|
|
1056
1072
|
operator: 'is' | string;
|
|
1057
|
-
value
|
|
1073
|
+
value: TagRef;
|
|
1058
1074
|
}
|
|
1059
1075
|
export declare const WhereElementTag = "WhereElementTag";
|
|
1060
1076
|
export declare function isWhereElementTag(item: unknown): item is WhereElementTag;
|
|
1061
|
-
export interface WhereRelationKind extends AstNode {
|
|
1077
|
+
export interface WhereRelationKind extends langium.AstNode {
|
|
1062
1078
|
readonly $container: RelationExprWhere | WhereBinaryExpression | WhereRelationNegation;
|
|
1063
1079
|
readonly $type: 'WhereRelationKind';
|
|
1064
1080
|
not: boolean;
|
|
1065
1081
|
operator: 'is' | string;
|
|
1066
|
-
value
|
|
1082
|
+
value: langium.Reference<RelationshipKind>;
|
|
1067
1083
|
}
|
|
1068
1084
|
export declare const WhereRelationKind = "WhereRelationKind";
|
|
1069
1085
|
export declare function isWhereRelationKind(item: unknown): item is WhereRelationKind;
|
|
1070
|
-
export interface WhereRelationNegation extends AstNode {
|
|
1086
|
+
export interface WhereRelationNegation extends langium.AstNode {
|
|
1071
1087
|
readonly $container: RelationExprWhere | WhereBinaryExpression | WhereRelationNegation;
|
|
1072
1088
|
readonly $type: 'WhereRelationNegation';
|
|
1073
1089
|
value: WhereRelationExpression;
|
|
1074
1090
|
}
|
|
1075
1091
|
export declare const WhereRelationNegation = "WhereRelationNegation";
|
|
1076
1092
|
export declare function isWhereRelationNegation(item: unknown): item is WhereRelationNegation;
|
|
1077
|
-
export interface WhereRelationParticipantKind extends AstNode {
|
|
1093
|
+
export interface WhereRelationParticipantKind extends langium.AstNode {
|
|
1078
1094
|
readonly $container: RelationExprWhere | WhereBinaryExpression | WhereRelationNegation;
|
|
1079
1095
|
readonly $type: 'WhereRelationParticipantKind';
|
|
1080
1096
|
not: boolean;
|
|
1081
1097
|
operator: 'is' | string;
|
|
1082
1098
|
participant: Participant;
|
|
1083
|
-
value
|
|
1099
|
+
value: langium.Reference<DeploymentNodeOrElementKind>;
|
|
1084
1100
|
}
|
|
1085
1101
|
export declare const WhereRelationParticipantKind = "WhereRelationParticipantKind";
|
|
1086
1102
|
export declare function isWhereRelationParticipantKind(item: unknown): item is WhereRelationParticipantKind;
|
|
1087
|
-
export interface WhereRelationParticipantTag extends AstNode {
|
|
1103
|
+
export interface WhereRelationParticipantTag extends langium.AstNode {
|
|
1088
1104
|
readonly $container: RelationExprWhere | WhereBinaryExpression | WhereRelationNegation;
|
|
1089
1105
|
readonly $type: 'WhereRelationParticipantTag';
|
|
1090
1106
|
not: boolean;
|
|
1091
1107
|
operator: 'is' | string;
|
|
1092
1108
|
participant: Participant;
|
|
1093
|
-
value
|
|
1109
|
+
value: TagRef;
|
|
1094
1110
|
}
|
|
1095
1111
|
export declare const WhereRelationParticipantTag = "WhereRelationParticipantTag";
|
|
1096
1112
|
export declare function isWhereRelationParticipantTag(item: unknown): item is WhereRelationParticipantTag;
|
|
1097
|
-
export interface WhereRelationTag extends AstNode {
|
|
1113
|
+
export interface WhereRelationTag extends langium.AstNode {
|
|
1098
1114
|
readonly $container: RelationExprWhere | WhereBinaryExpression | WhereRelationNegation;
|
|
1099
1115
|
readonly $type: 'WhereRelationTag';
|
|
1100
1116
|
not: boolean;
|
|
1101
1117
|
operator: 'is' | string;
|
|
1102
|
-
value
|
|
1118
|
+
value: TagRef;
|
|
1103
1119
|
}
|
|
1104
1120
|
export declare const WhereRelationTag = "WhereRelationTag";
|
|
1105
1121
|
export declare function isWhereRelationTag(item: unknown): item is WhereRelationTag;
|
|
1106
|
-
export interface WildcardExpression extends AstNode {
|
|
1122
|
+
export interface WildcardExpression extends langium.AstNode {
|
|
1107
1123
|
readonly $container: DirectedRelationExpr | Expressions | FqnExprWhere | FqnExprWith | FqnExpressions | IncomingRelationExpr | OutgoingRelationExpr;
|
|
1108
1124
|
readonly $type: 'WildcardExpression';
|
|
1109
1125
|
isWildcard: boolean;
|
|
@@ -1207,6 +1223,7 @@ export type LikeC4AstType = {
|
|
|
1207
1223
|
RelationExprOrWith: RelationExprOrWith;
|
|
1208
1224
|
RelationExprWhere: RelationExprWhere;
|
|
1209
1225
|
RelationExprWith: RelationExprWith;
|
|
1226
|
+
RelationKindDotRef: RelationKindDotRef;
|
|
1210
1227
|
RelationNavigateToProperty: RelationNavigateToProperty;
|
|
1211
1228
|
RelationProperty: RelationProperty;
|
|
1212
1229
|
RelationStringProperty: RelationStringProperty;
|
|
@@ -1229,6 +1246,7 @@ export type LikeC4AstType = {
|
|
|
1229
1246
|
StringProperty: StringProperty;
|
|
1230
1247
|
StyleProperty: StyleProperty;
|
|
1231
1248
|
Tag: Tag;
|
|
1249
|
+
TagRef: TagRef;
|
|
1232
1250
|
Tags: Tags;
|
|
1233
1251
|
TextSizeProperty: TextSizeProperty;
|
|
1234
1252
|
ViewProperty: ViewProperty;
|
|
@@ -1260,10 +1278,10 @@ export type LikeC4AstType = {
|
|
|
1260
1278
|
WhereTagEqual: WhereTagEqual;
|
|
1261
1279
|
WildcardExpression: WildcardExpression;
|
|
1262
1280
|
};
|
|
1263
|
-
export declare class LikeC4AstReflection extends AbstractAstReflection {
|
|
1281
|
+
export declare class LikeC4AstReflection extends langium.AbstractAstReflection {
|
|
1264
1282
|
getAllTypes(): string[];
|
|
1265
1283
|
protected computeIsSubtype(subtype: string, supertype: string): boolean;
|
|
1266
|
-
getReferenceType(refInfo: ReferenceInfo): string;
|
|
1267
|
-
getTypeMetaData(type: string): TypeMetaData;
|
|
1284
|
+
getReferenceType(refInfo: langium.ReferenceInfo): string;
|
|
1285
|
+
getTypeMetaData(type: string): langium.TypeMetaData;
|
|
1268
1286
|
}
|
|
1269
1287
|
export declare const reflection: LikeC4AstReflection;
|