@memoarchitect/tools 0.4.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
- package/packages/tools/lib/bin/memo.js +1 -1
- package/packages/tools/lib/browser/index.d.ts +2 -0
- package/packages/tools/lib/browser/index.d.ts.map +1 -1
- package/packages/tools/lib/browser/index.js +2 -0
- package/packages/tools/lib/browser/index.js.map +1 -1
- package/packages/tools/lib/commands/create-package.js +1 -1
- package/packages/tools/lib/commands/dev.d.ts.map +1 -1
- package/packages/tools/lib/commands/dev.js +40 -5
- package/packages/tools/lib/commands/dev.js.map +1 -1
- package/packages/tools/lib/commands/install.js +1 -1
- package/packages/tools/lib/commands/ontology.js +1 -1
- package/packages/tools/lib/commands/ontology.js.map +1 -1
- package/packages/tools/lib/dhf/document-registry.js +5 -5
- package/packages/tools/lib/dhf/document-registry.js.map +1 -1
- package/packages/tools/lib/dhf/template-engine.js +3 -3
- package/packages/tools/lib/dhf/template-engine.js.map +1 -1
- package/packages/tools/lib/importer/cameo-importer.d.ts.map +1 -1
- package/packages/tools/lib/importer/cameo-importer.js +5 -2
- package/packages/tools/lib/importer/cameo-importer.js.map +1 -1
- package/packages/tools/lib/importer/ea-importer.d.ts +1 -1
- package/packages/tools/lib/importer/ea-importer.d.ts.map +1 -1
- package/packages/tools/lib/importer/ea-importer.js +6 -4
- package/packages/tools/lib/importer/ea-importer.js.map +1 -1
- package/packages/tools/lib/index.d.ts +2 -0
- package/packages/tools/lib/index.d.ts.map +1 -1
- package/packages/tools/lib/index.js +2 -0
- package/packages/tools/lib/index.js.map +1 -1
- package/packages/tools/lib/language/generated/ast.d.ts +409 -42
- package/packages/tools/lib/language/generated/ast.d.ts.map +1 -1
- package/packages/tools/lib/language/generated/ast.js +318 -12
- package/packages/tools/lib/language/generated/ast.js.map +1 -1
- package/packages/tools/lib/language/generated/grammar.d.ts.map +1 -1
- package/packages/tools/lib/language/generated/grammar.js +1732 -513
- package/packages/tools/lib/language/generated/grammar.js.map +1 -1
- package/packages/tools/lib/model/builder.d.ts.map +1 -1
- package/packages/tools/lib/model/builder.js +38 -14
- package/packages/tools/lib/model/builder.js.map +1 -1
- package/packages/tools/lib/model/config.d.ts +11 -1
- package/packages/tools/lib/model/config.d.ts.map +1 -1
- package/packages/tools/lib/model/kind-registry.d.ts +9 -0
- package/packages/tools/lib/model/kind-registry.d.ts.map +1 -1
- package/packages/tools/lib/model/kind-registry.js +26 -3
- package/packages/tools/lib/model/kind-registry.js.map +1 -1
- package/packages/tools/lib/model/layer-resolver.d.ts.map +1 -1
- package/packages/tools/lib/model/layer-resolver.js +15 -0
- package/packages/tools/lib/model/layer-resolver.js.map +1 -1
- package/packages/tools/lib/model/ontology-loader.d.ts +2 -0
- package/packages/tools/lib/model/ontology-loader.d.ts.map +1 -1
- package/packages/tools/lib/model/ontology-loader.js +92 -28
- package/packages/tools/lib/model/ontology-loader.js.map +1 -1
- package/packages/tools/lib/model/parser-utils.d.ts +9 -0
- package/packages/tools/lib/model/parser-utils.d.ts.map +1 -1
- package/packages/tools/lib/model/parser-utils.js +24 -0
- package/packages/tools/lib/model/parser-utils.js.map +1 -1
- package/packages/tools/lib/model/paths.d.ts +0 -2
- package/packages/tools/lib/model/paths.d.ts.map +1 -1
- package/packages/tools/lib/model/paths.js +0 -2
- package/packages/tools/lib/model/paths.js.map +1 -1
- package/packages/tools/lib/model/relationship-legality.d.ts +261 -0
- package/packages/tools/lib/model/relationship-legality.d.ts.map +1 -0
- package/packages/tools/lib/model/relationship-legality.js +391 -0
- package/packages/tools/lib/model/relationship-legality.js.map +1 -0
- package/packages/tools/lib/model/relationship-registry.d.ts +38 -4
- package/packages/tools/lib/model/relationship-registry.d.ts.map +1 -1
- package/packages/tools/lib/model/relationship-registry.js +109 -1
- package/packages/tools/lib/model/relationship-registry.js.map +1 -1
- package/packages/tools/lib/model/semantic.d.ts +42 -0
- package/packages/tools/lib/model/semantic.d.ts.map +1 -1
- package/packages/tools/lib/model/semantic.js +3 -0
- package/packages/tools/lib/model/semantic.js.map +1 -1
- package/packages/tools/lib/model/short-id.js +1 -1
- package/packages/tools/lib/model/short-id.js.map +1 -1
- package/packages/tools/lib/model/source-affinity.d.ts +21 -0
- package/packages/tools/lib/model/source-affinity.d.ts.map +1 -0
- package/packages/tools/lib/model/source-affinity.js +42 -0
- package/packages/tools/lib/model/source-affinity.js.map +1 -0
- package/packages/tools/lib/model/source-graph.d.ts +30 -0
- package/packages/tools/lib/model/source-graph.d.ts.map +1 -0
- package/packages/tools/lib/model/source-graph.js +154 -0
- package/packages/tools/lib/model/source-graph.js.map +1 -0
- package/packages/tools/lib/model/view-kinds.d.ts.map +1 -1
- package/packages/tools/lib/model/view-kinds.js +1 -0
- package/packages/tools/lib/model/view-kinds.js.map +1 -1
- package/packages/tools/lib/operations/project-snapshot.d.ts.map +1 -1
- package/packages/tools/lib/operations/project-snapshot.js +2 -15
- package/packages/tools/lib/operations/project-snapshot.js.map +1 -1
- package/packages/tools/lib/protocol/messages.d.ts +92 -8
- package/packages/tools/lib/protocol/messages.d.ts.map +1 -1
- package/packages/tools/lib/server/dev-server.d.ts +16 -0
- package/packages/tools/lib/server/dev-server.d.ts.map +1 -1
- package/packages/tools/lib/server/dev-server.js +190 -16
- package/packages/tools/lib/server/dev-server.js.map +1 -1
- package/packages/tools/lib/server/file-watcher.d.ts +21 -2
- package/packages/tools/lib/server/file-watcher.d.ts.map +1 -1
- package/packages/tools/lib/server/file-watcher.js +55 -23
- package/packages/tools/lib/server/file-watcher.js.map +1 -1
- package/packages/tools/lib/server/persistor.d.ts +0 -13
- package/packages/tools/lib/server/persistor.d.ts.map +1 -1
- package/packages/tools/lib/server/persistor.js +3 -31
- package/packages/tools/lib/server/persistor.js.map +1 -1
- package/packages/tools/lib/server/relationship-writer.d.ts +104 -0
- package/packages/tools/lib/server/relationship-writer.d.ts.map +1 -0
- package/packages/tools/lib/server/relationship-writer.js +402 -0
- package/packages/tools/lib/server/relationship-writer.js.map +1 -0
- package/packages/tools/lib/server/view-layout-store.d.ts +14 -1
- package/packages/tools/lib/server/view-layout-store.d.ts.map +1 -1
- package/packages/tools/lib/server/view-layout-store.js +63 -11
- package/packages/tools/lib/server/view-layout-store.js.map +1 -1
- package/packages/tools/src/grammar/memo-sysml.langium +102 -18
|
@@ -9,12 +9,13 @@ export declare const MemoSysMLTerminals: {
|
|
|
9
9
|
ML_COMMENT: RegExp;
|
|
10
10
|
DOC_COMMENT: RegExp;
|
|
11
11
|
ID: RegExp;
|
|
12
|
+
UNRESTRICTED_NAME: RegExp;
|
|
12
13
|
STRING: RegExp;
|
|
13
14
|
REAL: RegExp;
|
|
14
15
|
INT: RegExp;
|
|
15
16
|
};
|
|
16
17
|
export type MemoSysMLTerminalNames = keyof typeof MemoSysMLTerminals;
|
|
17
|
-
export type MemoSysMLKeywordNames = "!=" | "(" | ")" | "*" | "**" | "+" | "," | "-" | "->" | "." | ".." | "/" | ":" | "::" | "::>" | ":>" | ":>>" | ";" | "<" | "<=" | "=" | "==" | ">" | ">=" | "@" | "[" | "]" | "abstract" | "action" | "alias" | "allocate" | "and" | "assert" | "attribute" | "connect" | "connection" | "constraint" | "def" | "done" | "end" | "enum" | "expose" | "false" | "first" | "flow" | "for" | "fork" | "from" | "function" | "import" | "in" | "inout" | "interface" | "item" | "join" | "library" | "metadata" | "not" | "of" | "operator" | "or" | "out" | "package" | "part" | "port" | "private" | "public" | "redefines" | "ref" | "require" | "requirement" | "specializes" | "start" | "then" | "to" | "true" | "view" | "viewpoint" | "{" | "}" | "~";
|
|
18
|
+
export type MemoSysMLKeywordNames = "!=" | "(" | ")" | "*" | "**" | "+" | "," | "-" | "->" | "." | ".." | "/" | ":" | "::" | "::>" | ":>" | ":>>" | ";" | "<" | "<=" | "=" | "==" | ">" | ">=" | "@" | "[" | "]" | "abstract" | "action" | "alias" | "allocate" | "and" | "assert" | "attribute" | "case" | "connect" | "connection" | "constraint" | "def" | "done" | "end" | "enum" | "expose" | "false" | "first" | "flow" | "for" | "fork" | "from" | "function" | "import" | "in" | "inout" | "interface" | "item" | "join" | "library" | "metadata" | "not" | "of" | "operator" | "or" | "out" | "package" | "part" | "port" | "private" | "public" | "redefines" | "ref" | "require" | "requirement" | "specializes" | "start" | "state" | "then" | "to" | "true" | "use" | "verification" | "view" | "viewpoint" | "{" | "}" | "~";
|
|
18
19
|
export type MemoSysMLTokenNames = MemoSysMLTerminalNames | MemoSysMLKeywordNames;
|
|
19
20
|
export type ActionDefBodyMember = ActionParameterMember | DefinitionBodyMember;
|
|
20
21
|
export declare const ActionDefBodyMember: {
|
|
@@ -71,7 +72,7 @@ export declare const ActionUsage: {
|
|
|
71
72
|
readonly type: "type";
|
|
72
73
|
};
|
|
73
74
|
export declare function isActionUsage(item: unknown): item is ActionUsage;
|
|
74
|
-
export type ActionUsageBodyMember = ActionUsage | ControlNodeUsage |
|
|
75
|
+
export type ActionUsageBodyMember = ActionUsage | ControlNodeUsage | UsageBodyMember;
|
|
75
76
|
export declare const ActionUsageBodyMember: {
|
|
76
77
|
readonly $type: "ActionUsageBodyMember";
|
|
77
78
|
};
|
|
@@ -79,7 +80,7 @@ export declare function isActionUsageBodyMember(item: unknown): item is ActionUs
|
|
|
79
80
|
export interface AliasDeclaration extends langium.AstNode {
|
|
80
81
|
readonly $container: PackageDeclaration;
|
|
81
82
|
readonly $type: 'AliasDeclaration';
|
|
82
|
-
name:
|
|
83
|
+
name: AliasName;
|
|
83
84
|
target: QualifiedName;
|
|
84
85
|
}
|
|
85
86
|
export declare const AliasDeclaration: {
|
|
@@ -88,6 +89,8 @@ export declare const AliasDeclaration: {
|
|
|
88
89
|
readonly target: "target";
|
|
89
90
|
};
|
|
90
91
|
export declare function isAliasDeclaration(item: unknown): item is AliasDeclaration;
|
|
92
|
+
export type AliasName = 'verification' | string;
|
|
93
|
+
export declare function isAliasName(item: unknown): item is AliasName;
|
|
91
94
|
export interface AllocateUsage extends langium.AstNode {
|
|
92
95
|
readonly $container: PackageDeclaration;
|
|
93
96
|
readonly $type: 'AllocateUsage';
|
|
@@ -119,16 +122,18 @@ export declare const AttributeDefinition: {
|
|
|
119
122
|
};
|
|
120
123
|
export declare function isAttributeDefinition(item: unknown): item is AttributeDefinition;
|
|
121
124
|
export interface AttributeMember extends langium.AstNode {
|
|
122
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
125
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
123
126
|
readonly $type: 'AttributeMember';
|
|
127
|
+
body: Array<UsageBodyMember>;
|
|
124
128
|
multiplicity?: Multiplicity;
|
|
125
|
-
name:
|
|
129
|
+
name: MemberName;
|
|
126
130
|
redefines: boolean;
|
|
127
131
|
type?: QualifiedName;
|
|
128
132
|
value?: AttributeValue;
|
|
129
133
|
}
|
|
130
134
|
export declare const AttributeMember: {
|
|
131
135
|
readonly $type: "AttributeMember";
|
|
136
|
+
readonly body: "body";
|
|
132
137
|
readonly multiplicity: "multiplicity";
|
|
133
138
|
readonly name: "name";
|
|
134
139
|
readonly redefines: "redefines";
|
|
@@ -156,7 +161,7 @@ export declare const BinaryExpr: {
|
|
|
156
161
|
};
|
|
157
162
|
export declare function isBinaryExpr(item: unknown): item is BinaryExpr;
|
|
158
163
|
export interface BooleanValue extends langium.AstNode {
|
|
159
|
-
readonly $container: AttributeMember;
|
|
164
|
+
readonly $container: AttributeMember | RefMember;
|
|
160
165
|
readonly $type: 'BooleanValue';
|
|
161
166
|
value: 'false' | 'true';
|
|
162
167
|
}
|
|
@@ -215,14 +220,18 @@ export declare const ConnectionEnd: {
|
|
|
215
220
|
};
|
|
216
221
|
export declare function isConnectionEnd(item: unknown): item is ConnectionEnd;
|
|
217
222
|
export interface ConnectionUsage extends langium.AstNode {
|
|
218
|
-
readonly $container: PackageDeclaration;
|
|
223
|
+
readonly $container: ActionUsage | AttributeMember | ConnectionUsage | InterfaceUsage | ItemUsage | MetadataApplication | PackageDeclaration | PartMember | PartUsage | PortUsage | RequirementUsage | StateUsage | UseCaseDeclaration | VerificationUsage | ViewUsage;
|
|
219
224
|
readonly $type: 'ConnectionUsage';
|
|
225
|
+
body: Array<UsageBodyMember>;
|
|
226
|
+
name?: string;
|
|
220
227
|
source: ConnectionEnd;
|
|
221
228
|
target: ConnectionEnd;
|
|
222
229
|
type?: QualifiedName;
|
|
223
230
|
}
|
|
224
231
|
export declare const ConnectionUsage: {
|
|
225
232
|
readonly $type: "ConnectionUsage";
|
|
233
|
+
readonly body: "body";
|
|
234
|
+
readonly name: "name";
|
|
226
235
|
readonly source: "source";
|
|
227
236
|
readonly target: "target";
|
|
228
237
|
readonly type: "type";
|
|
@@ -263,18 +272,18 @@ export declare const ControlNodeUsage: {
|
|
|
263
272
|
readonly name: "name";
|
|
264
273
|
};
|
|
265
274
|
export declare function isControlNodeUsage(item: unknown): item is ControlNodeUsage;
|
|
266
|
-
export type DefinitionBodyMember = AttributeMember | DocComment | MetadataApplication | PartMember | PortUsage | RefMember | RequireConstraintMember | ViewUsage;
|
|
275
|
+
export type DefinitionBodyMember = AttributeMember | DocComment | ItemUsage | MetadataApplication | PartMember | PortUsage | RefMember | RequireConstraintMember | ViewUsage;
|
|
267
276
|
export declare const DefinitionBodyMember: {
|
|
268
277
|
readonly $type: "DefinitionBodyMember";
|
|
269
278
|
};
|
|
270
279
|
export declare function isDefinitionBodyMember(item: unknown): item is DefinitionBodyMember;
|
|
271
|
-
export type DefinitionMember = ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | EnumDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | ViewDefinition | ViewpointDefinition;
|
|
280
|
+
export type DefinitionMember = ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | EnumDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | StateDefinition | VerificationDefinition | ViewDefinition | ViewpointDefinition;
|
|
272
281
|
export declare const DefinitionMember: {
|
|
273
282
|
readonly $type: "DefinitionMember";
|
|
274
283
|
};
|
|
275
284
|
export declare function isDefinitionMember(item: unknown): item is DefinitionMember;
|
|
276
285
|
export interface DocComment extends langium.AstNode {
|
|
277
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
286
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
278
287
|
readonly $type: 'DocComment';
|
|
279
288
|
content: string;
|
|
280
289
|
}
|
|
@@ -286,14 +295,16 @@ export declare function isDocComment(item: unknown): item is DocComment;
|
|
|
286
295
|
export type DottedName = string;
|
|
287
296
|
export declare function isDottedName(item: unknown): item is DottedName;
|
|
288
297
|
export interface EndDeclaration extends langium.AstNode {
|
|
289
|
-
readonly $container: ConnectionDefinition;
|
|
298
|
+
readonly $container: ConnectionDefinition | InterfaceDefinition;
|
|
290
299
|
readonly $type: 'EndDeclaration';
|
|
300
|
+
isConjugated: boolean;
|
|
291
301
|
multiplicity?: Multiplicity;
|
|
292
302
|
name: FeatureName;
|
|
293
303
|
type?: QualifiedName;
|
|
294
304
|
}
|
|
295
305
|
export declare const EndDeclaration: {
|
|
296
306
|
readonly $type: "EndDeclaration";
|
|
307
|
+
readonly isConjugated: "isConjugated";
|
|
297
308
|
readonly multiplicity: "multiplicity";
|
|
298
309
|
readonly name: "name";
|
|
299
310
|
readonly type: "type";
|
|
@@ -321,10 +332,10 @@ export declare const EnumLiteral: {
|
|
|
321
332
|
readonly name: "name";
|
|
322
333
|
};
|
|
323
334
|
export declare function isEnumLiteral(item: unknown): item is EnumLiteral;
|
|
324
|
-
export type EnumLiteralName = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'enum' | 'first' | 'flow' | 'import' | 'in' | 'inout' | 'interface' | 'item' | 'library' | 'out' | 'package' | 'part' | 'port' | 'private' | 'public' | 'ref' | 'requirement' | 'view' | 'viewpoint' | string;
|
|
335
|
+
export type EnumLiteralName = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'enum' | 'first' | 'flow' | 'fork' | 'import' | 'in' | 'inout' | 'interface' | 'item' | 'join' | 'library' | 'out' | 'package' | 'part' | 'port' | 'private' | 'public' | 'ref' | 'requirement' | 'state' | 'use' | 'verification' | 'view' | 'viewpoint' | string;
|
|
325
336
|
export declare function isEnumLiteralName(item: unknown): item is EnumLiteralName;
|
|
326
337
|
export interface EnumValue extends langium.AstNode {
|
|
327
|
-
readonly $container: AttributeMember;
|
|
338
|
+
readonly $container: AttributeMember | RefMember;
|
|
328
339
|
readonly $type: 'EnumValue';
|
|
329
340
|
enumRef: QualifiedName;
|
|
330
341
|
}
|
|
@@ -355,10 +366,10 @@ export declare const FeatureChain: {
|
|
|
355
366
|
readonly segments: "segments";
|
|
356
367
|
};
|
|
357
368
|
export declare function isFeatureChain(item: unknown): item is FeatureChain;
|
|
358
|
-
export type FeatureName = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'end' | 'enum' | 'flow' | 'function' | 'interface' | 'item' | 'operator' | 'part' | 'port' | 'ref' | 'requirement' | 'view' | 'viewpoint' | string;
|
|
369
|
+
export type FeatureName = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'end' | 'enum' | 'flow' | 'function' | 'interface' | 'item' | 'operator' | 'part' | 'port' | 'ref' | 'requirement' | 'state' | 'verification' | 'view' | 'viewpoint' | string;
|
|
359
370
|
export declare function isFeatureName(item: unknown): item is FeatureName;
|
|
360
371
|
export interface FlowConnectionUsage extends langium.AstNode {
|
|
361
|
-
readonly $container: ActionUsage;
|
|
372
|
+
readonly $container: ActionUsage | AttributeMember | ConnectionUsage | InterfaceUsage | ItemUsage | MetadataApplication | PartMember | PartUsage | PortUsage | RequirementUsage | StateUsage | UseCaseDeclaration | VerificationUsage | ViewUsage;
|
|
362
373
|
readonly $type: 'FlowConnectionUsage';
|
|
363
374
|
itemType: QualifiedName;
|
|
364
375
|
source: FlowEnd;
|
|
@@ -399,7 +410,7 @@ export interface InterfaceDefinition extends langium.AstNode {
|
|
|
399
410
|
readonly $container: PackageDeclaration;
|
|
400
411
|
readonly $type: 'InterfaceDefinition';
|
|
401
412
|
additionalSpecializations: Array<QualifiedName>;
|
|
402
|
-
body: Array<
|
|
413
|
+
body: Array<ConnectionBodyMember>;
|
|
403
414
|
isAbstract: boolean;
|
|
404
415
|
name: string;
|
|
405
416
|
specialization?: Specialization;
|
|
@@ -413,8 +424,22 @@ export declare const InterfaceDefinition: {
|
|
|
413
424
|
readonly specialization: "specialization";
|
|
414
425
|
};
|
|
415
426
|
export declare function isInterfaceDefinition(item: unknown): item is InterfaceDefinition;
|
|
427
|
+
export interface InterfaceUsage extends langium.AstNode {
|
|
428
|
+
readonly $container: PackageDeclaration;
|
|
429
|
+
readonly $type: 'InterfaceUsage';
|
|
430
|
+
body: Array<UsageBodyMember>;
|
|
431
|
+
name: string;
|
|
432
|
+
type: QualifiedName;
|
|
433
|
+
}
|
|
434
|
+
export declare const InterfaceUsage: {
|
|
435
|
+
readonly $type: "InterfaceUsage";
|
|
436
|
+
readonly body: "body";
|
|
437
|
+
readonly name: "name";
|
|
438
|
+
readonly type: "type";
|
|
439
|
+
};
|
|
440
|
+
export declare function isInterfaceUsage(item: unknown): item is InterfaceUsage;
|
|
416
441
|
export interface IntValue extends langium.AstNode {
|
|
417
|
-
readonly $container: AttributeMember;
|
|
442
|
+
readonly $container: AttributeMember | RefMember;
|
|
418
443
|
readonly $type: 'IntValue';
|
|
419
444
|
value: string;
|
|
420
445
|
}
|
|
@@ -441,6 +466,26 @@ export declare const ItemDefinition: {
|
|
|
441
466
|
readonly specialization: "specialization";
|
|
442
467
|
};
|
|
443
468
|
export declare function isItemDefinition(item: unknown): item is ItemDefinition;
|
|
469
|
+
export interface ItemUsage extends langium.AstNode {
|
|
470
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
471
|
+
readonly $type: 'ItemUsage';
|
|
472
|
+
body: Array<UsageBodyMember>;
|
|
473
|
+
boundRef?: QualifiedName;
|
|
474
|
+
direction?: 'in' | 'inout' | 'out';
|
|
475
|
+
multiplicity?: Multiplicity;
|
|
476
|
+
name: MemberName;
|
|
477
|
+
type?: QualifiedName;
|
|
478
|
+
}
|
|
479
|
+
export declare const ItemUsage: {
|
|
480
|
+
readonly $type: "ItemUsage";
|
|
481
|
+
readonly body: "body";
|
|
482
|
+
readonly boundRef: "boundRef";
|
|
483
|
+
readonly direction: "direction";
|
|
484
|
+
readonly multiplicity: "multiplicity";
|
|
485
|
+
readonly name: "name";
|
|
486
|
+
readonly type: "type";
|
|
487
|
+
};
|
|
488
|
+
export declare function isItemUsage(item: unknown): item is ItemUsage;
|
|
444
489
|
export interface LiteralExpr extends langium.AstNode {
|
|
445
490
|
readonly $container: BinaryExpr | CollectionOp | RequireConstraintMember | UnaryExpr;
|
|
446
491
|
readonly $type: 'LiteralExpr';
|
|
@@ -455,10 +500,10 @@ export declare const LiteralExpr: {
|
|
|
455
500
|
readonly strValue: "strValue";
|
|
456
501
|
};
|
|
457
502
|
export declare function isLiteralExpr(item: unknown): item is LiteralExpr;
|
|
458
|
-
export type MemberName = 'action' | 'attribute' | 'connection' | 'constraint' | 'interface' | 'item' | 'part' | 'port' | 'ref' | 'requirement' | 'view' | 'viewpoint' | string;
|
|
503
|
+
export type MemberName = 'action' | 'attribute' | 'connection' | 'constraint' | 'interface' | 'item' | 'part' | 'port' | 'ref' | 'requirement' | 'state' | 'verification' | 'view' | 'viewpoint' | string;
|
|
459
504
|
export declare function isMemberName(item: unknown): item is MemberName;
|
|
460
505
|
export interface MetadataApplication extends langium.AstNode {
|
|
461
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
506
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
462
507
|
readonly $type: 'MetadataApplication';
|
|
463
508
|
body: Array<UsageBodyMember>;
|
|
464
509
|
type: QualifiedName;
|
|
@@ -493,7 +538,7 @@ export declare const Model: {
|
|
|
493
538
|
};
|
|
494
539
|
export declare function isModel(item: unknown): item is Model;
|
|
495
540
|
export interface Multiplicity extends langium.AstNode {
|
|
496
|
-
readonly $container: AttributeMember | EndDeclaration | PartMember | RefMember;
|
|
541
|
+
readonly $container: AttributeMember | EndDeclaration | ItemUsage | PartMember | RefMember;
|
|
497
542
|
readonly $type: 'Multiplicity';
|
|
498
543
|
exact?: string;
|
|
499
544
|
lower?: string;
|
|
@@ -527,7 +572,7 @@ export declare const PackageDeclaration: {
|
|
|
527
572
|
readonly name: "name";
|
|
528
573
|
};
|
|
529
574
|
export declare function isPackageDeclaration(item: unknown): item is PackageDeclaration;
|
|
530
|
-
export type PackageMember = AliasDeclaration | AllocateUsage | ConnectionUsage | DefinitionMember | DocComment | ImportDeclaration | MetadataApplication | PackageDeclaration | UsageMember;
|
|
575
|
+
export type PackageMember = AliasDeclaration | AllocateUsage | AttributeMember | ConnectionUsage | DefinitionMember | DocComment | ImportDeclaration | ItemUsage | MetadataApplication | PackageDeclaration | UsageMember | UseCaseDeclaration;
|
|
531
576
|
export declare const PackageMember: {
|
|
532
577
|
readonly $type: "PackageMember";
|
|
533
578
|
};
|
|
@@ -551,7 +596,7 @@ export declare const PartDefinition: {
|
|
|
551
596
|
};
|
|
552
597
|
export declare function isPartDefinition(item: unknown): item is PartDefinition;
|
|
553
598
|
export interface PartMember extends langium.AstNode {
|
|
554
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
599
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
555
600
|
readonly $type: 'PartMember';
|
|
556
601
|
bindingOp: ':>' | ':>>' | '=';
|
|
557
602
|
body: Array<UsageBodyMember>;
|
|
@@ -575,7 +620,7 @@ export interface PartUsage extends langium.AstNode {
|
|
|
575
620
|
readonly $type: 'PartUsage';
|
|
576
621
|
body: Array<UsageBodyMember>;
|
|
577
622
|
name: string;
|
|
578
|
-
type
|
|
623
|
+
type?: QualifiedName;
|
|
579
624
|
}
|
|
580
625
|
export declare const PartUsage: {
|
|
581
626
|
readonly $type: "PartUsage";
|
|
@@ -603,7 +648,7 @@ export declare const PortDefinition: {
|
|
|
603
648
|
};
|
|
604
649
|
export declare function isPortDefinition(item: unknown): item is PortDefinition;
|
|
605
650
|
export interface PortUsage extends langium.AstNode {
|
|
606
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
651
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
607
652
|
readonly $type: 'PortUsage';
|
|
608
653
|
body: Array<UsageBodyMember>;
|
|
609
654
|
direction?: 'in' | 'inout' | 'out';
|
|
@@ -624,10 +669,10 @@ export type QualifiedName = string;
|
|
|
624
669
|
export declare function isQualifiedName(item: unknown): item is QualifiedName;
|
|
625
670
|
export type QualifiedNameSegment = 'library' | string;
|
|
626
671
|
export declare function isQualifiedNameSegment(item: unknown): item is QualifiedNameSegment;
|
|
627
|
-
export type QualifiedNameTailSegment = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'enum' | 'first' | 'flow' | 'import' | 'in' | 'inout' | 'interface' | 'item' | 'out' | 'package' | 'part' | 'port' | 'private' | 'public' | 'ref' | 'requirement' | 'view' | 'viewpoint' | QualifiedNameSegment;
|
|
672
|
+
export type QualifiedNameTailSegment = 'action' | 'allocate' | 'attribute' | 'connection' | 'constraint' | 'enum' | 'first' | 'flow' | 'fork' | 'import' | 'in' | 'inout' | 'interface' | 'item' | 'join' | 'out' | 'package' | 'part' | 'port' | 'private' | 'public' | 'ref' | 'requirement' | 'state' | 'use' | 'verification' | 'view' | 'viewpoint' | QualifiedNameSegment | string;
|
|
628
673
|
export declare function isQualifiedNameTailSegment(item: unknown): item is QualifiedNameTailSegment;
|
|
629
674
|
export interface RealValue extends langium.AstNode {
|
|
630
|
-
readonly $container: AttributeMember;
|
|
675
|
+
readonly $container: AttributeMember | RefMember;
|
|
631
676
|
readonly $type: 'RealValue';
|
|
632
677
|
value: string;
|
|
633
678
|
}
|
|
@@ -639,21 +684,29 @@ export declare function isRealValue(item: unknown): item is RealValue;
|
|
|
639
684
|
export type ReferenceName = string;
|
|
640
685
|
export declare function isReferenceName(item: unknown): item is ReferenceName;
|
|
641
686
|
export interface RefMember extends langium.AstNode {
|
|
642
|
-
readonly $container: ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | ViewDefinition | ViewpointDefinition;
|
|
687
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
643
688
|
readonly $type: 'RefMember';
|
|
689
|
+
isConjugated: boolean;
|
|
690
|
+
isItem: boolean;
|
|
644
691
|
multiplicity?: Multiplicity;
|
|
645
|
-
name:
|
|
646
|
-
|
|
692
|
+
name: FeatureName;
|
|
693
|
+
redefines: boolean;
|
|
694
|
+
type?: QualifiedName;
|
|
695
|
+
value?: AttributeValue;
|
|
647
696
|
}
|
|
648
697
|
export declare const RefMember: {
|
|
649
698
|
readonly $type: "RefMember";
|
|
699
|
+
readonly isConjugated: "isConjugated";
|
|
700
|
+
readonly isItem: "isItem";
|
|
650
701
|
readonly multiplicity: "multiplicity";
|
|
651
702
|
readonly name: "name";
|
|
703
|
+
readonly redefines: "redefines";
|
|
652
704
|
readonly type: "type";
|
|
705
|
+
readonly value: "value";
|
|
653
706
|
};
|
|
654
707
|
export declare function isRefMember(item: unknown): item is RefMember;
|
|
655
708
|
export interface RequireConstraintMember extends langium.AstNode {
|
|
656
|
-
readonly $container: ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | ViewDefinition | ViewpointDefinition;
|
|
709
|
+
readonly $container: ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | StateDefinition | UseCaseDeclaration | VerificationDefinition | ViewDefinition | ViewpointDefinition;
|
|
657
710
|
readonly $type: 'RequireConstraintMember';
|
|
658
711
|
expression: ConstraintExpr;
|
|
659
712
|
kind?: 'assert' | 'require';
|
|
@@ -709,7 +762,7 @@ export declare const SetElement: {
|
|
|
709
762
|
};
|
|
710
763
|
export declare function isSetElement(item: unknown): item is SetElement;
|
|
711
764
|
export interface SetLiteral extends langium.AstNode {
|
|
712
|
-
readonly $container: AttributeMember;
|
|
765
|
+
readonly $container: AttributeMember | RefMember;
|
|
713
766
|
readonly $type: 'SetLiteral';
|
|
714
767
|
elements: Array<SetElement>;
|
|
715
768
|
}
|
|
@@ -719,7 +772,7 @@ export declare const SetLiteral: {
|
|
|
719
772
|
};
|
|
720
773
|
export declare function isSetLiteral(item: unknown): item is SetLiteral;
|
|
721
774
|
export interface Specialization extends langium.AstNode {
|
|
722
|
-
readonly $container: ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | ViewDefinition | ViewpointDefinition;
|
|
775
|
+
readonly $container: ActionDefinition | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataDefinition | PartDefinition | PortDefinition | RequirementDefinition | StateDefinition | UseCaseDeclaration | VerificationDefinition | ViewDefinition | ViewpointDefinition;
|
|
723
776
|
readonly $type: 'Specialization';
|
|
724
777
|
superType: QualifiedName;
|
|
725
778
|
}
|
|
@@ -728,8 +781,40 @@ export declare const Specialization: {
|
|
|
728
781
|
readonly superType: "superType";
|
|
729
782
|
};
|
|
730
783
|
export declare function isSpecialization(item: unknown): item is Specialization;
|
|
784
|
+
export interface StateDefinition extends langium.AstNode {
|
|
785
|
+
readonly $container: PackageDeclaration;
|
|
786
|
+
readonly $type: 'StateDefinition';
|
|
787
|
+
additionalSpecializations: Array<QualifiedName>;
|
|
788
|
+
body: Array<DefinitionBodyMember>;
|
|
789
|
+
isAbstract: boolean;
|
|
790
|
+
name: string;
|
|
791
|
+
specialization?: Specialization;
|
|
792
|
+
}
|
|
793
|
+
export declare const StateDefinition: {
|
|
794
|
+
readonly $type: "StateDefinition";
|
|
795
|
+
readonly additionalSpecializations: "additionalSpecializations";
|
|
796
|
+
readonly body: "body";
|
|
797
|
+
readonly isAbstract: "isAbstract";
|
|
798
|
+
readonly name: "name";
|
|
799
|
+
readonly specialization: "specialization";
|
|
800
|
+
};
|
|
801
|
+
export declare function isStateDefinition(item: unknown): item is StateDefinition;
|
|
802
|
+
export interface StateUsage extends langium.AstNode {
|
|
803
|
+
readonly $container: PackageDeclaration;
|
|
804
|
+
readonly $type: 'StateUsage';
|
|
805
|
+
body: Array<UsageBodyMember>;
|
|
806
|
+
name: string;
|
|
807
|
+
type: QualifiedName;
|
|
808
|
+
}
|
|
809
|
+
export declare const StateUsage: {
|
|
810
|
+
readonly $type: "StateUsage";
|
|
811
|
+
readonly body: "body";
|
|
812
|
+
readonly name: "name";
|
|
813
|
+
readonly type: "type";
|
|
814
|
+
};
|
|
815
|
+
export declare function isStateUsage(item: unknown): item is StateUsage;
|
|
731
816
|
export interface StringValue extends langium.AstNode {
|
|
732
|
-
readonly $container: AttributeMember;
|
|
817
|
+
readonly $container: AttributeMember | RefMember;
|
|
733
818
|
readonly $type: 'StringValue';
|
|
734
819
|
value: string;
|
|
735
820
|
}
|
|
@@ -751,7 +836,7 @@ export declare const SuccessionStep: {
|
|
|
751
836
|
};
|
|
752
837
|
export declare function isSuccessionStep(item: unknown): item is SuccessionStep;
|
|
753
838
|
export interface SuccessionUsage extends langium.AstNode {
|
|
754
|
-
readonly $container: ActionUsage;
|
|
839
|
+
readonly $container: ActionUsage | AttributeMember | ConnectionUsage | InterfaceUsage | ItemUsage | MetadataApplication | PartMember | PartUsage | PortUsage | RequirementUsage | StateUsage | UseCaseDeclaration | VerificationUsage | ViewUsage;
|
|
755
840
|
readonly $type: 'SuccessionUsage';
|
|
756
841
|
steps: Array<SuccessionStep>;
|
|
757
842
|
}
|
|
@@ -772,16 +857,72 @@ export declare const UnaryExpr: {
|
|
|
772
857
|
readonly operand: "operand";
|
|
773
858
|
};
|
|
774
859
|
export declare function isUnaryExpr(item: unknown): item is UnaryExpr;
|
|
775
|
-
export type UsageBodyMember = AttributeMember | DocComment | MetadataApplication | PartMember | PortUsage | ViewUsage;
|
|
860
|
+
export type UsageBodyMember = AttributeMember | ConnectionUsage | DocComment | FlowConnectionUsage | ItemUsage | MetadataApplication | PartMember | PortUsage | RefMember | SuccessionUsage | ViewUsage;
|
|
776
861
|
export declare const UsageBodyMember: {
|
|
777
862
|
readonly $type: "UsageBodyMember";
|
|
778
863
|
};
|
|
779
864
|
export declare function isUsageBodyMember(item: unknown): item is UsageBodyMember;
|
|
780
|
-
export type UsageMember = ActionUsage | PartUsage | PortUsage | RequirementUsage | ViewUsage;
|
|
865
|
+
export type UsageMember = ActionUsage | InterfaceUsage | PartUsage | PortUsage | RequirementUsage | StateUsage | VerificationUsage | ViewUsage;
|
|
781
866
|
export declare const UsageMember: {
|
|
782
867
|
readonly $type: "UsageMember";
|
|
783
868
|
};
|
|
784
869
|
export declare function isUsageMember(item: unknown): item is UsageMember;
|
|
870
|
+
export interface UseCaseDeclaration extends langium.AstNode {
|
|
871
|
+
readonly $container: PackageDeclaration;
|
|
872
|
+
readonly $type: 'UseCaseDeclaration';
|
|
873
|
+
additionalSpecializations: Array<QualifiedName>;
|
|
874
|
+
body: Array<DefinitionBodyMember>;
|
|
875
|
+
isAbstract: boolean;
|
|
876
|
+
isDefinition: boolean;
|
|
877
|
+
name: string;
|
|
878
|
+
specialization?: Specialization;
|
|
879
|
+
type?: QualifiedName;
|
|
880
|
+
usageBody: Array<UsageBodyMember>;
|
|
881
|
+
}
|
|
882
|
+
export declare const UseCaseDeclaration: {
|
|
883
|
+
readonly $type: "UseCaseDeclaration";
|
|
884
|
+
readonly additionalSpecializations: "additionalSpecializations";
|
|
885
|
+
readonly body: "body";
|
|
886
|
+
readonly isAbstract: "isAbstract";
|
|
887
|
+
readonly isDefinition: "isDefinition";
|
|
888
|
+
readonly name: "name";
|
|
889
|
+
readonly specialization: "specialization";
|
|
890
|
+
readonly type: "type";
|
|
891
|
+
readonly usageBody: "usageBody";
|
|
892
|
+
};
|
|
893
|
+
export declare function isUseCaseDeclaration(item: unknown): item is UseCaseDeclaration;
|
|
894
|
+
export interface VerificationDefinition extends langium.AstNode {
|
|
895
|
+
readonly $container: PackageDeclaration;
|
|
896
|
+
readonly $type: 'VerificationDefinition';
|
|
897
|
+
additionalSpecializations: Array<QualifiedName>;
|
|
898
|
+
body: Array<DefinitionBodyMember>;
|
|
899
|
+
isAbstract: boolean;
|
|
900
|
+
name: string;
|
|
901
|
+
specialization?: Specialization;
|
|
902
|
+
}
|
|
903
|
+
export declare const VerificationDefinition: {
|
|
904
|
+
readonly $type: "VerificationDefinition";
|
|
905
|
+
readonly additionalSpecializations: "additionalSpecializations";
|
|
906
|
+
readonly body: "body";
|
|
907
|
+
readonly isAbstract: "isAbstract";
|
|
908
|
+
readonly name: "name";
|
|
909
|
+
readonly specialization: "specialization";
|
|
910
|
+
};
|
|
911
|
+
export declare function isVerificationDefinition(item: unknown): item is VerificationDefinition;
|
|
912
|
+
export interface VerificationUsage extends langium.AstNode {
|
|
913
|
+
readonly $container: PackageDeclaration;
|
|
914
|
+
readonly $type: 'VerificationUsage';
|
|
915
|
+
body: Array<UsageBodyMember>;
|
|
916
|
+
name: string;
|
|
917
|
+
type: QualifiedName;
|
|
918
|
+
}
|
|
919
|
+
export declare const VerificationUsage: {
|
|
920
|
+
readonly $type: "VerificationUsage";
|
|
921
|
+
readonly body: "body";
|
|
922
|
+
readonly name: "name";
|
|
923
|
+
readonly type: "type";
|
|
924
|
+
};
|
|
925
|
+
export declare function isVerificationUsage(item: unknown): item is VerificationUsage;
|
|
785
926
|
export type ViewBodyMember = ExposeMember | UsageBodyMember;
|
|
786
927
|
export declare const ViewBodyMember: {
|
|
787
928
|
readonly $type: "ViewBodyMember";
|
|
@@ -824,7 +965,7 @@ export declare const ViewpointDefinition: {
|
|
|
824
965
|
};
|
|
825
966
|
export declare function isViewpointDefinition(item: unknown): item is ViewpointDefinition;
|
|
826
967
|
export interface ViewUsage extends langium.AstNode {
|
|
827
|
-
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | ConnectionDefinition | ConstraintDefinition | InterfaceDefinition | ItemDefinition | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
968
|
+
readonly $container: ActionDefinition | ActionUsage | AttributeDefinition | AttributeMember | ConnectionDefinition | ConnectionUsage | ConstraintDefinition | InterfaceDefinition | InterfaceUsage | ItemDefinition | ItemUsage | MetadataApplication | MetadataDefinition | PackageDeclaration | PartDefinition | PartMember | PartUsage | PortDefinition | PortUsage | RequirementDefinition | RequirementUsage | StateDefinition | StateUsage | UseCaseDeclaration | VerificationDefinition | VerificationUsage | ViewDefinition | ViewUsage | ViewpointDefinition;
|
|
828
969
|
readonly $type: 'ViewUsage';
|
|
829
970
|
body: Array<ViewBodyMember>;
|
|
830
971
|
name: string;
|
|
@@ -872,7 +1013,9 @@ export type MemoSysMLAstType = {
|
|
|
872
1013
|
ImportDeclaration: ImportDeclaration;
|
|
873
1014
|
IntValue: IntValue;
|
|
874
1015
|
InterfaceDefinition: InterfaceDefinition;
|
|
1016
|
+
InterfaceUsage: InterfaceUsage;
|
|
875
1017
|
ItemDefinition: ItemDefinition;
|
|
1018
|
+
ItemUsage: ItemUsage;
|
|
876
1019
|
LiteralExpr: LiteralExpr;
|
|
877
1020
|
MetadataApplication: MetadataApplication;
|
|
878
1021
|
MetadataDefinition: MetadataDefinition;
|
|
@@ -894,12 +1037,17 @@ export type MemoSysMLAstType = {
|
|
|
894
1037
|
SetElement: SetElement;
|
|
895
1038
|
SetLiteral: SetLiteral;
|
|
896
1039
|
Specialization: Specialization;
|
|
1040
|
+
StateDefinition: StateDefinition;
|
|
1041
|
+
StateUsage: StateUsage;
|
|
897
1042
|
StringValue: StringValue;
|
|
898
1043
|
SuccessionStep: SuccessionStep;
|
|
899
1044
|
SuccessionUsage: SuccessionUsage;
|
|
900
1045
|
UnaryExpr: UnaryExpr;
|
|
901
1046
|
UsageBodyMember: UsageBodyMember;
|
|
902
1047
|
UsageMember: UsageMember;
|
|
1048
|
+
UseCaseDeclaration: UseCaseDeclaration;
|
|
1049
|
+
VerificationDefinition: VerificationDefinition;
|
|
1050
|
+
VerificationUsage: VerificationUsage;
|
|
903
1051
|
ViewBodyMember: ViewBodyMember;
|
|
904
1052
|
ViewDefinition: ViewDefinition;
|
|
905
1053
|
ViewUsage: ViewUsage;
|
|
@@ -1039,6 +1187,11 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1039
1187
|
readonly AttributeMember: {
|
|
1040
1188
|
readonly name: "AttributeMember";
|
|
1041
1189
|
readonly properties: {
|
|
1190
|
+
readonly body: {
|
|
1191
|
+
readonly name: "body";
|
|
1192
|
+
readonly defaultValue: [];
|
|
1193
|
+
readonly optional: true;
|
|
1194
|
+
};
|
|
1042
1195
|
readonly multiplicity: {
|
|
1043
1196
|
readonly name: "multiplicity";
|
|
1044
1197
|
readonly optional: true;
|
|
@@ -1060,7 +1213,7 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1060
1213
|
readonly optional: true;
|
|
1061
1214
|
};
|
|
1062
1215
|
};
|
|
1063
|
-
readonly superTypes: ["DefinitionBodyMember", "UsageBodyMember"];
|
|
1216
|
+
readonly superTypes: ["DefinitionBodyMember", "PackageMember", "UsageBodyMember"];
|
|
1064
1217
|
};
|
|
1065
1218
|
readonly AttributeValue: {
|
|
1066
1219
|
readonly name: "AttributeValue";
|
|
@@ -1155,6 +1308,15 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1155
1308
|
readonly ConnectionUsage: {
|
|
1156
1309
|
readonly name: "ConnectionUsage";
|
|
1157
1310
|
readonly properties: {
|
|
1311
|
+
readonly body: {
|
|
1312
|
+
readonly name: "body";
|
|
1313
|
+
readonly defaultValue: [];
|
|
1314
|
+
readonly optional: true;
|
|
1315
|
+
};
|
|
1316
|
+
readonly name: {
|
|
1317
|
+
readonly name: "name";
|
|
1318
|
+
readonly optional: true;
|
|
1319
|
+
};
|
|
1158
1320
|
readonly source: {
|
|
1159
1321
|
readonly name: "source";
|
|
1160
1322
|
};
|
|
@@ -1166,7 +1328,7 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1166
1328
|
readonly optional: true;
|
|
1167
1329
|
};
|
|
1168
1330
|
};
|
|
1169
|
-
readonly superTypes: ["PackageMember"];
|
|
1331
|
+
readonly superTypes: ["PackageMember", "UsageBodyMember"];
|
|
1170
1332
|
};
|
|
1171
1333
|
readonly ConstraintDefinition: {
|
|
1172
1334
|
readonly name: "ConstraintDefinition";
|
|
@@ -1235,6 +1397,11 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1235
1397
|
readonly EndDeclaration: {
|
|
1236
1398
|
readonly name: "EndDeclaration";
|
|
1237
1399
|
readonly properties: {
|
|
1400
|
+
readonly isConjugated: {
|
|
1401
|
+
readonly name: "isConjugated";
|
|
1402
|
+
readonly defaultValue: false;
|
|
1403
|
+
readonly optional: true;
|
|
1404
|
+
};
|
|
1238
1405
|
readonly multiplicity: {
|
|
1239
1406
|
readonly name: "multiplicity";
|
|
1240
1407
|
readonly optional: true;
|
|
@@ -1313,7 +1480,7 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1313
1480
|
readonly name: "target";
|
|
1314
1481
|
};
|
|
1315
1482
|
};
|
|
1316
|
-
readonly superTypes: ["
|
|
1483
|
+
readonly superTypes: ["UsageBodyMember"];
|
|
1317
1484
|
};
|
|
1318
1485
|
readonly FlowEnd: {
|
|
1319
1486
|
readonly name: "FlowEnd";
|
|
@@ -1374,6 +1541,23 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1374
1541
|
};
|
|
1375
1542
|
readonly superTypes: ["DefinitionMember"];
|
|
1376
1543
|
};
|
|
1544
|
+
readonly InterfaceUsage: {
|
|
1545
|
+
readonly name: "InterfaceUsage";
|
|
1546
|
+
readonly properties: {
|
|
1547
|
+
readonly body: {
|
|
1548
|
+
readonly name: "body";
|
|
1549
|
+
readonly defaultValue: [];
|
|
1550
|
+
readonly optional: true;
|
|
1551
|
+
};
|
|
1552
|
+
readonly name: {
|
|
1553
|
+
readonly name: "name";
|
|
1554
|
+
};
|
|
1555
|
+
readonly type: {
|
|
1556
|
+
readonly name: "type";
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
readonly superTypes: ["UsageMember"];
|
|
1560
|
+
};
|
|
1377
1561
|
readonly ItemDefinition: {
|
|
1378
1562
|
readonly name: "ItemDefinition";
|
|
1379
1563
|
readonly properties: {
|
|
@@ -1402,6 +1586,36 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1402
1586
|
};
|
|
1403
1587
|
readonly superTypes: ["DefinitionMember"];
|
|
1404
1588
|
};
|
|
1589
|
+
readonly ItemUsage: {
|
|
1590
|
+
readonly name: "ItemUsage";
|
|
1591
|
+
readonly properties: {
|
|
1592
|
+
readonly body: {
|
|
1593
|
+
readonly name: "body";
|
|
1594
|
+
readonly defaultValue: [];
|
|
1595
|
+
readonly optional: true;
|
|
1596
|
+
};
|
|
1597
|
+
readonly boundRef: {
|
|
1598
|
+
readonly name: "boundRef";
|
|
1599
|
+
readonly optional: true;
|
|
1600
|
+
};
|
|
1601
|
+
readonly direction: {
|
|
1602
|
+
readonly name: "direction";
|
|
1603
|
+
readonly optional: true;
|
|
1604
|
+
};
|
|
1605
|
+
readonly multiplicity: {
|
|
1606
|
+
readonly name: "multiplicity";
|
|
1607
|
+
readonly optional: true;
|
|
1608
|
+
};
|
|
1609
|
+
readonly name: {
|
|
1610
|
+
readonly name: "name";
|
|
1611
|
+
};
|
|
1612
|
+
readonly type: {
|
|
1613
|
+
readonly name: "type";
|
|
1614
|
+
readonly optional: true;
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
readonly superTypes: ["DefinitionBodyMember", "PackageMember", "UsageBodyMember"];
|
|
1618
|
+
};
|
|
1405
1619
|
readonly LiteralExpr: {
|
|
1406
1620
|
readonly name: "LiteralExpr";
|
|
1407
1621
|
readonly properties: {
|
|
@@ -1585,6 +1799,7 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1585
1799
|
};
|
|
1586
1800
|
readonly type: {
|
|
1587
1801
|
readonly name: "type";
|
|
1802
|
+
readonly optional: true;
|
|
1588
1803
|
};
|
|
1589
1804
|
};
|
|
1590
1805
|
readonly superTypes: ["UsageMember"];
|
|
@@ -1655,6 +1870,16 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1655
1870
|
readonly RefMember: {
|
|
1656
1871
|
readonly name: "RefMember";
|
|
1657
1872
|
readonly properties: {
|
|
1873
|
+
readonly isConjugated: {
|
|
1874
|
+
readonly name: "isConjugated";
|
|
1875
|
+
readonly defaultValue: false;
|
|
1876
|
+
readonly optional: true;
|
|
1877
|
+
};
|
|
1878
|
+
readonly isItem: {
|
|
1879
|
+
readonly name: "isItem";
|
|
1880
|
+
readonly defaultValue: false;
|
|
1881
|
+
readonly optional: true;
|
|
1882
|
+
};
|
|
1658
1883
|
readonly multiplicity: {
|
|
1659
1884
|
readonly name: "multiplicity";
|
|
1660
1885
|
readonly optional: true;
|
|
@@ -1662,11 +1887,21 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1662
1887
|
readonly name: {
|
|
1663
1888
|
readonly name: "name";
|
|
1664
1889
|
};
|
|
1890
|
+
readonly redefines: {
|
|
1891
|
+
readonly name: "redefines";
|
|
1892
|
+
readonly defaultValue: false;
|
|
1893
|
+
readonly optional: true;
|
|
1894
|
+
};
|
|
1665
1895
|
readonly type: {
|
|
1666
1896
|
readonly name: "type";
|
|
1897
|
+
readonly optional: true;
|
|
1898
|
+
};
|
|
1899
|
+
readonly value: {
|
|
1900
|
+
readonly name: "value";
|
|
1901
|
+
readonly optional: true;
|
|
1667
1902
|
};
|
|
1668
1903
|
};
|
|
1669
|
-
readonly superTypes: ["DefinitionBodyMember"];
|
|
1904
|
+
readonly superTypes: ["DefinitionBodyMember", "UsageBodyMember"];
|
|
1670
1905
|
};
|
|
1671
1906
|
readonly RequireConstraintMember: {
|
|
1672
1907
|
readonly name: "RequireConstraintMember";
|
|
@@ -1759,6 +1994,51 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1759
1994
|
};
|
|
1760
1995
|
readonly superTypes: [];
|
|
1761
1996
|
};
|
|
1997
|
+
readonly StateDefinition: {
|
|
1998
|
+
readonly name: "StateDefinition";
|
|
1999
|
+
readonly properties: {
|
|
2000
|
+
readonly additionalSpecializations: {
|
|
2001
|
+
readonly name: "additionalSpecializations";
|
|
2002
|
+
readonly defaultValue: [];
|
|
2003
|
+
readonly optional: true;
|
|
2004
|
+
};
|
|
2005
|
+
readonly body: {
|
|
2006
|
+
readonly name: "body";
|
|
2007
|
+
readonly defaultValue: [];
|
|
2008
|
+
readonly optional: true;
|
|
2009
|
+
};
|
|
2010
|
+
readonly isAbstract: {
|
|
2011
|
+
readonly name: "isAbstract";
|
|
2012
|
+
readonly defaultValue: false;
|
|
2013
|
+
readonly optional: true;
|
|
2014
|
+
};
|
|
2015
|
+
readonly name: {
|
|
2016
|
+
readonly name: "name";
|
|
2017
|
+
};
|
|
2018
|
+
readonly specialization: {
|
|
2019
|
+
readonly name: "specialization";
|
|
2020
|
+
readonly optional: true;
|
|
2021
|
+
};
|
|
2022
|
+
};
|
|
2023
|
+
readonly superTypes: ["DefinitionMember"];
|
|
2024
|
+
};
|
|
2025
|
+
readonly StateUsage: {
|
|
2026
|
+
readonly name: "StateUsage";
|
|
2027
|
+
readonly properties: {
|
|
2028
|
+
readonly body: {
|
|
2029
|
+
readonly name: "body";
|
|
2030
|
+
readonly defaultValue: [];
|
|
2031
|
+
readonly optional: true;
|
|
2032
|
+
};
|
|
2033
|
+
readonly name: {
|
|
2034
|
+
readonly name: "name";
|
|
2035
|
+
};
|
|
2036
|
+
readonly type: {
|
|
2037
|
+
readonly name: "type";
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2040
|
+
readonly superTypes: ["UsageMember"];
|
|
2041
|
+
};
|
|
1762
2042
|
readonly StringValue: {
|
|
1763
2043
|
readonly name: "StringValue";
|
|
1764
2044
|
readonly properties: {
|
|
@@ -1785,7 +2065,7 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1785
2065
|
readonly defaultValue: [];
|
|
1786
2066
|
};
|
|
1787
2067
|
};
|
|
1788
|
-
readonly superTypes: ["
|
|
2068
|
+
readonly superTypes: ["UsageBodyMember"];
|
|
1789
2069
|
};
|
|
1790
2070
|
readonly UnaryExpr: {
|
|
1791
2071
|
readonly name: "UnaryExpr";
|
|
@@ -1809,6 +2089,93 @@ export declare class MemoSysMLAstReflection extends langium.AbstractAstReflectio
|
|
|
1809
2089
|
readonly properties: {};
|
|
1810
2090
|
readonly superTypes: ["PackageMember"];
|
|
1811
2091
|
};
|
|
2092
|
+
readonly UseCaseDeclaration: {
|
|
2093
|
+
readonly name: "UseCaseDeclaration";
|
|
2094
|
+
readonly properties: {
|
|
2095
|
+
readonly additionalSpecializations: {
|
|
2096
|
+
readonly name: "additionalSpecializations";
|
|
2097
|
+
readonly defaultValue: [];
|
|
2098
|
+
readonly optional: true;
|
|
2099
|
+
};
|
|
2100
|
+
readonly body: {
|
|
2101
|
+
readonly name: "body";
|
|
2102
|
+
readonly defaultValue: [];
|
|
2103
|
+
readonly optional: true;
|
|
2104
|
+
};
|
|
2105
|
+
readonly isAbstract: {
|
|
2106
|
+
readonly name: "isAbstract";
|
|
2107
|
+
readonly defaultValue: false;
|
|
2108
|
+
readonly optional: true;
|
|
2109
|
+
};
|
|
2110
|
+
readonly isDefinition: {
|
|
2111
|
+
readonly name: "isDefinition";
|
|
2112
|
+
readonly defaultValue: false;
|
|
2113
|
+
readonly optional: true;
|
|
2114
|
+
};
|
|
2115
|
+
readonly name: {
|
|
2116
|
+
readonly name: "name";
|
|
2117
|
+
};
|
|
2118
|
+
readonly specialization: {
|
|
2119
|
+
readonly name: "specialization";
|
|
2120
|
+
readonly optional: true;
|
|
2121
|
+
};
|
|
2122
|
+
readonly type: {
|
|
2123
|
+
readonly name: "type";
|
|
2124
|
+
readonly optional: true;
|
|
2125
|
+
};
|
|
2126
|
+
readonly usageBody: {
|
|
2127
|
+
readonly name: "usageBody";
|
|
2128
|
+
readonly defaultValue: [];
|
|
2129
|
+
readonly optional: true;
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
readonly superTypes: ["PackageMember"];
|
|
2133
|
+
};
|
|
2134
|
+
readonly VerificationDefinition: {
|
|
2135
|
+
readonly name: "VerificationDefinition";
|
|
2136
|
+
readonly properties: {
|
|
2137
|
+
readonly additionalSpecializations: {
|
|
2138
|
+
readonly name: "additionalSpecializations";
|
|
2139
|
+
readonly defaultValue: [];
|
|
2140
|
+
readonly optional: true;
|
|
2141
|
+
};
|
|
2142
|
+
readonly body: {
|
|
2143
|
+
readonly name: "body";
|
|
2144
|
+
readonly defaultValue: [];
|
|
2145
|
+
readonly optional: true;
|
|
2146
|
+
};
|
|
2147
|
+
readonly isAbstract: {
|
|
2148
|
+
readonly name: "isAbstract";
|
|
2149
|
+
readonly defaultValue: false;
|
|
2150
|
+
readonly optional: true;
|
|
2151
|
+
};
|
|
2152
|
+
readonly name: {
|
|
2153
|
+
readonly name: "name";
|
|
2154
|
+
};
|
|
2155
|
+
readonly specialization: {
|
|
2156
|
+
readonly name: "specialization";
|
|
2157
|
+
readonly optional: true;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
readonly superTypes: ["DefinitionMember"];
|
|
2161
|
+
};
|
|
2162
|
+
readonly VerificationUsage: {
|
|
2163
|
+
readonly name: "VerificationUsage";
|
|
2164
|
+
readonly properties: {
|
|
2165
|
+
readonly body: {
|
|
2166
|
+
readonly name: "body";
|
|
2167
|
+
readonly defaultValue: [];
|
|
2168
|
+
readonly optional: true;
|
|
2169
|
+
};
|
|
2170
|
+
readonly name: {
|
|
2171
|
+
readonly name: "name";
|
|
2172
|
+
};
|
|
2173
|
+
readonly type: {
|
|
2174
|
+
readonly name: "type";
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
readonly superTypes: ["UsageMember"];
|
|
2178
|
+
};
|
|
1812
2179
|
readonly ViewBodyMember: {
|
|
1813
2180
|
readonly name: "ViewBodyMember";
|
|
1814
2181
|
readonly properties: {};
|