@eventcatalog/language-server 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +71 -0
  2. package/SPEC.md +1939 -0
  3. package/dist/ast-utils.d.ts +96 -0
  4. package/dist/ast-utils.d.ts.map +1 -0
  5. package/dist/ast-utils.js +241 -0
  6. package/dist/ast-utils.js.map +1 -0
  7. package/dist/compiler.d.ts +7 -0
  8. package/dist/compiler.d.ts.map +1 -0
  9. package/dist/compiler.js +654 -0
  10. package/dist/compiler.js.map +1 -0
  11. package/dist/ec-completion-provider.d.ts +15 -0
  12. package/dist/ec-completion-provider.d.ts.map +1 -0
  13. package/dist/ec-completion-provider.js +202 -0
  14. package/dist/ec-completion-provider.js.map +1 -0
  15. package/dist/ec-module.d.ts +18 -0
  16. package/dist/ec-module.d.ts.map +1 -0
  17. package/dist/ec-module.js +27 -0
  18. package/dist/ec-module.js.map +1 -0
  19. package/dist/ec-scope-provider.d.ts +2 -0
  20. package/dist/ec-scope-provider.d.ts.map +1 -0
  21. package/dist/ec-scope-provider.js +2 -0
  22. package/dist/ec-scope-provider.js.map +1 -0
  23. package/dist/ec-scope.d.ts +10 -0
  24. package/dist/ec-scope.d.ts.map +1 -0
  25. package/dist/ec-scope.js +18 -0
  26. package/dist/ec-scope.js.map +1 -0
  27. package/dist/ec-validator.d.ts +9 -0
  28. package/dist/ec-validator.d.ts.map +1 -0
  29. package/dist/ec-validator.js +238 -0
  30. package/dist/ec-validator.js.map +1 -0
  31. package/dist/formatter.d.ts +6 -0
  32. package/dist/formatter.d.ts.map +1 -0
  33. package/dist/formatter.js +88 -0
  34. package/dist/formatter.js.map +1 -0
  35. package/dist/generated/ast.d.ts +970 -0
  36. package/dist/generated/ast.d.ts.map +1 -0
  37. package/dist/generated/ast.js +1537 -0
  38. package/dist/generated/ast.js.map +1 -0
  39. package/dist/generated/grammar.d.ts +7 -0
  40. package/dist/generated/grammar.d.ts.map +1 -0
  41. package/dist/generated/grammar.js +6062 -0
  42. package/dist/generated/grammar.js.map +1 -0
  43. package/dist/generated/module.d.ts +14 -0
  44. package/dist/generated/module.d.ts.map +1 -0
  45. package/dist/generated/module.js +21 -0
  46. package/dist/generated/module.js.map +1 -0
  47. package/dist/graph-types.d.ts +32 -0
  48. package/dist/graph-types.d.ts.map +1 -0
  49. package/dist/graph-types.js +2 -0
  50. package/dist/graph-types.js.map +1 -0
  51. package/dist/graph.d.ts +4 -0
  52. package/dist/graph.d.ts.map +1 -0
  53. package/dist/graph.js +931 -0
  54. package/dist/graph.js.map +1 -0
  55. package/dist/index.d.ts +12 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +10 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/main-browser.d.ts +2 -0
  60. package/dist/main-browser.d.ts.map +1 -0
  61. package/dist/main-browser.js +16 -0
  62. package/dist/main-browser.js.map +1 -0
  63. package/dist/main.d.ts +2 -0
  64. package/dist/main.d.ts.map +1 -0
  65. package/dist/main.js +15 -0
  66. package/dist/main.js.map +1 -0
  67. package/package.json +55 -0
  68. package/specification/00-overview.md +99 -0
  69. package/specification/01-domain.md +80 -0
  70. package/specification/02-service.md +50 -0
  71. package/specification/03-event.md +28 -0
  72. package/specification/04-command.md +25 -0
  73. package/specification/05-query.md +25 -0
  74. package/specification/06-channel.md +131 -0
  75. package/specification/08-container.md +54 -0
  76. package/specification/09-data-product.md +39 -0
  77. package/specification/10-flow.md +163 -0
  78. package/specification/11-diagram.md +3 -0
  79. package/specification/12-user.md +54 -0
  80. package/specification/13-team.md +62 -0
  81. package/specification/14-relationships.md +89 -0
  82. package/specification/15-versioning.md +41 -0
  83. package/specification/16-annotations.md +100 -0
  84. package/specification/17-examples.md +373 -0
  85. package/specification/18-grammar.md +242 -0
  86. package/specification/19-visualizer.md +197 -0
  87. package/specification/build-spec.sh +49 -0
  88. package/syntaxes/ec.tmLanguage.json +61 -0
@@ -0,0 +1,970 @@
1
+ /******************************************************************************
2
+ * This file was generated by langium-cli 3.5.2.
3
+ * DO NOT EDIT MANUALLY!
4
+ ******************************************************************************/
5
+ import * as langium from 'langium';
6
+ export declare const EcTerminals: {
7
+ WS: RegExp;
8
+ SL_COMMENT: RegExp;
9
+ ML_COMMENT: RegExp;
10
+ VERSION: RegExp;
11
+ STRING: RegExp;
12
+ NUMBER: RegExp;
13
+ ID: RegExp;
14
+ };
15
+ export type EcTerminalNames = keyof typeof EcTerminals;
16
+ export type EcKeywordNames = "(" | ")" | "," | "->" | ":" | "@" | "[" | "]" | "access-mode" | "actor" | "address" | "and" | "animated" | "appendOnly" | "authoritative" | "avatar" | "cache" | "channel" | "classification" | "color" | "command" | "confidential" | "container" | "container-type" | "contract" | "data-product" | "dataLake" | "dataWarehouse" | "database" | "default" | "delivery" | "deprecated" | "description" | "diagram" | "domain" | "draft" | "email" | "enum" | "event" | "examples" | "external-system" | "externalSaaS" | "false" | "flow" | "focus-mode" | "from" | "hidden" | "icon" | "import" | "input" | "internal" | "label" | "legend" | "member" | "message" | "ms-teams" | "name" | "objectStore" | "other" | "output" | "owner" | "owns" | "parameter" | "path" | "post-it" | "protocol" | "public" | "pull" | "push" | "push-pull" | "query" | "read" | "readWrite" | "reads-from" | "receives" | "regulated" | "residency" | "retention" | "role" | "route" | "schema" | "search" | "searchIndex" | "sends" | "service" | "slack" | "style" | "subdomain" | "summary" | "team" | "technology" | "title" | "to" | "toolbar" | "true" | "type" | "url" | "user" | "version" | "visible" | "visualizer" | "when" | "write" | "writes-to" | "{" | "}";
17
+ export type EcTokenNames = EcTerminalNames | EcKeywordNames;
18
+ export type AccessModeEnum = 'appendOnly' | 'read' | 'readWrite' | 'write';
19
+ export declare function isAccessModeEnum(item: unknown): item is AccessModeEnum;
20
+ export type ActorBodyItem = Annotation | NameStmt | SummaryStmt;
21
+ export declare const ActorBodyItem = "ActorBodyItem";
22
+ export declare function isActorBodyItem(item: unknown): item is ActorBodyItem;
23
+ export type AnnotationArg = NamedAnnotationArg | PositionalAnnotationArg;
24
+ export declare const AnnotationArg = "AnnotationArg";
25
+ export declare function isAnnotationArg(item: unknown): item is AnnotationArg;
26
+ export type AnnotationBlockItem = KeyValueAnnotationBlockItem | ResourceAnnotationBlockItem;
27
+ export declare const AnnotationBlockItem = "AnnotationBlockItem";
28
+ export declare function isAnnotationBlockItem(item: unknown): item is AnnotationBlockItem;
29
+ export type AnnotationBlockValue = 'hidden' | 'visible' | string;
30
+ export declare function isAnnotationBlockValue(item: unknown): item is AnnotationBlockValue;
31
+ export type AnnotationKey = 'color' | 'default' | 'description' | 'email' | 'icon' | 'label' | 'message' | 'name' | 'path' | 'role' | 'slack' | 'summary' | 'title' | 'type' | 'url' | 'version' | string;
32
+ export declare function isAnnotationKey(item: unknown): item is AnnotationKey;
33
+ export type AnnotationKeywordAsValue = 'name' | 'path' | 'type' | 'url';
34
+ export declare function isAnnotationKeywordAsValue(item: unknown): item is AnnotationKeywordAsValue;
35
+ export type AnnotationName = string;
36
+ export declare function isAnnotationName(item: unknown): item is AnnotationName;
37
+ export type AnnotationValue = BoolAnnotationValue | IdAnnotationValue | KeywordAnnotationValue | NumberAnnotationValue | StringAnnotationValue | VersionAnnotationValue;
38
+ export declare const AnnotationValue = "AnnotationValue";
39
+ export declare function isAnnotationValue(item: unknown): item is AnnotationValue;
40
+ export type BoolLiteral = boolean;
41
+ export declare function isBoolLiteral(item: unknown): item is BoolLiteral;
42
+ export type ChannelBodyItem = AddressStmt | Annotation | NameStmt | OwnerStmt | ParameterDecl | ProtocolStmt | RouteStmt | SummaryStmt | VersionStmt;
43
+ export declare const ChannelBodyItem = "ChannelBodyItem";
44
+ export declare function isChannelBodyItem(item: unknown): item is ChannelBodyItem;
45
+ export type ChannelClause = FromClause | ToClause;
46
+ export declare const ChannelClause = "ChannelClause";
47
+ export declare function isChannelClause(item: unknown): item is ChannelClause;
48
+ export type ClassificationEnum = 'confidential' | 'internal' | 'public' | 'regulated';
49
+ export declare function isClassificationEnum(item: unknown): item is ClassificationEnum;
50
+ export type ContainerBodyItem = AccessModeStmt | Annotation | AuthoritativeStmt | ClassificationStmt | ContainerTypeStmt | DeprecatedStmt | DraftStmt | NameStmt | OwnerStmt | ResidencyStmt | RetentionStmt | ServiceRefStmt | SummaryStmt | TechnologyStmt | VersionStmt;
51
+ export declare const ContainerBodyItem = "ContainerBodyItem";
52
+ export declare function isContainerBodyItem(item: unknown): item is ContainerBodyItem;
53
+ export type ContainerTypeEnum = 'cache' | 'dataLake' | 'dataWarehouse' | 'database' | 'externalSaaS' | 'objectStore' | 'other' | 'searchIndex';
54
+ export declare function isContainerTypeEnum(item: unknown): item is ContainerTypeEnum;
55
+ export type DataProductBodyItem = Annotation | DeprecatedStmt | DraftStmt | InputStmt | NameStmt | OutputStmt | OwnerStmt | SummaryStmt | VersionStmt;
56
+ export declare const DataProductBodyItem = "DataProductBodyItem";
57
+ export declare function isDataProductBodyItem(item: unknown): item is DataProductBodyItem;
58
+ export type DeliveryMode = 'pull' | 'push' | 'push-pull';
59
+ export declare function isDeliveryMode(item: unknown): item is DeliveryMode;
60
+ export type DiagramBodyItem = Annotation | NameStmt | OwnerStmt | SummaryStmt | VersionStmt;
61
+ export declare const DiagramBodyItem = "DiagramBodyItem";
62
+ export declare function isDiagramBodyItem(item: unknown): item is DiagramBodyItem;
63
+ export type DomainBodyItem = Annotation | ChannelDef | ContainerDef | DataProductRefStmt | DeprecatedStmt | DraftStmt | FlowRefStmt | NameStmt | OwnerStmt | ReceivesStmt | SendsStmt | ServiceDef | ServiceRefStmt | SubdomainDef | SummaryStmt | VersionStmt;
64
+ export declare const DomainBodyItem = "DomainBodyItem";
65
+ export declare function isDomainBodyItem(item: unknown): item is DomainBodyItem;
66
+ export type ExternalSystemBodyItem = Annotation | NameStmt | SummaryStmt;
67
+ export declare const ExternalSystemBodyItem = "ExternalSystemBodyItem";
68
+ export declare function isExternalSystemBodyItem(item: unknown): item is ExternalSystemBodyItem;
69
+ export type FlowBodyItem = Annotation | FlowEntryChain | FlowWhenBlock | NameStmt | OwnerStmt | SummaryStmt | VersionStmt;
70
+ export declare const FlowBodyItem = "FlowBodyItem";
71
+ export declare function isFlowBodyItem(item: unknown): item is FlowBodyItem;
72
+ export type MessageBodyItem = Annotation | DeprecatedStmt | DraftStmt | NameStmt | OwnerStmt | SchemaStmt | SummaryStmt | VersionStmt;
73
+ export declare const MessageBodyItem = "MessageBodyItem";
74
+ export declare function isMessageBodyItem(item: unknown): item is MessageBodyItem;
75
+ export type MessageType = 'command' | 'event' | 'query';
76
+ export declare function isMessageType(item: unknown): item is MessageType;
77
+ export type ParameterProp = ParameterDefaultProp | ParameterDescriptionProp | ParameterEnumProp | ParameterExamplesProp;
78
+ export declare const ParameterProp = "ParameterProp";
79
+ export declare function isParameterProp(item: unknown): item is ParameterProp;
80
+ export type ResourceDefinition = ActorDef | ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | ExternalSystemDef | FlowDef | QueryDef | ServiceDef | TeamDef | UserDef | VisualizerDef;
81
+ export declare const ResourceDefinition = "ResourceDefinition";
82
+ export declare function isResourceDefinition(item: unknown): item is ResourceDefinition;
83
+ export type ResourceTypeKw = 'command' | 'domain' | 'event' | 'query' | 'service';
84
+ export declare function isResourceTypeKw(item: unknown): item is ResourceTypeKw;
85
+ export type SendsReceivesBodyItem = Annotation | FromClause | NameStmt | OwnerStmt | SchemaStmt | SummaryStmt | ToClause | VersionStmt;
86
+ export declare const SendsReceivesBodyItem = "SendsReceivesBodyItem";
87
+ export declare function isSendsReceivesBodyItem(item: unknown): item is SendsReceivesBodyItem;
88
+ export type ServiceBodyItem = Annotation | DeprecatedStmt | DraftStmt | FlowRefStmt | NameStmt | OwnerStmt | ReadsFromStmt | ReceivesStmt | SendsStmt | SummaryStmt | VersionStmt | WritesToStmt;
89
+ export declare const ServiceBodyItem = "ServiceBodyItem";
90
+ export declare function isServiceBodyItem(item: unknown): item is ServiceBodyItem;
91
+ export type StyleEnum = 'default' | 'post-it';
92
+ export declare function isStyleEnum(item: unknown): item is StyleEnum;
93
+ export type TeamProp = TeamAnnotationProp | TeamEmailProp | TeamMemberProp | TeamMsTeamsProp | TeamNameProp | TeamOwnsProp | TeamSlackProp | TeamSummaryProp;
94
+ export declare const TeamProp = "TeamProp";
95
+ export declare function isTeamProp(item: unknown): item is TeamProp;
96
+ export type UserProp = UserAnnotationProp | UserAvatarProp | UserEmailProp | UserMsTeamsProp | UserNameProp | UserOwnsProp | UserRoleProp | UserSlackProp | UserTeamProp;
97
+ export declare const UserProp = "UserProp";
98
+ export declare function isUserProp(item: unknown): item is UserProp;
99
+ export type VisualizerBodyItem = ActorDef | AnimatedStmt | Annotation | ChannelDef | ChannelRefStmt | CommandDef | ContainerDef | ContainerRefStmt | DataProductDef | DataProductRefStmt | DomainDef | DomainRefStmt | EventDef | ExternalSystemDef | FlowDef | FlowRefStmt | FocusModeStmt | LegendStmt | NameStmt | QueryDef | SearchStmt | ServiceDef | ServiceRefStmt | StyleStmt | SummaryStmt | ToolbarStmt;
100
+ export declare const VisualizerBodyItem = "VisualizerBodyItem";
101
+ export declare function isVisualizerBodyItem(item: unknown): item is VisualizerBodyItem;
102
+ export interface AccessModeStmt extends langium.AstNode {
103
+ readonly $container: ContainerDef;
104
+ readonly $type: 'AccessModeStmt';
105
+ value: AccessModeEnum;
106
+ }
107
+ export declare const AccessModeStmt = "AccessModeStmt";
108
+ export declare function isAccessModeStmt(item: unknown): item is AccessModeStmt;
109
+ export interface ActorDef extends langium.AstNode {
110
+ readonly $container: Program | VisualizerDef;
111
+ readonly $type: 'ActorDef';
112
+ body: Array<ActorBodyItem>;
113
+ name: string;
114
+ }
115
+ export declare const ActorDef = "ActorDef";
116
+ export declare function isActorDef(item: unknown): item is ActorDef;
117
+ export interface AddressStmt extends langium.AstNode {
118
+ readonly $container: ChannelDef;
119
+ readonly $type: 'AddressStmt';
120
+ value: string;
121
+ }
122
+ export declare const AddressStmt = "AddressStmt";
123
+ export declare function isAddressStmt(item: unknown): item is AddressStmt;
124
+ export interface AnimatedStmt extends langium.AstNode {
125
+ readonly $container: VisualizerDef;
126
+ readonly $type: 'AnimatedStmt';
127
+ value: BoolLiteral;
128
+ }
129
+ export declare const AnimatedStmt = "AnimatedStmt";
130
+ export declare function isAnimatedStmt(item: unknown): item is AnimatedStmt;
131
+ export interface Annotation extends langium.AstNode {
132
+ readonly $container: ActorDef | ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | ExternalSystemDef | FlowDef | QueryDef | ReceivesStmt | SendsStmt | ServiceDef | SubdomainDef | TeamAnnotationProp | UserAnnotationProp | VisualizerDef;
133
+ readonly $type: 'Annotation';
134
+ args: Array<AnnotationArg>;
135
+ block: Array<AnnotationBlockItem>;
136
+ name: AnnotationName;
137
+ }
138
+ export declare const Annotation = "Annotation";
139
+ export declare function isAnnotation(item: unknown): item is Annotation;
140
+ export interface AuthoritativeStmt extends langium.AstNode {
141
+ readonly $container: ContainerDef;
142
+ readonly $type: 'AuthoritativeStmt';
143
+ value: BoolLiteral;
144
+ }
145
+ export declare const AuthoritativeStmt = "AuthoritativeStmt";
146
+ export declare function isAuthoritativeStmt(item: unknown): item is AuthoritativeStmt;
147
+ export interface BoolAnnotationValue extends langium.AstNode {
148
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
149
+ readonly $type: 'BoolAnnotationValue';
150
+ value: BoolLiteral;
151
+ }
152
+ export declare const BoolAnnotationValue = "BoolAnnotationValue";
153
+ export declare function isBoolAnnotationValue(item: unknown): item is BoolAnnotationValue;
154
+ export interface ChannelDef extends langium.AstNode {
155
+ readonly $container: DomainDef | Program | SubdomainDef | VisualizerDef;
156
+ readonly $type: 'ChannelDef';
157
+ body: Array<ChannelBodyItem>;
158
+ name: string;
159
+ }
160
+ export declare const ChannelDef = "ChannelDef";
161
+ export declare function isChannelDef(item: unknown): item is ChannelDef;
162
+ export interface ChannelRef extends langium.AstNode {
163
+ readonly $container: FromClause | ToClause;
164
+ readonly $type: 'ChannelRef';
165
+ channelName: string;
166
+ channelVersion?: string;
167
+ }
168
+ export declare const ChannelRef = "ChannelRef";
169
+ export declare function isChannelRef(item: unknown): item is ChannelRef;
170
+ export interface ChannelRefStmt extends langium.AstNode {
171
+ readonly $container: VisualizerDef;
172
+ readonly $type: 'ChannelRefStmt';
173
+ ref: ResourceRef;
174
+ }
175
+ export declare const ChannelRefStmt = "ChannelRefStmt";
176
+ export declare function isChannelRefStmt(item: unknown): item is ChannelRefStmt;
177
+ export interface ClassificationStmt extends langium.AstNode {
178
+ readonly $container: ContainerDef;
179
+ readonly $type: 'ClassificationStmt';
180
+ value: ClassificationEnum;
181
+ }
182
+ export declare const ClassificationStmt = "ClassificationStmt";
183
+ export declare function isClassificationStmt(item: unknown): item is ClassificationStmt;
184
+ export interface CommandDef extends langium.AstNode {
185
+ readonly $container: Program | VisualizerDef;
186
+ readonly $type: 'CommandDef';
187
+ body: Array<MessageBodyItem>;
188
+ name: string;
189
+ }
190
+ export declare const CommandDef = "CommandDef";
191
+ export declare function isCommandDef(item: unknown): item is CommandDef;
192
+ export interface ContainerDef extends langium.AstNode {
193
+ readonly $container: DomainDef | Program | SubdomainDef | VisualizerDef;
194
+ readonly $type: 'ContainerDef';
195
+ body: Array<ContainerBodyItem>;
196
+ name: string;
197
+ }
198
+ export declare const ContainerDef = "ContainerDef";
199
+ export declare function isContainerDef(item: unknown): item is ContainerDef;
200
+ export interface ContainerRefStmt extends langium.AstNode {
201
+ readonly $container: VisualizerDef;
202
+ readonly $type: 'ContainerRefStmt';
203
+ ref: ResourceRef;
204
+ }
205
+ export declare const ContainerRefStmt = "ContainerRefStmt";
206
+ export declare function isContainerRefStmt(item: unknown): item is ContainerRefStmt;
207
+ export interface ContainerTypeStmt extends langium.AstNode {
208
+ readonly $container: ContainerDef;
209
+ readonly $type: 'ContainerTypeStmt';
210
+ value: ContainerTypeEnum;
211
+ }
212
+ export declare const ContainerTypeStmt = "ContainerTypeStmt";
213
+ export declare function isContainerTypeStmt(item: unknown): item is ContainerTypeStmt;
214
+ export interface ContractBlock extends langium.AstNode {
215
+ readonly $container: OutputStmt;
216
+ readonly $type: 'ContractBlock';
217
+ contractName: string;
218
+ contractType?: string;
219
+ path: string;
220
+ }
221
+ export declare const ContractBlock = "ContractBlock";
222
+ export declare function isContractBlock(item: unknown): item is ContractBlock;
223
+ export interface DataProductDef extends langium.AstNode {
224
+ readonly $container: Program | VisualizerDef;
225
+ readonly $type: 'DataProductDef';
226
+ body: Array<DataProductBodyItem>;
227
+ name: string;
228
+ }
229
+ export declare const DataProductDef = "DataProductDef";
230
+ export declare function isDataProductDef(item: unknown): item is DataProductDef;
231
+ export interface DataProductRefStmt extends langium.AstNode {
232
+ readonly $container: DomainDef | SubdomainDef | VisualizerDef;
233
+ readonly $type: 'DataProductRefStmt';
234
+ ref: ResourceRef;
235
+ }
236
+ export declare const DataProductRefStmt = "DataProductRefStmt";
237
+ export declare function isDataProductRefStmt(item: unknown): item is DataProductRefStmt;
238
+ export interface DeprecatedStmt extends langium.AstNode {
239
+ readonly $container: CommandDef | ContainerDef | DataProductDef | DomainDef | EventDef | QueryDef | ServiceDef | SubdomainDef;
240
+ readonly $type: 'DeprecatedStmt';
241
+ value: BoolLiteral;
242
+ }
243
+ export declare const DeprecatedStmt = "DeprecatedStmt";
244
+ export declare function isDeprecatedStmt(item: unknown): item is DeprecatedStmt;
245
+ export interface DiagramDef extends langium.AstNode {
246
+ readonly $container: Program;
247
+ readonly $type: 'DiagramDef';
248
+ body: Array<DiagramBodyItem>;
249
+ name: string;
250
+ }
251
+ export declare const DiagramDef = "DiagramDef";
252
+ export declare function isDiagramDef(item: unknown): item is DiagramDef;
253
+ export interface DomainDef extends langium.AstNode {
254
+ readonly $container: Program | VisualizerDef;
255
+ readonly $type: 'DomainDef';
256
+ body: Array<DomainBodyItem>;
257
+ name: string;
258
+ }
259
+ export declare const DomainDef = "DomainDef";
260
+ export declare function isDomainDef(item: unknown): item is DomainDef;
261
+ export interface DomainRefStmt extends langium.AstNode {
262
+ readonly $container: VisualizerDef;
263
+ readonly $type: 'DomainRefStmt';
264
+ ref: ResourceRef;
265
+ }
266
+ export declare const DomainRefStmt = "DomainRefStmt";
267
+ export declare function isDomainRefStmt(item: unknown): item is DomainRefStmt;
268
+ export interface DraftStmt extends langium.AstNode {
269
+ readonly $container: CommandDef | ContainerDef | DataProductDef | DomainDef | EventDef | QueryDef | ServiceDef | SubdomainDef;
270
+ readonly $type: 'DraftStmt';
271
+ value: BoolLiteral;
272
+ }
273
+ export declare const DraftStmt = "DraftStmt";
274
+ export declare function isDraftStmt(item: unknown): item is DraftStmt;
275
+ export interface EventDef extends langium.AstNode {
276
+ readonly $container: Program | VisualizerDef;
277
+ readonly $type: 'EventDef';
278
+ body: Array<MessageBodyItem>;
279
+ name: string;
280
+ }
281
+ export declare const EventDef = "EventDef";
282
+ export declare function isEventDef(item: unknown): item is EventDef;
283
+ export interface ExternalSystemDef extends langium.AstNode {
284
+ readonly $container: Program | VisualizerDef;
285
+ readonly $type: 'ExternalSystemDef';
286
+ body: Array<ExternalSystemBodyItem>;
287
+ name: string;
288
+ }
289
+ export declare const ExternalSystemDef = "ExternalSystemDef";
290
+ export declare function isExternalSystemDef(item: unknown): item is ExternalSystemDef;
291
+ export interface FlowAction extends langium.AstNode {
292
+ readonly $container: FlowWhenBlock;
293
+ readonly $type: 'FlowAction';
294
+ outputs: Array<FlowOutput>;
295
+ ref: FlowRef;
296
+ }
297
+ export declare const FlowAction = "FlowAction";
298
+ export declare function isFlowAction(item: unknown): item is FlowAction;
299
+ export interface FlowDef extends langium.AstNode {
300
+ readonly $container: Program | VisualizerDef;
301
+ readonly $type: 'FlowDef';
302
+ body: Array<FlowBodyItem>;
303
+ name: string;
304
+ }
305
+ export declare const FlowDef = "FlowDef";
306
+ export declare function isFlowDef(item: unknown): item is FlowDef;
307
+ export interface FlowEntryChain extends langium.AstNode {
308
+ readonly $container: FlowDef;
309
+ readonly $type: 'FlowEntryChain';
310
+ sources: Array<FlowRef>;
311
+ targets: Array<FlowRef>;
312
+ }
313
+ export declare const FlowEntryChain = "FlowEntryChain";
314
+ export declare function isFlowEntryChain(item: unknown): item is FlowEntryChain;
315
+ export interface FlowOutput extends langium.AstNode {
316
+ readonly $container: FlowAction;
317
+ readonly $type: 'FlowOutput';
318
+ label?: string;
319
+ target: FlowRef;
320
+ }
321
+ export declare const FlowOutput = "FlowOutput";
322
+ export declare function isFlowOutput(item: unknown): item is FlowOutput;
323
+ export interface FlowRef extends langium.AstNode {
324
+ readonly $container: FlowAction | FlowEntryChain | FlowOutput | FlowWhenBlock;
325
+ readonly $type: 'FlowRef';
326
+ label?: string;
327
+ name: string;
328
+ }
329
+ export declare const FlowRef = "FlowRef";
330
+ export declare function isFlowRef(item: unknown): item is FlowRef;
331
+ export interface FlowRefStmt extends langium.AstNode {
332
+ readonly $container: DomainDef | ServiceDef | SubdomainDef | VisualizerDef;
333
+ readonly $type: 'FlowRefStmt';
334
+ ref: ResourceRef;
335
+ }
336
+ export declare const FlowRefStmt = "FlowRefStmt";
337
+ export declare function isFlowRefStmt(item: unknown): item is FlowRefStmt;
338
+ export interface FlowWhenBlock extends langium.AstNode {
339
+ readonly $container: FlowDef;
340
+ readonly $type: 'FlowWhenBlock';
341
+ actions: Array<FlowAction>;
342
+ triggers: Array<FlowRef>;
343
+ }
344
+ export declare const FlowWhenBlock = "FlowWhenBlock";
345
+ export declare function isFlowWhenBlock(item: unknown): item is FlowWhenBlock;
346
+ export interface FocusModeStmt extends langium.AstNode {
347
+ readonly $container: VisualizerDef;
348
+ readonly $type: 'FocusModeStmt';
349
+ value: BoolLiteral;
350
+ }
351
+ export declare const FocusModeStmt = "FocusModeStmt";
352
+ export declare function isFocusModeStmt(item: unknown): item is FocusModeStmt;
353
+ export interface FromClause extends langium.AstNode {
354
+ readonly $container: ReceivesStmt | SendsStmt;
355
+ readonly $type: 'FromClause';
356
+ channels: Array<ChannelRef>;
357
+ deliveryMode?: DeliveryMode;
358
+ }
359
+ export declare const FromClause = "FromClause";
360
+ export declare function isFromClause(item: unknown): item is FromClause;
361
+ export interface IdAnnotationValue extends langium.AstNode {
362
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
363
+ readonly $type: 'IdAnnotationValue';
364
+ value: string;
365
+ }
366
+ export declare const IdAnnotationValue = "IdAnnotationValue";
367
+ export declare function isIdAnnotationValue(item: unknown): item is IdAnnotationValue;
368
+ export interface ImportDecl extends langium.AstNode {
369
+ readonly $container: Program;
370
+ readonly $type: 'ImportDecl';
371
+ imports: Array<ImportItem>;
372
+ path: string;
373
+ }
374
+ export declare const ImportDecl = "ImportDecl";
375
+ export declare function isImportDecl(item: unknown): item is ImportDecl;
376
+ export interface ImportItem extends langium.AstNode {
377
+ readonly $container: ImportDecl;
378
+ readonly $type: 'ImportItem';
379
+ name: string;
380
+ }
381
+ export declare const ImportItem = "ImportItem";
382
+ export declare function isImportItem(item: unknown): item is ImportItem;
383
+ export interface InputStmt extends langium.AstNode {
384
+ readonly $container: DataProductDef;
385
+ readonly $type: 'InputStmt';
386
+ ref: ResourceRef;
387
+ type: MessageType;
388
+ }
389
+ export declare const InputStmt = "InputStmt";
390
+ export declare function isInputStmt(item: unknown): item is InputStmt;
391
+ export interface KeyValueAnnotationBlockItem extends langium.AstNode {
392
+ readonly $container: Annotation;
393
+ readonly $type: 'KeyValueAnnotationBlockItem';
394
+ key: string;
395
+ value: AnnotationBlockValue;
396
+ }
397
+ export declare const KeyValueAnnotationBlockItem = "KeyValueAnnotationBlockItem";
398
+ export declare function isKeyValueAnnotationBlockItem(item: unknown): item is KeyValueAnnotationBlockItem;
399
+ export interface KeywordAnnotationValue extends langium.AstNode {
400
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
401
+ readonly $type: 'KeywordAnnotationValue';
402
+ value: AnnotationKeywordAsValue;
403
+ }
404
+ export declare const KeywordAnnotationValue = "KeywordAnnotationValue";
405
+ export declare function isKeywordAnnotationValue(item: unknown): item is KeywordAnnotationValue;
406
+ export interface LegendStmt extends langium.AstNode {
407
+ readonly $container: VisualizerDef;
408
+ readonly $type: 'LegendStmt';
409
+ value: BoolLiteral;
410
+ }
411
+ export declare const LegendStmt = "LegendStmt";
412
+ export declare function isLegendStmt(item: unknown): item is LegendStmt;
413
+ export interface NamedAnnotationArg extends langium.AstNode {
414
+ readonly $container: Annotation;
415
+ readonly $type: 'NamedAnnotationArg';
416
+ key: AnnotationKey;
417
+ value: AnnotationValue;
418
+ }
419
+ export declare const NamedAnnotationArg = "NamedAnnotationArg";
420
+ export declare function isNamedAnnotationArg(item: unknown): item is NamedAnnotationArg;
421
+ export interface NameStmt extends langium.AstNode {
422
+ readonly $container: ActorDef | ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | ExternalSystemDef | FlowDef | QueryDef | ReceivesStmt | SendsStmt | ServiceDef | SubdomainDef | VisualizerDef;
423
+ readonly $type: 'NameStmt';
424
+ value: string;
425
+ }
426
+ export declare const NameStmt = "NameStmt";
427
+ export declare function isNameStmt(item: unknown): item is NameStmt;
428
+ export interface NumberAnnotationValue extends langium.AstNode {
429
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
430
+ readonly $type: 'NumberAnnotationValue';
431
+ value: string;
432
+ }
433
+ export declare const NumberAnnotationValue = "NumberAnnotationValue";
434
+ export declare function isNumberAnnotationValue(item: unknown): item is NumberAnnotationValue;
435
+ export interface OutputStmt extends langium.AstNode {
436
+ readonly $container: DataProductDef;
437
+ readonly $type: 'OutputStmt';
438
+ contract?: ContractBlock;
439
+ name: string;
440
+ type: MessageType;
441
+ }
442
+ export declare const OutputStmt = "OutputStmt";
443
+ export declare function isOutputStmt(item: unknown): item is OutputStmt;
444
+ export interface OwnerStmt extends langium.AstNode {
445
+ readonly $container: ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | FlowDef | QueryDef | ReceivesStmt | SendsStmt | ServiceDef | SubdomainDef;
446
+ readonly $type: 'OwnerStmt';
447
+ ownerRef: string;
448
+ }
449
+ export declare const OwnerStmt = "OwnerStmt";
450
+ export declare function isOwnerStmt(item: unknown): item is OwnerStmt;
451
+ export interface OwnsStmt extends langium.AstNode {
452
+ readonly $container: TeamOwnsProp | UserOwnsProp;
453
+ readonly $type: 'OwnsStmt';
454
+ resourceName: string;
455
+ resourceType: ResourceTypeKw;
456
+ }
457
+ export declare const OwnsStmt = "OwnsStmt";
458
+ export declare function isOwnsStmt(item: unknown): item is OwnsStmt;
459
+ export interface ParameterDecl extends langium.AstNode {
460
+ readonly $container: ChannelDef;
461
+ readonly $type: 'ParameterDecl';
462
+ name: string;
463
+ props: Array<ParameterProp>;
464
+ }
465
+ export declare const ParameterDecl = "ParameterDecl";
466
+ export declare function isParameterDecl(item: unknown): item is ParameterDecl;
467
+ export interface ParameterDefaultProp extends langium.AstNode {
468
+ readonly $container: ParameterDecl;
469
+ readonly $type: 'ParameterDefaultProp';
470
+ value: string;
471
+ }
472
+ export declare const ParameterDefaultProp = "ParameterDefaultProp";
473
+ export declare function isParameterDefaultProp(item: unknown): item is ParameterDefaultProp;
474
+ export interface ParameterDescriptionProp extends langium.AstNode {
475
+ readonly $container: ParameterDecl;
476
+ readonly $type: 'ParameterDescriptionProp';
477
+ value: string;
478
+ }
479
+ export declare const ParameterDescriptionProp = "ParameterDescriptionProp";
480
+ export declare function isParameterDescriptionProp(item: unknown): item is ParameterDescriptionProp;
481
+ export interface ParameterEnumProp extends langium.AstNode {
482
+ readonly $container: ParameterDecl;
483
+ readonly $type: 'ParameterEnumProp';
484
+ value: StringArray;
485
+ }
486
+ export declare const ParameterEnumProp = "ParameterEnumProp";
487
+ export declare function isParameterEnumProp(item: unknown): item is ParameterEnumProp;
488
+ export interface ParameterExamplesProp extends langium.AstNode {
489
+ readonly $container: ParameterDecl;
490
+ readonly $type: 'ParameterExamplesProp';
491
+ value: StringArray;
492
+ }
493
+ export declare const ParameterExamplesProp = "ParameterExamplesProp";
494
+ export declare function isParameterExamplesProp(item: unknown): item is ParameterExamplesProp;
495
+ export interface PositionalAnnotationArg extends langium.AstNode {
496
+ readonly $container: Annotation;
497
+ readonly $type: 'PositionalAnnotationArg';
498
+ value: AnnotationValue;
499
+ }
500
+ export declare const PositionalAnnotationArg = "PositionalAnnotationArg";
501
+ export declare function isPositionalAnnotationArg(item: unknown): item is PositionalAnnotationArg;
502
+ export interface Program extends langium.AstNode {
503
+ readonly $type: 'Program';
504
+ definitions: Array<ResourceDefinition>;
505
+ imports: Array<ImportDecl>;
506
+ }
507
+ export declare const Program = "Program";
508
+ export declare function isProgram(item: unknown): item is Program;
509
+ export interface ProtocolStmt extends langium.AstNode {
510
+ readonly $container: ChannelDef;
511
+ readonly $type: 'ProtocolStmt';
512
+ value: string;
513
+ }
514
+ export declare const ProtocolStmt = "ProtocolStmt";
515
+ export declare function isProtocolStmt(item: unknown): item is ProtocolStmt;
516
+ export interface QueryDef extends langium.AstNode {
517
+ readonly $container: Program | VisualizerDef;
518
+ readonly $type: 'QueryDef';
519
+ body: Array<MessageBodyItem>;
520
+ name: string;
521
+ }
522
+ export declare const QueryDef = "QueryDef";
523
+ export declare function isQueryDef(item: unknown): item is QueryDef;
524
+ export interface ReadsFromStmt extends langium.AstNode {
525
+ readonly $container: ServiceDef;
526
+ readonly $type: 'ReadsFromStmt';
527
+ ref: ResourceRef;
528
+ }
529
+ export declare const ReadsFromStmt = "ReadsFromStmt";
530
+ export declare function isReadsFromStmt(item: unknown): item is ReadsFromStmt;
531
+ export interface ReceivesStmt extends langium.AstNode {
532
+ readonly $container: DomainDef | ServiceDef | SubdomainDef;
533
+ readonly $type: 'ReceivesStmt';
534
+ body: Array<SendsReceivesBodyItem>;
535
+ channelClause?: ChannelClause;
536
+ messageName: string;
537
+ messageType: MessageType;
538
+ version?: string;
539
+ }
540
+ export declare const ReceivesStmt = "ReceivesStmt";
541
+ export declare function isReceivesStmt(item: unknown): item is ReceivesStmt;
542
+ export interface ResidencyStmt extends langium.AstNode {
543
+ readonly $container: ContainerDef;
544
+ readonly $type: 'ResidencyStmt';
545
+ value: string;
546
+ }
547
+ export declare const ResidencyStmt = "ResidencyStmt";
548
+ export declare function isResidencyStmt(item: unknown): item is ResidencyStmt;
549
+ export interface ResourceAnnotationBlockItem extends langium.AstNode {
550
+ readonly $container: Annotation;
551
+ readonly $type: 'ResourceAnnotationBlockItem';
552
+ resourceName: string;
553
+ resourceType: ResourceTypeKw;
554
+ version?: string;
555
+ }
556
+ export declare const ResourceAnnotationBlockItem = "ResourceAnnotationBlockItem";
557
+ export declare function isResourceAnnotationBlockItem(item: unknown): item is ResourceAnnotationBlockItem;
558
+ export interface ResourceRef extends langium.AstNode {
559
+ readonly $container: ChannelRefStmt | ContainerRefStmt | DataProductRefStmt | DomainRefStmt | FlowRefStmt | InputStmt | ReadsFromStmt | RouteStmt | ServiceRefStmt | WritesToStmt;
560
+ readonly $type: 'ResourceRef';
561
+ name: string;
562
+ version?: string;
563
+ }
564
+ export declare const ResourceRef = "ResourceRef";
565
+ export declare function isResourceRef(item: unknown): item is ResourceRef;
566
+ export interface RetentionStmt extends langium.AstNode {
567
+ readonly $container: ContainerDef;
568
+ readonly $type: 'RetentionStmt';
569
+ value: string;
570
+ }
571
+ export declare const RetentionStmt = "RetentionStmt";
572
+ export declare function isRetentionStmt(item: unknown): item is RetentionStmt;
573
+ export interface RouteStmt extends langium.AstNode {
574
+ readonly $container: ChannelDef;
575
+ readonly $type: 'RouteStmt';
576
+ ref: ResourceRef;
577
+ }
578
+ export declare const RouteStmt = "RouteStmt";
579
+ export declare function isRouteStmt(item: unknown): item is RouteStmt;
580
+ export interface SchemaStmt extends langium.AstNode {
581
+ readonly $container: CommandDef | EventDef | QueryDef | ReceivesStmt | SendsStmt;
582
+ readonly $type: 'SchemaStmt';
583
+ value: string;
584
+ }
585
+ export declare const SchemaStmt = "SchemaStmt";
586
+ export declare function isSchemaStmt(item: unknown): item is SchemaStmt;
587
+ export interface SearchStmt extends langium.AstNode {
588
+ readonly $container: VisualizerDef;
589
+ readonly $type: 'SearchStmt';
590
+ value: BoolLiteral;
591
+ }
592
+ export declare const SearchStmt = "SearchStmt";
593
+ export declare function isSearchStmt(item: unknown): item is SearchStmt;
594
+ export interface SendsStmt extends langium.AstNode {
595
+ readonly $container: DomainDef | ServiceDef | SubdomainDef;
596
+ readonly $type: 'SendsStmt';
597
+ body: Array<SendsReceivesBodyItem>;
598
+ channelClause?: ChannelClause;
599
+ messageName: string;
600
+ messageType: MessageType;
601
+ version?: string;
602
+ }
603
+ export declare const SendsStmt = "SendsStmt";
604
+ export declare function isSendsStmt(item: unknown): item is SendsStmt;
605
+ export interface ServiceDef extends langium.AstNode {
606
+ readonly $container: DomainDef | Program | SubdomainDef | VisualizerDef;
607
+ readonly $type: 'ServiceDef';
608
+ body: Array<ServiceBodyItem>;
609
+ name: string;
610
+ }
611
+ export declare const ServiceDef = "ServiceDef";
612
+ export declare function isServiceDef(item: unknown): item is ServiceDef;
613
+ export interface ServiceRefStmt extends langium.AstNode {
614
+ readonly $container: ContainerDef | DomainDef | SubdomainDef | VisualizerDef;
615
+ readonly $type: 'ServiceRefStmt';
616
+ ref: ResourceRef;
617
+ }
618
+ export declare const ServiceRefStmt = "ServiceRefStmt";
619
+ export declare function isServiceRefStmt(item: unknown): item is ServiceRefStmt;
620
+ export interface StringAnnotationValue extends langium.AstNode {
621
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
622
+ readonly $type: 'StringAnnotationValue';
623
+ value: string;
624
+ }
625
+ export declare const StringAnnotationValue = "StringAnnotationValue";
626
+ export declare function isStringAnnotationValue(item: unknown): item is StringAnnotationValue;
627
+ export interface StringArray extends langium.AstNode {
628
+ readonly $container: ParameterEnumProp | ParameterExamplesProp;
629
+ readonly $type: 'StringArray';
630
+ items: Array<string>;
631
+ }
632
+ export declare const StringArray = "StringArray";
633
+ export declare function isStringArray(item: unknown): item is StringArray;
634
+ export interface StyleStmt extends langium.AstNode {
635
+ readonly $container: VisualizerDef;
636
+ readonly $type: 'StyleStmt';
637
+ value: StyleEnum;
638
+ }
639
+ export declare const StyleStmt = "StyleStmt";
640
+ export declare function isStyleStmt(item: unknown): item is StyleStmt;
641
+ export interface SubdomainDef extends langium.AstNode {
642
+ readonly $container: DomainDef | SubdomainDef;
643
+ readonly $type: 'SubdomainDef';
644
+ body: Array<DomainBodyItem>;
645
+ name: string;
646
+ }
647
+ export declare const SubdomainDef = "SubdomainDef";
648
+ export declare function isSubdomainDef(item: unknown): item is SubdomainDef;
649
+ export interface SummaryStmt extends langium.AstNode {
650
+ readonly $container: ActorDef | ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | ExternalSystemDef | FlowDef | QueryDef | ReceivesStmt | SendsStmt | ServiceDef | SubdomainDef | VisualizerDef;
651
+ readonly $type: 'SummaryStmt';
652
+ value: string;
653
+ }
654
+ export declare const SummaryStmt = "SummaryStmt";
655
+ export declare function isSummaryStmt(item: unknown): item is SummaryStmt;
656
+ export interface TeamAnnotationProp extends langium.AstNode {
657
+ readonly $container: TeamDef;
658
+ readonly $type: 'TeamAnnotationProp';
659
+ annotation: Annotation;
660
+ }
661
+ export declare const TeamAnnotationProp = "TeamAnnotationProp";
662
+ export declare function isTeamAnnotationProp(item: unknown): item is TeamAnnotationProp;
663
+ export interface TeamDef extends langium.AstNode {
664
+ readonly $container: Program;
665
+ readonly $type: 'TeamDef';
666
+ name: string;
667
+ props: Array<TeamProp>;
668
+ }
669
+ export declare const TeamDef = "TeamDef";
670
+ export declare function isTeamDef(item: unknown): item is TeamDef;
671
+ export interface TeamEmailProp extends langium.AstNode {
672
+ readonly $container: TeamDef;
673
+ readonly $type: 'TeamEmailProp';
674
+ value: string;
675
+ }
676
+ export declare const TeamEmailProp = "TeamEmailProp";
677
+ export declare function isTeamEmailProp(item: unknown): item is TeamEmailProp;
678
+ export interface TeamMemberProp extends langium.AstNode {
679
+ readonly $container: TeamDef;
680
+ readonly $type: 'TeamMemberProp';
681
+ memberRef: string;
682
+ }
683
+ export declare const TeamMemberProp = "TeamMemberProp";
684
+ export declare function isTeamMemberProp(item: unknown): item is TeamMemberProp;
685
+ export interface TeamMsTeamsProp extends langium.AstNode {
686
+ readonly $container: TeamDef;
687
+ readonly $type: 'TeamMsTeamsProp';
688
+ value: string;
689
+ }
690
+ export declare const TeamMsTeamsProp = "TeamMsTeamsProp";
691
+ export declare function isTeamMsTeamsProp(item: unknown): item is TeamMsTeamsProp;
692
+ export interface TeamNameProp extends langium.AstNode {
693
+ readonly $container: TeamDef;
694
+ readonly $type: 'TeamNameProp';
695
+ value: string;
696
+ }
697
+ export declare const TeamNameProp = "TeamNameProp";
698
+ export declare function isTeamNameProp(item: unknown): item is TeamNameProp;
699
+ export interface TeamOwnsProp extends langium.AstNode {
700
+ readonly $container: TeamDef;
701
+ readonly $type: 'TeamOwnsProp';
702
+ owns: OwnsStmt;
703
+ }
704
+ export declare const TeamOwnsProp = "TeamOwnsProp";
705
+ export declare function isTeamOwnsProp(item: unknown): item is TeamOwnsProp;
706
+ export interface TeamSlackProp extends langium.AstNode {
707
+ readonly $container: TeamDef;
708
+ readonly $type: 'TeamSlackProp';
709
+ value: string;
710
+ }
711
+ export declare const TeamSlackProp = "TeamSlackProp";
712
+ export declare function isTeamSlackProp(item: unknown): item is TeamSlackProp;
713
+ export interface TeamSummaryProp extends langium.AstNode {
714
+ readonly $container: TeamDef;
715
+ readonly $type: 'TeamSummaryProp';
716
+ value: string;
717
+ }
718
+ export declare const TeamSummaryProp = "TeamSummaryProp";
719
+ export declare function isTeamSummaryProp(item: unknown): item is TeamSummaryProp;
720
+ export interface TechnologyStmt extends langium.AstNode {
721
+ readonly $container: ContainerDef;
722
+ readonly $type: 'TechnologyStmt';
723
+ value: string;
724
+ }
725
+ export declare const TechnologyStmt = "TechnologyStmt";
726
+ export declare function isTechnologyStmt(item: unknown): item is TechnologyStmt;
727
+ export interface ToClause extends langium.AstNode {
728
+ readonly $container: ReceivesStmt | SendsStmt;
729
+ readonly $type: 'ToClause';
730
+ channels: Array<ChannelRef>;
731
+ deliveryMode?: DeliveryMode;
732
+ }
733
+ export declare const ToClause = "ToClause";
734
+ export declare function isToClause(item: unknown): item is ToClause;
735
+ export interface ToolbarStmt extends langium.AstNode {
736
+ readonly $container: VisualizerDef;
737
+ readonly $type: 'ToolbarStmt';
738
+ value: BoolLiteral;
739
+ }
740
+ export declare const ToolbarStmt = "ToolbarStmt";
741
+ export declare function isToolbarStmt(item: unknown): item is ToolbarStmt;
742
+ export interface UserAnnotationProp extends langium.AstNode {
743
+ readonly $container: UserDef;
744
+ readonly $type: 'UserAnnotationProp';
745
+ annotation: Annotation;
746
+ }
747
+ export declare const UserAnnotationProp = "UserAnnotationProp";
748
+ export declare function isUserAnnotationProp(item: unknown): item is UserAnnotationProp;
749
+ export interface UserAvatarProp extends langium.AstNode {
750
+ readonly $container: UserDef;
751
+ readonly $type: 'UserAvatarProp';
752
+ value: string;
753
+ }
754
+ export declare const UserAvatarProp = "UserAvatarProp";
755
+ export declare function isUserAvatarProp(item: unknown): item is UserAvatarProp;
756
+ export interface UserDef extends langium.AstNode {
757
+ readonly $container: Program;
758
+ readonly $type: 'UserDef';
759
+ name: string;
760
+ props: Array<UserProp>;
761
+ }
762
+ export declare const UserDef = "UserDef";
763
+ export declare function isUserDef(item: unknown): item is UserDef;
764
+ export interface UserEmailProp extends langium.AstNode {
765
+ readonly $container: UserDef;
766
+ readonly $type: 'UserEmailProp';
767
+ value: string;
768
+ }
769
+ export declare const UserEmailProp = "UserEmailProp";
770
+ export declare function isUserEmailProp(item: unknown): item is UserEmailProp;
771
+ export interface UserMsTeamsProp extends langium.AstNode {
772
+ readonly $container: UserDef;
773
+ readonly $type: 'UserMsTeamsProp';
774
+ value: string;
775
+ }
776
+ export declare const UserMsTeamsProp = "UserMsTeamsProp";
777
+ export declare function isUserMsTeamsProp(item: unknown): item is UserMsTeamsProp;
778
+ export interface UserNameProp extends langium.AstNode {
779
+ readonly $container: UserDef;
780
+ readonly $type: 'UserNameProp';
781
+ value: string;
782
+ }
783
+ export declare const UserNameProp = "UserNameProp";
784
+ export declare function isUserNameProp(item: unknown): item is UserNameProp;
785
+ export interface UserOwnsProp extends langium.AstNode {
786
+ readonly $container: UserDef;
787
+ readonly $type: 'UserOwnsProp';
788
+ owns: OwnsStmt;
789
+ }
790
+ export declare const UserOwnsProp = "UserOwnsProp";
791
+ export declare function isUserOwnsProp(item: unknown): item is UserOwnsProp;
792
+ export interface UserRoleProp extends langium.AstNode {
793
+ readonly $container: UserDef;
794
+ readonly $type: 'UserRoleProp';
795
+ value: string;
796
+ }
797
+ export declare const UserRoleProp = "UserRoleProp";
798
+ export declare function isUserRoleProp(item: unknown): item is UserRoleProp;
799
+ export interface UserSlackProp extends langium.AstNode {
800
+ readonly $container: UserDef;
801
+ readonly $type: 'UserSlackProp';
802
+ value: string;
803
+ }
804
+ export declare const UserSlackProp = "UserSlackProp";
805
+ export declare function isUserSlackProp(item: unknown): item is UserSlackProp;
806
+ export interface UserTeamProp extends langium.AstNode {
807
+ readonly $container: UserDef;
808
+ readonly $type: 'UserTeamProp';
809
+ teamRef: string;
810
+ }
811
+ export declare const UserTeamProp = "UserTeamProp";
812
+ export declare function isUserTeamProp(item: unknown): item is UserTeamProp;
813
+ export interface VersionAnnotationValue extends langium.AstNode {
814
+ readonly $container: NamedAnnotationArg | PositionalAnnotationArg;
815
+ readonly $type: 'VersionAnnotationValue';
816
+ value: string;
817
+ }
818
+ export declare const VersionAnnotationValue = "VersionAnnotationValue";
819
+ export declare function isVersionAnnotationValue(item: unknown): item is VersionAnnotationValue;
820
+ export interface VersionStmt extends langium.AstNode {
821
+ readonly $container: ChannelDef | CommandDef | ContainerDef | DataProductDef | DiagramDef | DomainDef | EventDef | FlowDef | QueryDef | ReceivesStmt | SendsStmt | ServiceDef | SubdomainDef;
822
+ readonly $type: 'VersionStmt';
823
+ value: string;
824
+ }
825
+ export declare const VersionStmt = "VersionStmt";
826
+ export declare function isVersionStmt(item: unknown): item is VersionStmt;
827
+ export interface VisualizerDef extends langium.AstNode {
828
+ readonly $container: Program;
829
+ readonly $type: 'VisualizerDef';
830
+ body: Array<VisualizerBodyItem>;
831
+ name: string;
832
+ }
833
+ export declare const VisualizerDef = "VisualizerDef";
834
+ export declare function isVisualizerDef(item: unknown): item is VisualizerDef;
835
+ export interface WritesToStmt extends langium.AstNode {
836
+ readonly $container: ServiceDef;
837
+ readonly $type: 'WritesToStmt';
838
+ ref: ResourceRef;
839
+ }
840
+ export declare const WritesToStmt = "WritesToStmt";
841
+ export declare function isWritesToStmt(item: unknown): item is WritesToStmt;
842
+ export type EcAstType = {
843
+ AccessModeStmt: AccessModeStmt;
844
+ ActorBodyItem: ActorBodyItem;
845
+ ActorDef: ActorDef;
846
+ AddressStmt: AddressStmt;
847
+ AnimatedStmt: AnimatedStmt;
848
+ Annotation: Annotation;
849
+ AnnotationArg: AnnotationArg;
850
+ AnnotationBlockItem: AnnotationBlockItem;
851
+ AnnotationValue: AnnotationValue;
852
+ AuthoritativeStmt: AuthoritativeStmt;
853
+ BoolAnnotationValue: BoolAnnotationValue;
854
+ ChannelBodyItem: ChannelBodyItem;
855
+ ChannelClause: ChannelClause;
856
+ ChannelDef: ChannelDef;
857
+ ChannelRef: ChannelRef;
858
+ ChannelRefStmt: ChannelRefStmt;
859
+ ClassificationStmt: ClassificationStmt;
860
+ CommandDef: CommandDef;
861
+ ContainerBodyItem: ContainerBodyItem;
862
+ ContainerDef: ContainerDef;
863
+ ContainerRefStmt: ContainerRefStmt;
864
+ ContainerTypeStmt: ContainerTypeStmt;
865
+ ContractBlock: ContractBlock;
866
+ DataProductBodyItem: DataProductBodyItem;
867
+ DataProductDef: DataProductDef;
868
+ DataProductRefStmt: DataProductRefStmt;
869
+ DeprecatedStmt: DeprecatedStmt;
870
+ DiagramBodyItem: DiagramBodyItem;
871
+ DiagramDef: DiagramDef;
872
+ DomainBodyItem: DomainBodyItem;
873
+ DomainDef: DomainDef;
874
+ DomainRefStmt: DomainRefStmt;
875
+ DraftStmt: DraftStmt;
876
+ EventDef: EventDef;
877
+ ExternalSystemBodyItem: ExternalSystemBodyItem;
878
+ ExternalSystemDef: ExternalSystemDef;
879
+ FlowAction: FlowAction;
880
+ FlowBodyItem: FlowBodyItem;
881
+ FlowDef: FlowDef;
882
+ FlowEntryChain: FlowEntryChain;
883
+ FlowOutput: FlowOutput;
884
+ FlowRef: FlowRef;
885
+ FlowRefStmt: FlowRefStmt;
886
+ FlowWhenBlock: FlowWhenBlock;
887
+ FocusModeStmt: FocusModeStmt;
888
+ FromClause: FromClause;
889
+ IdAnnotationValue: IdAnnotationValue;
890
+ ImportDecl: ImportDecl;
891
+ ImportItem: ImportItem;
892
+ InputStmt: InputStmt;
893
+ KeyValueAnnotationBlockItem: KeyValueAnnotationBlockItem;
894
+ KeywordAnnotationValue: KeywordAnnotationValue;
895
+ LegendStmt: LegendStmt;
896
+ MessageBodyItem: MessageBodyItem;
897
+ NameStmt: NameStmt;
898
+ NamedAnnotationArg: NamedAnnotationArg;
899
+ NumberAnnotationValue: NumberAnnotationValue;
900
+ OutputStmt: OutputStmt;
901
+ OwnerStmt: OwnerStmt;
902
+ OwnsStmt: OwnsStmt;
903
+ ParameterDecl: ParameterDecl;
904
+ ParameterDefaultProp: ParameterDefaultProp;
905
+ ParameterDescriptionProp: ParameterDescriptionProp;
906
+ ParameterEnumProp: ParameterEnumProp;
907
+ ParameterExamplesProp: ParameterExamplesProp;
908
+ ParameterProp: ParameterProp;
909
+ PositionalAnnotationArg: PositionalAnnotationArg;
910
+ Program: Program;
911
+ ProtocolStmt: ProtocolStmt;
912
+ QueryDef: QueryDef;
913
+ ReadsFromStmt: ReadsFromStmt;
914
+ ReceivesStmt: ReceivesStmt;
915
+ ResidencyStmt: ResidencyStmt;
916
+ ResourceAnnotationBlockItem: ResourceAnnotationBlockItem;
917
+ ResourceDefinition: ResourceDefinition;
918
+ ResourceRef: ResourceRef;
919
+ RetentionStmt: RetentionStmt;
920
+ RouteStmt: RouteStmt;
921
+ SchemaStmt: SchemaStmt;
922
+ SearchStmt: SearchStmt;
923
+ SendsReceivesBodyItem: SendsReceivesBodyItem;
924
+ SendsStmt: SendsStmt;
925
+ ServiceBodyItem: ServiceBodyItem;
926
+ ServiceDef: ServiceDef;
927
+ ServiceRefStmt: ServiceRefStmt;
928
+ StringAnnotationValue: StringAnnotationValue;
929
+ StringArray: StringArray;
930
+ StyleStmt: StyleStmt;
931
+ SubdomainDef: SubdomainDef;
932
+ SummaryStmt: SummaryStmt;
933
+ TeamAnnotationProp: TeamAnnotationProp;
934
+ TeamDef: TeamDef;
935
+ TeamEmailProp: TeamEmailProp;
936
+ TeamMemberProp: TeamMemberProp;
937
+ TeamMsTeamsProp: TeamMsTeamsProp;
938
+ TeamNameProp: TeamNameProp;
939
+ TeamOwnsProp: TeamOwnsProp;
940
+ TeamProp: TeamProp;
941
+ TeamSlackProp: TeamSlackProp;
942
+ TeamSummaryProp: TeamSummaryProp;
943
+ TechnologyStmt: TechnologyStmt;
944
+ ToClause: ToClause;
945
+ ToolbarStmt: ToolbarStmt;
946
+ UserAnnotationProp: UserAnnotationProp;
947
+ UserAvatarProp: UserAvatarProp;
948
+ UserDef: UserDef;
949
+ UserEmailProp: UserEmailProp;
950
+ UserMsTeamsProp: UserMsTeamsProp;
951
+ UserNameProp: UserNameProp;
952
+ UserOwnsProp: UserOwnsProp;
953
+ UserProp: UserProp;
954
+ UserRoleProp: UserRoleProp;
955
+ UserSlackProp: UserSlackProp;
956
+ UserTeamProp: UserTeamProp;
957
+ VersionAnnotationValue: VersionAnnotationValue;
958
+ VersionStmt: VersionStmt;
959
+ VisualizerBodyItem: VisualizerBodyItem;
960
+ VisualizerDef: VisualizerDef;
961
+ WritesToStmt: WritesToStmt;
962
+ };
963
+ export declare class EcAstReflection extends langium.AbstractAstReflection {
964
+ getAllTypes(): string[];
965
+ protected computeIsSubtype(subtype: string, supertype: string): boolean;
966
+ getReferenceType(refInfo: langium.ReferenceInfo): string;
967
+ getTypeMetaData(type: string): langium.TypeMetaData;
968
+ }
969
+ export declare const reflection: EcAstReflection;
970
+ //# sourceMappingURL=ast.d.ts.map