@zenstackhq/language 3.9.7 → 3.10.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.
@@ -202,7 +202,7 @@ interface DataField extends langium.AstNode {
202
202
  readonly $type: 'DataField';
203
203
  attributes: Array<DataFieldAttribute>;
204
204
  comments: Array<string>;
205
- name: RegularIDWithTypeNames;
205
+ name: DataFieldName;
206
206
  params: Array<DataFieldParam>;
207
207
  type: DataFieldType;
208
208
  }
@@ -227,6 +227,8 @@ declare const DataFieldAttribute: {
227
227
  readonly decl: "decl";
228
228
  };
229
229
  declare function isDataFieldAttribute(item: unknown): item is DataFieldAttribute;
230
+ type DataFieldName = 'this' | RegularIDWithTypeNames;
231
+ declare function isDataFieldName(item: unknown): item is DataFieldName;
230
232
  interface DataFieldParam extends langium.AstNode {
231
233
  readonly $container: DataField;
232
234
  readonly $type: 'DataFieldParam';
@@ -263,6 +265,7 @@ interface DataModel extends langium.AstNode {
263
265
  readonly $container: Model;
264
266
  readonly $type: 'DataModel';
265
267
  attributes: Array<DataModelAttribute>;
268
+ base?: BuiltinType;
266
269
  baseModel?: langium.Reference<DataModel>;
267
270
  comments: Array<string>;
268
271
  fields: Array<DataField>;
@@ -275,6 +278,7 @@ interface DataModel extends langium.AstNode {
275
278
  declare const DataModel: {
276
279
  readonly $type: "DataModel";
277
280
  readonly attributes: "attributes";
281
+ readonly base: "base";
278
282
  readonly baseModel: "baseModel";
279
283
  readonly comments: "comments";
280
284
  readonly fields: "fields";
@@ -591,7 +595,7 @@ declare const ReferenceExpr: {
591
595
  readonly target: "target";
592
596
  };
593
597
  declare function isReferenceExpr(item: unknown): item is ReferenceExpr;
594
- type ReferenceTarget = CollectionPredicateBinding | DataField | EnumField | FunctionParam;
598
+ type ReferenceTarget = CollectionPredicateBinding | DataField | Enum | EnumField | FunctionParam;
595
599
  declare const ReferenceTarget: {
596
600
  readonly $type: "ReferenceTarget";
597
601
  };
@@ -629,6 +633,7 @@ interface TypeDef extends langium.AstNode {
629
633
  readonly $container: Model;
630
634
  readonly $type: 'TypeDef';
631
635
  attributes: Array<DataModelAttribute>;
636
+ base?: BuiltinType;
632
637
  comments: Array<string>;
633
638
  fields: Array<DataField>;
634
639
  mixins: Array<langium.Reference<TypeDef>>;
@@ -637,6 +642,7 @@ interface TypeDef extends langium.AstNode {
637
642
  declare const TypeDef: {
638
643
  readonly $type: "TypeDef";
639
644
  readonly attributes: "attributes";
645
+ readonly base: "base";
640
646
  readonly comments: "comments";
641
647
  readonly fields: "fields";
642
648
  readonly mixins: "mixins";
@@ -997,6 +1003,9 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
997
1003
  readonly name: "attributes";
998
1004
  readonly defaultValue: [];
999
1005
  };
1006
+ readonly base: {
1007
+ readonly name: "base";
1008
+ };
1000
1009
  readonly baseModel: {
1001
1010
  readonly name: "baseModel";
1002
1011
  readonly referenceType: "DataModel";
@@ -1070,7 +1079,7 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
1070
1079
  readonly name: "name";
1071
1080
  };
1072
1081
  };
1073
- readonly superTypes: ["AbstractDeclaration", "TypeDeclaration"];
1082
+ readonly superTypes: ["AbstractDeclaration", "ReferenceTarget", "TypeDeclaration"];
1074
1083
  };
1075
1084
  readonly EnumField: {
1076
1085
  readonly name: "EnumField";
@@ -1403,6 +1412,9 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
1403
1412
  readonly name: "attributes";
1404
1413
  readonly defaultValue: [];
1405
1414
  };
1415
+ readonly base: {
1416
+ readonly name: "base";
1417
+ };
1406
1418
  readonly comments: {
1407
1419
  readonly name: "comments";
1408
1420
  readonly defaultValue: [];
@@ -1473,5 +1485,5 @@ declare module 'langium' {
1473
1485
  }
1474
1486
  }
1475
1487
  //#endregion
1476
- export { ProcedureParam as $, isMemberAccessExpr as $t, DataSource as A, isConfigExpr as At, InternalAttribute as B, isDataSource as Bt, ConfigInvocationExpr as C, isAttributeParamType as Ct, DataFieldType as D, isBuiltinType as Dt, DataFieldParam as E, isBooleanLiteral as Et, FieldInitializer as F, isDataFieldAttribute as Ft, Model as G, isFieldInitializer as Gt, LiteralExpr as H, isEnumField as Ht, FunctionDecl as I, isDataFieldParam as It, NumberLiteral as J, isFunctionParamType as Jt, ModelImport as K, isFunctionDecl as Kt, FunctionParam as L, isDataFieldType as Lt, EnumField as M, isConfigInvocationArg as Mt, Expression as N, isConfigInvocationExpr as Nt, DataModel as O, isCollectionPredicateBinding as Ot, ExpressionType as P, isDataField as Pt, Procedure as Q, isLiteralExpr as Qt, FunctionParamType as R, isDataModel as Rt, ConfigInvocationArg as S, isAttributeParam as St, DataFieldAttribute as T, isBoolean as Tt, MemberAccessExpr as U, isExpression as Ut, InvocationExpr as V, isEnum as Vt, MemberAccessTarget as W, isExpressionType as Wt, Plugin as X, isInternalAttribute as Xt, ObjectExpr as Y, isGeneratorDecl as Yt, PluginField as Z, isInvocationExpr as Zt, BuiltinType as _, isTypeDeclaration as _n, isAbstractDeclaration as _t, ResolvedShape as a, isObjectExpr as an, StringLiteral as at, ConfigExpr as b, isUnsupportedFieldType as bn, isAttribute as bt, Argument as c, isProcedure as cn, TypeDef as ct, AttributeArg as d, isReferenceExpr as dn, ZModelAstReflection as dt, isMemberAccessTarget as en, ReferenceArg as et, AttributeParam as f, isReferenceTarget as fn, ZModelAstType as ft, BooleanLiteral as g, isThisExpr as gn, ZModelTokenNames as gt, Boolean as h, isStringLiteral as hn, ZModelTerminals as ht, Reference$1 as i, isNumberLiteral as in, RegularIDWithTypeNames as it, Enum as j, isConfigField as jt, DataModelAttribute as k, isConfigArrayExpr as kt, ArrayExpr as l, isProcedureParam as ln, UnaryExpr as lt, BinaryExpr as m, isRegularIDWithTypeNames as mn, ZModelTerminalNames as mt, BinaryExprOperatorPriority as n, isModelImport as nn, ReferenceTarget as nt, ResolvedType as o, isPlugin as on, ThisExpr as ot, AttributeParamType as p, isRegularID as pn, ZModelKeywordNames as pt, NullExpr as q, isFunctionParam as qt, InheritableNode as r, isNullExpr as rn, RegularID as rt, AbstractDeclaration as s, isPluginField as sn, TypeDeclaration as st, AstNode$1 as t, isModel as tn, ReferenceExpr as tt, Attribute as u, isReferenceArg as un, UnsupportedFieldType as ut, CollectionPredicateBinding as v, isTypeDef as vn, isArgument as vt, DataField as w, isBinaryExpr as wt, ConfigField as x, reflection as xn, isAttributeArg as xt, ConfigArrayExpr as y, isUnaryExpr as yn, isArrayExpr as yt, GeneratorDecl as z, isDataModelAttribute as zt };
1477
- //# sourceMappingURL=ast-C3-ORZMv.d.cts.map
1488
+ export { Procedure as $, isInvocationExpr as $t, DataModelAttribute as A, isConfigArrayExpr as At, GeneratorDecl as B, isDataModel as Bt, ConfigInvocationExpr as C, reflection as Cn, isAttributeParam as Ct, DataFieldParam as D, isBooleanLiteral as Dt, DataFieldName as E, isBoolean as Et, ExpressionType as F, isDataField as Ft, MemberAccessTarget as G, isExpression as Gt, InvocationExpr as H, isDataSource as Ht, FieldInitializer as I, isDataFieldAttribute as It, NullExpr as J, isFunctionDecl as Jt, Model as K, isExpressionType as Kt, FunctionDecl as L, isDataFieldName as Lt, Enum as M, isConfigField as Mt, EnumField as N, isConfigInvocationArg as Nt, DataFieldType as O, isBuiltinType as Ot, Expression as P, isConfigInvocationExpr as Pt, PluginField as Q, isInternalAttribute as Qt, FunctionParam as R, isDataFieldParam as Rt, ConfigInvocationArg as S, isUnsupportedFieldType as Sn, isAttributeArg as St, DataFieldAttribute as T, isBinaryExpr as Tt, LiteralExpr as U, isEnum as Ut, InternalAttribute as V, isDataModelAttribute as Vt, MemberAccessExpr as W, isEnumField as Wt, ObjectExpr as X, isFunctionParamType as Xt, NumberLiteral as Y, isFunctionParam as Yt, Plugin as Z, isGeneratorDecl as Zt, BuiltinType as _, isStringLiteral as _n, ZModelTokenNames as _t, ResolvedShape as a, isNullExpr as an, RegularIDWithTypeNames as at, ConfigExpr as b, isTypeDef as bn, isArrayExpr as bt, Argument as c, isPlugin as cn, TypeDeclaration as ct, AttributeArg as d, isProcedureParam as dn, UnsupportedFieldType as dt, isLiteralExpr as en, ProcedureParam as et, AttributeParam as f, isReferenceArg as fn, ZModelAstReflection as ft, BooleanLiteral as g, isRegularIDWithTypeNames as gn, ZModelTerminals as gt, Boolean as h, isRegularID as hn, ZModelTerminalNames as ht, Reference$1 as i, isModelImport as in, RegularID as it, DataSource as j, isConfigExpr as jt, DataModel as k, isCollectionPredicateBinding as kt, ArrayExpr as l, isPluginField as ln, TypeDef as lt, BinaryExpr as m, isReferenceTarget as mn, ZModelKeywordNames as mt, BinaryExprOperatorPriority as n, isMemberAccessTarget as nn, ReferenceExpr as nt, ResolvedType as o, isNumberLiteral as on, StringLiteral as ot, AttributeParamType as p, isReferenceExpr as pn, ZModelAstType as pt, ModelImport as q, isFieldInitializer as qt, InheritableNode as r, isModel as rn, ReferenceTarget as rt, AbstractDeclaration as s, isObjectExpr as sn, ThisExpr as st, AstNode$1 as t, isMemberAccessExpr as tn, ReferenceArg as tt, Attribute as u, isProcedure as un, UnaryExpr as ut, CollectionPredicateBinding as v, isThisExpr as vn, isAbstractDeclaration as vt, DataField as w, isAttributeParamType as wt, ConfigField as x, isUnaryExpr as xn, isAttribute as xt, ConfigArrayExpr as y, isTypeDeclaration as yn, isArgument as yt, FunctionParamType as z, isDataFieldType as zt };
1489
+ //# sourceMappingURL=ast-B9snHdj1.d.mts.map
@@ -180,6 +180,9 @@ const DataFieldAttribute = {
180
180
  function isDataFieldAttribute(item) {
181
181
  return reflection.isInstance(item, DataFieldAttribute.$type);
182
182
  }
183
+ function isDataFieldName(item) {
184
+ return isRegularIDWithTypeNames(item) || item === "this";
185
+ }
183
186
  const DataFieldParam = {
184
187
  $type: "DataFieldParam",
185
188
  name: "name",
@@ -203,6 +206,7 @@ function isDataFieldType(item) {
203
206
  const DataModel = {
204
207
  $type: "DataModel",
205
208
  attributes: "attributes",
209
+ base: "base",
206
210
  baseModel: "baseModel",
207
211
  comments: "comments",
208
212
  fields: "fields",
@@ -451,6 +455,7 @@ function isTypeDeclaration(item) {
451
455
  const TypeDef = {
452
456
  $type: "TypeDef",
453
457
  attributes: "attributes",
458
+ base: "base",
454
459
  comments: "comments",
455
460
  fields: "fields",
456
461
  mixins: "mixins",
@@ -693,6 +698,7 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
693
698
  name: DataModel.attributes,
694
699
  defaultValue: []
695
700
  },
701
+ base: { name: DataModel.base },
696
702
  baseModel: {
697
703
  name: DataModel.baseModel,
698
704
  referenceType: DataModel.$type
@@ -760,7 +766,11 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
760
766
  },
761
767
  name: { name: Enum.name }
762
768
  },
763
- superTypes: [AbstractDeclaration.$type, TypeDeclaration.$type]
769
+ superTypes: [
770
+ AbstractDeclaration.$type,
771
+ ReferenceTarget.$type,
772
+ TypeDeclaration.$type
773
+ ]
764
774
  },
765
775
  EnumField: {
766
776
  name: EnumField.$type,
@@ -1031,6 +1041,7 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
1031
1041
  name: TypeDef.attributes,
1032
1042
  defaultValue: []
1033
1043
  },
1044
+ base: { name: TypeDef.base },
1034
1045
  comments: {
1035
1046
  name: TypeDef.comments,
1036
1047
  defaultValue: []
@@ -1515,6 +1526,12 @@ Object.defineProperty(exports, "isDataFieldAttribute", {
1515
1526
  return isDataFieldAttribute;
1516
1527
  }
1517
1528
  });
1529
+ Object.defineProperty(exports, "isDataFieldName", {
1530
+ enumerable: true,
1531
+ get: function() {
1532
+ return isDataFieldName;
1533
+ }
1534
+ });
1518
1535
  Object.defineProperty(exports, "isDataFieldParam", {
1519
1536
  enumerable: true,
1520
1537
  get: function() {
@@ -1756,4 +1773,4 @@ Object.defineProperty(exports, "reflection", {
1756
1773
  }
1757
1774
  });
1758
1775
 
1759
- //# sourceMappingURL=ast-DSXl7TDv.cjs.map
1776
+ //# sourceMappingURL=ast-CbYfvKuN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ast-CbYfvKuN.cjs","names":[],"sources":["../src/generated/ast.ts"],"sourcesContent":["/******************************************************************************\n * This file was generated by langium-cli 4.2.1.\n * DO NOT EDIT MANUALLY!\n ******************************************************************************/\n\n/* eslint-disable */\nimport * as langium from 'langium';\n\nexport const ZModelTerminals = {\n WS: /\\s+/,\n INTERNAL_ATTRIBUTE_NAME: /@@@([_a-zA-Z][\\w_]*\\.)*[_a-zA-Z][\\w_]*/,\n MODEL_ATTRIBUTE_NAME: /@@([_a-zA-Z][\\w_]*\\.)*[_a-zA-Z][\\w_]*/,\n FIELD_ATTRIBUTE_NAME: /@([_a-zA-Z][\\w_]*\\.)*[_a-zA-Z][\\w_]*/,\n ID: /[_a-zA-Z][\\w_]*/,\n STRING: /\"(\\\\.|[^\"\\\\])*\"|'(\\\\.|[^'\\\\])*'/,\n NUMBER: /[+-]?[0-9]+(\\.[0-9]+)?/,\n TRIPLE_SLASH_COMMENT: /\\/\\/\\/[^\\n\\r]*/,\n ML_COMMENT: /\\/\\*[\\s\\S]*?\\*\\//,\n SL_COMMENT: /\\/\\/[^\\n\\r]*/,\n};\n\nexport type ZModelTerminalNames = keyof typeof ZModelTerminals;\n\nexport type ZModelKeywordNames =\n | \"!\"\n | \"!=\"\n | \"&&\"\n | \"(\"\n | \")\"\n | \",\"\n | \".\"\n | \":\"\n | \";\"\n | \"<\"\n | \"<=\"\n | \"=\"\n | \"==\"\n | \">\"\n | \">=\"\n | \"?\"\n | \"Any\"\n | \"BigInt\"\n | \"Boolean\"\n | \"Bytes\"\n | \"ContextType\"\n | \"DateTime\"\n | \"Decimal\"\n | \"FieldReference\"\n | \"Float\"\n | \"Int\"\n | \"Json\"\n | \"Null\"\n | \"Object\"\n | \"String\"\n | \"TransitiveFieldReference\"\n | \"Undefined\"\n | \"Unsupported\"\n | \"Void\"\n | \"[\"\n | \"]\"\n | \"^\"\n | \"_\"\n | \"abstract\"\n | \"attribute\"\n | \"datasource\"\n | \"enum\"\n | \"extends\"\n | \"false\"\n | \"function\"\n | \"generator\"\n | \"import\"\n | \"in\"\n | \"model\"\n | \"mutation\"\n | \"null\"\n | \"plugin\"\n | \"procedure\"\n | \"this\"\n | \"true\"\n | \"type\"\n | \"view\"\n | \"with\"\n | \"{\"\n | \"||\"\n | \"}\";\n\nexport type ZModelTokenNames = ZModelTerminalNames | ZModelKeywordNames;\n\nexport type AbstractDeclaration = Attribute | DataModel | DataSource | Enum | FunctionDecl | GeneratorDecl | Plugin | Procedure | TypeDef;\n\nexport const AbstractDeclaration = {\n $type: 'AbstractDeclaration'\n} as const;\n\nexport function isAbstractDeclaration(item: unknown): item is AbstractDeclaration {\n return reflection.isInstance(item, AbstractDeclaration.$type);\n}\n\nexport interface Argument extends langium.AstNode {\n readonly $container: InvocationExpr;\n readonly $type: 'Argument';\n value: Expression;\n}\n\nexport const Argument = {\n $type: 'Argument',\n value: 'value'\n} as const;\n\nexport function isArgument(item: unknown): item is Argument {\n return reflection.isInstance(item, Argument.$type);\n}\n\nexport interface ArrayExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | PluginField | ReferenceArg | UnaryExpr;\n readonly $type: 'ArrayExpr';\n items: Array<Expression>;\n}\n\nexport const ArrayExpr = {\n $type: 'ArrayExpr',\n items: 'items'\n} as const;\n\nexport function isArrayExpr(item: unknown): item is ArrayExpr {\n return reflection.isInstance(item, ArrayExpr.$type);\n}\n\nexport interface Attribute extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'Attribute';\n attributes: Array<InternalAttribute>;\n comments: Array<string>;\n name: string;\n params: Array<AttributeParam>;\n}\n\nexport const Attribute = {\n $type: 'Attribute',\n attributes: 'attributes',\n comments: 'comments',\n name: 'name',\n params: 'params'\n} as const;\n\nexport function isAttribute(item: unknown): item is Attribute {\n return reflection.isInstance(item, Attribute.$type);\n}\n\nexport interface AttributeArg extends langium.AstNode {\n readonly $container: DataFieldAttribute | DataModelAttribute | InternalAttribute;\n readonly $type: 'AttributeArg';\n name?: RegularID;\n value: Expression;\n /** Resolved attribute param declaration */\n $resolvedParam?: AttributeParam;\n}\n\nexport const AttributeArg = {\n $type: 'AttributeArg',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isAttributeArg(item: unknown): item is AttributeArg {\n return reflection.isInstance(item, AttributeArg.$type);\n}\n\nexport interface AttributeParam extends langium.AstNode {\n readonly $container: Attribute;\n readonly $type: 'AttributeParam';\n attributes: Array<InternalAttribute>;\n comments: Array<string>;\n default: boolean;\n name: RegularID;\n type: AttributeParamType;\n}\n\nexport const AttributeParam = {\n $type: 'AttributeParam',\n attributes: 'attributes',\n comments: 'comments',\n default: 'default',\n name: 'name',\n type: 'type'\n} as const;\n\nexport function isAttributeParam(item: unknown): item is AttributeParam {\n return reflection.isInstance(item, AttributeParam.$type);\n}\n\nexport interface AttributeParamType extends langium.AstNode {\n readonly $container: AttributeParam;\n readonly $type: 'AttributeParamType';\n array: boolean;\n optional: boolean;\n reference?: langium.Reference<TypeDeclaration>;\n type?: 'ContextType' | 'FieldReference' | 'TransitiveFieldReference' | ExpressionType;\n}\n\nexport const AttributeParamType = {\n $type: 'AttributeParamType',\n array: 'array',\n optional: 'optional',\n reference: 'reference',\n type: 'type'\n} as const;\n\nexport function isAttributeParamType(item: unknown): item is AttributeParamType {\n return reflection.isInstance(item, AttributeParamType.$type);\n}\n\nexport interface BinaryExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'BinaryExpr';\n binding?: CollectionPredicateBinding;\n left: Expression;\n operator: '!' | '!=' | '&&' | '<' | '<=' | '==' | '>' | '>=' | '?' | '^' | 'in' | '||';\n right: Expression;\n}\n\nexport const BinaryExpr = {\n $type: 'BinaryExpr',\n binding: 'binding',\n left: 'left',\n operator: 'operator',\n right: 'right'\n} as const;\n\nexport function isBinaryExpr(item: unknown): item is BinaryExpr {\n return reflection.isInstance(item, BinaryExpr.$type);\n}\n\nexport type Boolean = boolean;\n\nexport function isBoolean(item: unknown): item is Boolean {\n return typeof item === 'boolean';\n}\n\nexport interface BooleanLiteral extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | ConfigArrayExpr | ConfigField | ConfigInvocationArg | FieldInitializer | FunctionDecl | MemberAccessExpr | PluginField | ReferenceArg | UnaryExpr | UnsupportedFieldType;\n readonly $type: 'BooleanLiteral';\n value: Boolean;\n}\n\nexport const BooleanLiteral = {\n $type: 'BooleanLiteral',\n value: 'value'\n} as const;\n\nexport function isBooleanLiteral(item: unknown): item is BooleanLiteral {\n return reflection.isInstance(item, BooleanLiteral.$type);\n}\n\nexport type BuiltinType = 'BigInt' | 'Boolean' | 'Bytes' | 'DateTime' | 'Decimal' | 'Float' | 'Int' | 'Json' | 'String';\n\nexport function isBuiltinType(item: unknown): item is BuiltinType {\n return item === 'String' || item === 'Boolean' || item === 'Int' || item === 'BigInt' || item === 'Float' || item === 'Decimal' || item === 'DateTime' || item === 'Json' || item === 'Bytes';\n}\n\nexport interface CollectionPredicateBinding extends langium.AstNode {\n readonly $container: BinaryExpr;\n readonly $type: 'CollectionPredicateBinding';\n name: RegularID;\n}\n\nexport const CollectionPredicateBinding = {\n $type: 'CollectionPredicateBinding',\n name: 'name'\n} as const;\n\nexport function isCollectionPredicateBinding(item: unknown): item is CollectionPredicateBinding {\n return reflection.isInstance(item, CollectionPredicateBinding.$type);\n}\n\nexport interface ConfigArrayExpr extends langium.AstNode {\n readonly $container: ConfigField;\n readonly $type: 'ConfigArrayExpr';\n items: Array<ConfigInvocationExpr | LiteralExpr>;\n}\n\nexport const ConfigArrayExpr = {\n $type: 'ConfigArrayExpr',\n items: 'items'\n} as const;\n\nexport function isConfigArrayExpr(item: unknown): item is ConfigArrayExpr {\n return reflection.isInstance(item, ConfigArrayExpr.$type);\n}\n\nexport type ConfigExpr = ConfigArrayExpr | InvocationExpr | LiteralExpr;\n\nexport const ConfigExpr = {\n $type: 'ConfigExpr'\n} as const;\n\nexport function isConfigExpr(item: unknown): item is ConfigExpr {\n return reflection.isInstance(item, ConfigExpr.$type);\n}\n\nexport interface ConfigField extends langium.AstNode {\n readonly $container: DataSource | GeneratorDecl;\n readonly $type: 'ConfigField';\n name: RegularID;\n value: ConfigExpr;\n}\n\nexport const ConfigField = {\n $type: 'ConfigField',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isConfigField(item: unknown): item is ConfigField {\n return reflection.isInstance(item, ConfigField.$type);\n}\n\nexport interface ConfigInvocationArg extends langium.AstNode {\n readonly $container: ConfigInvocationExpr;\n readonly $type: 'ConfigInvocationArg';\n name: string;\n value: LiteralExpr;\n}\n\nexport const ConfigInvocationArg = {\n $type: 'ConfigInvocationArg',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isConfigInvocationArg(item: unknown): item is ConfigInvocationArg {\n return reflection.isInstance(item, ConfigInvocationArg.$type);\n}\n\nexport interface ConfigInvocationExpr extends langium.AstNode {\n readonly $container: ConfigArrayExpr;\n readonly $type: 'ConfigInvocationExpr';\n args: Array<ConfigInvocationArg>;\n name: string;\n}\n\nexport const ConfigInvocationExpr = {\n $type: 'ConfigInvocationExpr',\n args: 'args',\n name: 'name'\n} as const;\n\nexport function isConfigInvocationExpr(item: unknown): item is ConfigInvocationExpr {\n return reflection.isInstance(item, ConfigInvocationExpr.$type);\n}\n\nexport interface DataField extends langium.AstNode {\n readonly $container: DataModel | TypeDef;\n readonly $type: 'DataField';\n attributes: Array<DataFieldAttribute>;\n comments: Array<string>;\n name: DataFieldName;\n params: Array<DataFieldParam>;\n type: DataFieldType;\n}\n\nexport const DataField = {\n $type: 'DataField',\n attributes: 'attributes',\n comments: 'comments',\n name: 'name',\n params: 'params',\n type: 'type'\n} as const;\n\nexport function isDataField(item: unknown): item is DataField {\n return reflection.isInstance(item, DataField.$type);\n}\n\nexport interface DataFieldAttribute extends langium.AstNode {\n readonly $container: DataField | EnumField;\n readonly $type: 'DataFieldAttribute';\n args: Array<AttributeArg>;\n decl: langium.Reference<Attribute>;\n}\n\nexport const DataFieldAttribute = {\n $type: 'DataFieldAttribute',\n args: 'args',\n decl: 'decl'\n} as const;\n\nexport function isDataFieldAttribute(item: unknown): item is DataFieldAttribute {\n return reflection.isInstance(item, DataFieldAttribute.$type);\n}\n\nexport type DataFieldName = 'this' | RegularIDWithTypeNames;\n\nexport function isDataFieldName(item: unknown): item is DataFieldName {\n return isRegularIDWithTypeNames(item) || item === 'this';\n}\n\nexport interface DataFieldParam extends langium.AstNode {\n readonly $container: DataField;\n readonly $type: 'DataFieldParam';\n name: RegularID;\n optional: boolean;\n type: FunctionParamType;\n}\n\nexport const DataFieldParam = {\n $type: 'DataFieldParam',\n name: 'name',\n optional: 'optional',\n type: 'type'\n} as const;\n\nexport function isDataFieldParam(item: unknown): item is DataFieldParam {\n return reflection.isInstance(item, DataFieldParam.$type);\n}\n\nexport interface DataFieldType extends langium.AstNode {\n readonly $container: DataField;\n readonly $type: 'DataFieldType';\n array: boolean;\n optional: boolean;\n reference?: langium.Reference<TypeDeclaration>;\n type?: BuiltinType;\n unsupported?: UnsupportedFieldType;\n}\n\nexport const DataFieldType = {\n $type: 'DataFieldType',\n array: 'array',\n optional: 'optional',\n reference: 'reference',\n type: 'type',\n unsupported: 'unsupported'\n} as const;\n\nexport function isDataFieldType(item: unknown): item is DataFieldType {\n return reflection.isInstance(item, DataFieldType.$type);\n}\n\nexport interface DataModel extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'DataModel';\n attributes: Array<DataModelAttribute>;\n base?: BuiltinType;\n baseModel?: langium.Reference<DataModel>;\n comments: Array<string>;\n fields: Array<DataField>;\n isView: boolean;\n mixins: Array<langium.Reference<TypeDef>>;\n name: RegularID;\n /** All fields including those marked with `@ignore` */\n $allFields?: DataField[];\n}\n\nexport const DataModel = {\n $type: 'DataModel',\n attributes: 'attributes',\n base: 'base',\n baseModel: 'baseModel',\n comments: 'comments',\n fields: 'fields',\n isView: 'isView',\n mixins: 'mixins',\n name: 'name'\n} as const;\n\nexport function isDataModel(item: unknown): item is DataModel {\n return reflection.isInstance(item, DataModel.$type);\n}\n\nexport interface DataModelAttribute extends langium.AstNode {\n readonly $container: DataModel | Enum | TypeDef;\n readonly $type: 'DataModelAttribute';\n args: Array<AttributeArg>;\n decl: langium.Reference<Attribute>;\n}\n\nexport const DataModelAttribute = {\n $type: 'DataModelAttribute',\n args: 'args',\n decl: 'decl'\n} as const;\n\nexport function isDataModelAttribute(item: unknown): item is DataModelAttribute {\n return reflection.isInstance(item, DataModelAttribute.$type);\n}\n\nexport interface DataSource extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'DataSource';\n fields: Array<ConfigField>;\n name: RegularID;\n}\n\nexport const DataSource = {\n $type: 'DataSource',\n fields: 'fields',\n name: 'name'\n} as const;\n\nexport function isDataSource(item: unknown): item is DataSource {\n return reflection.isInstance(item, DataSource.$type);\n}\n\nexport interface Enum extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'Enum';\n attributes: Array<DataModelAttribute>;\n comments: Array<string>;\n fields: Array<EnumField>;\n name: RegularID;\n}\n\nexport const Enum = {\n $type: 'Enum',\n attributes: 'attributes',\n comments: 'comments',\n fields: 'fields',\n name: 'name'\n} as const;\n\nexport function isEnum(item: unknown): item is Enum {\n return reflection.isInstance(item, Enum.$type);\n}\n\nexport interface EnumField extends langium.AstNode {\n readonly $container: Enum;\n readonly $type: 'EnumField';\n attributes: Array<DataFieldAttribute>;\n comments: Array<string>;\n name: RegularIDWithTypeNames;\n}\n\nexport const EnumField = {\n $type: 'EnumField',\n attributes: 'attributes',\n comments: 'comments',\n name: 'name'\n} as const;\n\nexport function isEnumField(item: unknown): item is EnumField {\n return reflection.isInstance(item, EnumField.$type);\n}\n\nexport type Expression = ArrayExpr | BinaryExpr | InvocationExpr | LiteralExpr | MemberAccessExpr | NullExpr | ObjectExpr | ReferenceExpr | ThisExpr | UnaryExpr;\n\nexport const Expression = {\n $type: 'Expression'\n} as const;\n\nexport function isExpression(item: unknown): item is Expression {\n return reflection.isInstance(item, Expression.$type);\n}\n\nexport type ExpressionType = 'Any' | 'BigInt' | 'Boolean' | 'Bytes' | 'DateTime' | 'Decimal' | 'Float' | 'Int' | 'Json' | 'Null' | 'Object' | 'String' | 'Undefined' | 'Unsupported' | 'Void';\n\nexport function isExpressionType(item: unknown): item is ExpressionType {\n return item === 'String' || item === 'Int' || item === 'Float' || item === 'Boolean' || item === 'BigInt' || item === 'Decimal' || item === 'DateTime' || item === 'Json' || item === 'Bytes' || item === 'Null' || item === 'Object' || item === 'Any' || item === 'Void' || item === 'Undefined' || item === 'Unsupported';\n}\n\nexport interface FieldInitializer extends langium.AstNode {\n readonly $container: ObjectExpr;\n readonly $type: 'FieldInitializer';\n name: RegularID | string;\n value: Expression;\n}\n\nexport const FieldInitializer = {\n $type: 'FieldInitializer',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isFieldInitializer(item: unknown): item is FieldInitializer {\n return reflection.isInstance(item, FieldInitializer.$type);\n}\n\nexport interface FunctionDecl extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'FunctionDecl';\n attributes: Array<InternalAttribute>;\n expression?: Expression;\n name: RegularID;\n params: Array<FunctionParam>;\n returnType: FunctionParamType;\n}\n\nexport const FunctionDecl = {\n $type: 'FunctionDecl',\n attributes: 'attributes',\n expression: 'expression',\n name: 'name',\n params: 'params',\n returnType: 'returnType'\n} as const;\n\nexport function isFunctionDecl(item: unknown): item is FunctionDecl {\n return reflection.isInstance(item, FunctionDecl.$type);\n}\n\nexport interface FunctionParam extends langium.AstNode {\n readonly $container: FunctionDecl;\n readonly $type: 'FunctionParam';\n name: RegularID;\n optional: boolean;\n type: FunctionParamType;\n}\n\nexport const FunctionParam = {\n $type: 'FunctionParam',\n name: 'name',\n optional: 'optional',\n type: 'type'\n} as const;\n\nexport function isFunctionParam(item: unknown): item is FunctionParam {\n return reflection.isInstance(item, FunctionParam.$type);\n}\n\nexport interface FunctionParamType extends langium.AstNode {\n readonly $container: DataFieldParam | FunctionDecl | FunctionParam | Procedure | ProcedureParam;\n readonly $type: 'FunctionParamType';\n array: boolean;\n reference?: langium.Reference<TypeDeclaration>;\n type?: ExpressionType;\n}\n\nexport const FunctionParamType = {\n $type: 'FunctionParamType',\n array: 'array',\n reference: 'reference',\n type: 'type'\n} as const;\n\nexport function isFunctionParamType(item: unknown): item is FunctionParamType {\n return reflection.isInstance(item, FunctionParamType.$type);\n}\n\nexport interface GeneratorDecl extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'GeneratorDecl';\n fields: Array<ConfigField>;\n name: RegularID;\n}\n\nexport const GeneratorDecl = {\n $type: 'GeneratorDecl',\n fields: 'fields',\n name: 'name'\n} as const;\n\nexport function isGeneratorDecl(item: unknown): item is GeneratorDecl {\n return reflection.isInstance(item, GeneratorDecl.$type);\n}\n\nexport interface InternalAttribute extends langium.AstNode {\n readonly $container: Attribute | AttributeParam | FunctionDecl | Procedure;\n readonly $type: 'InternalAttribute';\n args: Array<AttributeArg>;\n decl: langium.Reference<Attribute>;\n}\n\nexport const InternalAttribute = {\n $type: 'InternalAttribute',\n args: 'args',\n decl: 'decl'\n} as const;\n\nexport function isInternalAttribute(item: unknown): item is InternalAttribute {\n return reflection.isInstance(item, InternalAttribute.$type);\n}\n\nexport interface InvocationExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | ConfigField | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'InvocationExpr';\n args: Array<Argument>;\n function: langium.Reference<FunctionDecl>;\n}\n\nexport const InvocationExpr = {\n $type: 'InvocationExpr',\n args: 'args',\n function: 'function'\n} as const;\n\nexport function isInvocationExpr(item: unknown): item is InvocationExpr {\n return reflection.isInstance(item, InvocationExpr.$type);\n}\n\nexport type LiteralExpr = BooleanLiteral | NumberLiteral | StringLiteral;\n\nexport const LiteralExpr = {\n $type: 'LiteralExpr'\n} as const;\n\nexport function isLiteralExpr(item: unknown): item is LiteralExpr {\n return reflection.isInstance(item, LiteralExpr.$type);\n}\n\nexport interface MemberAccessExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'MemberAccessExpr';\n member: langium.Reference<MemberAccessTarget>;\n operand: Expression;\n}\n\nexport const MemberAccessExpr = {\n $type: 'MemberAccessExpr',\n member: 'member',\n operand: 'operand'\n} as const;\n\nexport function isMemberAccessExpr(item: unknown): item is MemberAccessExpr {\n return reflection.isInstance(item, MemberAccessExpr.$type);\n}\n\nexport type MemberAccessTarget = DataField;\n\nexport const MemberAccessTarget = {\n $type: 'MemberAccessTarget'\n} as const;\n\nexport function isMemberAccessTarget(item: unknown): item is MemberAccessTarget {\n return reflection.isInstance(item, MemberAccessTarget.$type);\n}\n\nexport interface Model extends langium.AstNode {\n readonly $type: 'Model';\n declarations: Array<AbstractDeclaration>;\n imports: Array<ModelImport>;\n}\n\nexport const Model = {\n $type: 'Model',\n declarations: 'declarations',\n imports: 'imports'\n} as const;\n\nexport function isModel(item: unknown): item is Model {\n return reflection.isInstance(item, Model.$type);\n}\n\nexport interface ModelImport extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'ModelImport';\n path: string;\n}\n\nexport const ModelImport = {\n $type: 'ModelImport',\n path: 'path'\n} as const;\n\nexport function isModelImport(item: unknown): item is ModelImport {\n return reflection.isInstance(item, ModelImport.$type);\n}\n\nexport interface NullExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'NullExpr';\n value: 'null';\n}\n\nexport const NullExpr = {\n $type: 'NullExpr',\n value: 'value'\n} as const;\n\nexport function isNullExpr(item: unknown): item is NullExpr {\n return reflection.isInstance(item, NullExpr.$type);\n}\n\nexport interface NumberLiteral extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | ConfigArrayExpr | ConfigField | ConfigInvocationArg | FieldInitializer | FunctionDecl | MemberAccessExpr | PluginField | ReferenceArg | UnaryExpr | UnsupportedFieldType;\n readonly $type: 'NumberLiteral';\n value: string;\n}\n\nexport const NumberLiteral = {\n $type: 'NumberLiteral',\n value: 'value'\n} as const;\n\nexport function isNumberLiteral(item: unknown): item is NumberLiteral {\n return reflection.isInstance(item, NumberLiteral.$type);\n}\n\nexport interface ObjectExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | PluginField | ReferenceArg | UnaryExpr;\n readonly $type: 'ObjectExpr';\n fields: Array<FieldInitializer>;\n}\n\nexport const ObjectExpr = {\n $type: 'ObjectExpr',\n fields: 'fields'\n} as const;\n\nexport function isObjectExpr(item: unknown): item is ObjectExpr {\n return reflection.isInstance(item, ObjectExpr.$type);\n}\n\nexport interface Plugin extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'Plugin';\n fields: Array<PluginField>;\n name: RegularID;\n}\n\nexport const Plugin = {\n $type: 'Plugin',\n fields: 'fields',\n name: 'name'\n} as const;\n\nexport function isPlugin(item: unknown): item is Plugin {\n return reflection.isInstance(item, Plugin.$type);\n}\n\nexport interface PluginField extends langium.AstNode {\n readonly $container: Plugin;\n readonly $type: 'PluginField';\n name: RegularID;\n value: ArrayExpr | LiteralExpr | ObjectExpr;\n}\n\nexport const PluginField = {\n $type: 'PluginField',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isPluginField(item: unknown): item is PluginField {\n return reflection.isInstance(item, PluginField.$type);\n}\n\nexport interface Procedure extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'Procedure';\n attributes: Array<InternalAttribute>;\n mutation: boolean;\n name: RegularID;\n params: Array<ProcedureParam>;\n returnType: FunctionParamType;\n}\n\nexport const Procedure = {\n $type: 'Procedure',\n attributes: 'attributes',\n mutation: 'mutation',\n name: 'name',\n params: 'params',\n returnType: 'returnType'\n} as const;\n\nexport function isProcedure(item: unknown): item is Procedure {\n return reflection.isInstance(item, Procedure.$type);\n}\n\nexport interface ProcedureParam extends langium.AstNode {\n readonly $container: Procedure;\n readonly $type: 'ProcedureParam';\n name: RegularID;\n optional: boolean;\n type: FunctionParamType;\n}\n\nexport const ProcedureParam = {\n $type: 'ProcedureParam',\n name: 'name',\n optional: 'optional',\n type: 'type'\n} as const;\n\nexport function isProcedureParam(item: unknown): item is ProcedureParam {\n return reflection.isInstance(item, ProcedureParam.$type);\n}\n\nexport interface ReferenceArg extends langium.AstNode {\n readonly $container: ReferenceExpr;\n readonly $type: 'ReferenceArg';\n name: string;\n value: Expression;\n}\n\nexport const ReferenceArg = {\n $type: 'ReferenceArg',\n name: 'name',\n value: 'value'\n} as const;\n\nexport function isReferenceArg(item: unknown): item is ReferenceArg {\n return reflection.isInstance(item, ReferenceArg.$type);\n}\n\nexport interface ReferenceExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'ReferenceExpr';\n args: Array<ReferenceArg>;\n target: langium.Reference<ReferenceTarget>;\n}\n\nexport const ReferenceExpr = {\n $type: 'ReferenceExpr',\n args: 'args',\n target: 'target'\n} as const;\n\nexport function isReferenceExpr(item: unknown): item is ReferenceExpr {\n return reflection.isInstance(item, ReferenceExpr.$type);\n}\n\nexport type ReferenceTarget = CollectionPredicateBinding | DataField | Enum | EnumField | FunctionParam;\n\nexport const ReferenceTarget = {\n $type: 'ReferenceTarget'\n} as const;\n\nexport function isReferenceTarget(item: unknown): item is ReferenceTarget {\n return reflection.isInstance(item, ReferenceTarget.$type);\n}\n\nexport type RegularID = 'abstract' | 'attribute' | 'datasource' | 'enum' | 'import' | 'in' | 'model' | 'plugin' | 'type' | 'view' | string;\n\nexport function isRegularID(item: unknown): item is RegularID {\n return item === 'model' || item === 'enum' || item === 'attribute' || item === 'datasource' || item === 'plugin' || item === 'abstract' || item === 'in' || item === 'view' || item === 'import' || item === 'type' || (typeof item === 'string' && (/[_a-zA-Z][\\w_]*/.test(item)));\n}\n\nexport type RegularIDWithTypeNames = 'Any' | 'BigInt' | 'Boolean' | 'Bytes' | 'DateTime' | 'Decimal' | 'Float' | 'Int' | 'Json' | 'Null' | 'Object' | 'String' | 'Unsupported' | 'Void' | RegularID;\n\nexport function isRegularIDWithTypeNames(item: unknown): item is RegularIDWithTypeNames {\n return isRegularID(item) || item === 'String' || item === 'Boolean' || item === 'Int' || item === 'BigInt' || item === 'Float' || item === 'Decimal' || item === 'DateTime' || item === 'Json' || item === 'Bytes' || item === 'Null' || item === 'Object' || item === 'Any' || item === 'Void' || item === 'Unsupported';\n}\n\nexport interface StringLiteral extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | ConfigArrayExpr | ConfigField | ConfigInvocationArg | FieldInitializer | FunctionDecl | MemberAccessExpr | PluginField | ReferenceArg | UnaryExpr | UnsupportedFieldType;\n readonly $type: 'StringLiteral';\n value: string;\n}\n\nexport const StringLiteral = {\n $type: 'StringLiteral',\n value: 'value'\n} as const;\n\nexport function isStringLiteral(item: unknown): item is StringLiteral {\n return reflection.isInstance(item, StringLiteral.$type);\n}\n\nexport interface ThisExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'ThisExpr';\n value: 'this';\n}\n\nexport const ThisExpr = {\n $type: 'ThisExpr',\n value: 'value'\n} as const;\n\nexport function isThisExpr(item: unknown): item is ThisExpr {\n return reflection.isInstance(item, ThisExpr.$type);\n}\n\nexport type TypeDeclaration = DataModel | Enum | TypeDef;\n\nexport const TypeDeclaration = {\n $type: 'TypeDeclaration'\n} as const;\n\nexport function isTypeDeclaration(item: unknown): item is TypeDeclaration {\n return reflection.isInstance(item, TypeDeclaration.$type);\n}\n\nexport interface TypeDef extends langium.AstNode {\n readonly $container: Model;\n readonly $type: 'TypeDef';\n attributes: Array<DataModelAttribute>;\n base?: BuiltinType;\n comments: Array<string>;\n fields: Array<DataField>;\n mixins: Array<langium.Reference<TypeDef>>;\n name: RegularID;\n}\n\nexport const TypeDef = {\n $type: 'TypeDef',\n attributes: 'attributes',\n base: 'base',\n comments: 'comments',\n fields: 'fields',\n mixins: 'mixins',\n name: 'name'\n} as const;\n\nexport function isTypeDef(item: unknown): item is TypeDef {\n return reflection.isInstance(item, TypeDef.$type);\n}\n\nexport interface UnaryExpr extends langium.AstNode {\n readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;\n readonly $type: 'UnaryExpr';\n operand: Expression;\n operator: '!';\n}\n\nexport const UnaryExpr = {\n $type: 'UnaryExpr',\n operand: 'operand',\n operator: 'operator'\n} as const;\n\nexport function isUnaryExpr(item: unknown): item is UnaryExpr {\n return reflection.isInstance(item, UnaryExpr.$type);\n}\n\nexport interface UnsupportedFieldType extends langium.AstNode {\n readonly $container: DataFieldType;\n readonly $type: 'UnsupportedFieldType';\n value: LiteralExpr;\n}\n\nexport const UnsupportedFieldType = {\n $type: 'UnsupportedFieldType',\n value: 'value'\n} as const;\n\nexport function isUnsupportedFieldType(item: unknown): item is UnsupportedFieldType {\n return reflection.isInstance(item, UnsupportedFieldType.$type);\n}\n\nexport type ZModelAstType = {\n AbstractDeclaration: AbstractDeclaration\n Argument: Argument\n ArrayExpr: ArrayExpr\n Attribute: Attribute\n AttributeArg: AttributeArg\n AttributeParam: AttributeParam\n AttributeParamType: AttributeParamType\n BinaryExpr: BinaryExpr\n BooleanLiteral: BooleanLiteral\n CollectionPredicateBinding: CollectionPredicateBinding\n ConfigArrayExpr: ConfigArrayExpr\n ConfigExpr: ConfigExpr\n ConfigField: ConfigField\n ConfigInvocationArg: ConfigInvocationArg\n ConfigInvocationExpr: ConfigInvocationExpr\n DataField: DataField\n DataFieldAttribute: DataFieldAttribute\n DataFieldParam: DataFieldParam\n DataFieldType: DataFieldType\n DataModel: DataModel\n DataModelAttribute: DataModelAttribute\n DataSource: DataSource\n Enum: Enum\n EnumField: EnumField\n Expression: Expression\n FieldInitializer: FieldInitializer\n FunctionDecl: FunctionDecl\n FunctionParam: FunctionParam\n FunctionParamType: FunctionParamType\n GeneratorDecl: GeneratorDecl\n InternalAttribute: InternalAttribute\n InvocationExpr: InvocationExpr\n LiteralExpr: LiteralExpr\n MemberAccessExpr: MemberAccessExpr\n MemberAccessTarget: MemberAccessTarget\n Model: Model\n ModelImport: ModelImport\n NullExpr: NullExpr\n NumberLiteral: NumberLiteral\n ObjectExpr: ObjectExpr\n Plugin: Plugin\n PluginField: PluginField\n Procedure: Procedure\n ProcedureParam: ProcedureParam\n ReferenceArg: ReferenceArg\n ReferenceExpr: ReferenceExpr\n ReferenceTarget: ReferenceTarget\n StringLiteral: StringLiteral\n ThisExpr: ThisExpr\n TypeDeclaration: TypeDeclaration\n TypeDef: TypeDef\n UnaryExpr: UnaryExpr\n UnsupportedFieldType: UnsupportedFieldType\n}\n\nexport class ZModelAstReflection extends langium.AbstractAstReflection {\n override readonly types = {\n AbstractDeclaration: {\n name: AbstractDeclaration.$type,\n properties: {\n },\n superTypes: []\n },\n Argument: {\n name: Argument.$type,\n properties: {\n value: {\n name: Argument.value\n }\n },\n superTypes: []\n },\n ArrayExpr: {\n name: ArrayExpr.$type,\n properties: {\n items: {\n name: ArrayExpr.items,\n defaultValue: []\n }\n },\n superTypes: [Expression.$type]\n },\n Attribute: {\n name: Attribute.$type,\n properties: {\n attributes: {\n name: Attribute.attributes,\n defaultValue: []\n },\n comments: {\n name: Attribute.comments,\n defaultValue: []\n },\n name: {\n name: Attribute.name\n },\n params: {\n name: Attribute.params,\n defaultValue: []\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n AttributeArg: {\n name: AttributeArg.$type,\n properties: {\n name: {\n name: AttributeArg.name\n },\n value: {\n name: AttributeArg.value\n }\n },\n superTypes: []\n },\n AttributeParam: {\n name: AttributeParam.$type,\n properties: {\n attributes: {\n name: AttributeParam.attributes,\n defaultValue: []\n },\n comments: {\n name: AttributeParam.comments,\n defaultValue: []\n },\n default: {\n name: AttributeParam.default,\n defaultValue: false\n },\n name: {\n name: AttributeParam.name\n },\n type: {\n name: AttributeParam.type\n }\n },\n superTypes: []\n },\n AttributeParamType: {\n name: AttributeParamType.$type,\n properties: {\n array: {\n name: AttributeParamType.array,\n defaultValue: false\n },\n optional: {\n name: AttributeParamType.optional,\n defaultValue: false\n },\n reference: {\n name: AttributeParamType.reference,\n referenceType: TypeDeclaration.$type\n },\n type: {\n name: AttributeParamType.type\n }\n },\n superTypes: []\n },\n BinaryExpr: {\n name: BinaryExpr.$type,\n properties: {\n binding: {\n name: BinaryExpr.binding\n },\n left: {\n name: BinaryExpr.left\n },\n operator: {\n name: BinaryExpr.operator\n },\n right: {\n name: BinaryExpr.right\n }\n },\n superTypes: [Expression.$type]\n },\n BooleanLiteral: {\n name: BooleanLiteral.$type,\n properties: {\n value: {\n name: BooleanLiteral.value\n }\n },\n superTypes: [LiteralExpr.$type]\n },\n CollectionPredicateBinding: {\n name: CollectionPredicateBinding.$type,\n properties: {\n name: {\n name: CollectionPredicateBinding.name\n }\n },\n superTypes: [ReferenceTarget.$type]\n },\n ConfigArrayExpr: {\n name: ConfigArrayExpr.$type,\n properties: {\n items: {\n name: ConfigArrayExpr.items,\n defaultValue: []\n }\n },\n superTypes: [ConfigExpr.$type]\n },\n ConfigExpr: {\n name: ConfigExpr.$type,\n properties: {\n },\n superTypes: []\n },\n ConfigField: {\n name: ConfigField.$type,\n properties: {\n name: {\n name: ConfigField.name\n },\n value: {\n name: ConfigField.value\n }\n },\n superTypes: []\n },\n ConfigInvocationArg: {\n name: ConfigInvocationArg.$type,\n properties: {\n name: {\n name: ConfigInvocationArg.name\n },\n value: {\n name: ConfigInvocationArg.value\n }\n },\n superTypes: []\n },\n ConfigInvocationExpr: {\n name: ConfigInvocationExpr.$type,\n properties: {\n args: {\n name: ConfigInvocationExpr.args,\n defaultValue: []\n },\n name: {\n name: ConfigInvocationExpr.name\n }\n },\n superTypes: []\n },\n DataField: {\n name: DataField.$type,\n properties: {\n attributes: {\n name: DataField.attributes,\n defaultValue: []\n },\n comments: {\n name: DataField.comments,\n defaultValue: []\n },\n name: {\n name: DataField.name\n },\n params: {\n name: DataField.params,\n defaultValue: []\n },\n type: {\n name: DataField.type\n }\n },\n superTypes: [MemberAccessTarget.$type, ReferenceTarget.$type]\n },\n DataFieldAttribute: {\n name: DataFieldAttribute.$type,\n properties: {\n args: {\n name: DataFieldAttribute.args,\n defaultValue: []\n },\n decl: {\n name: DataFieldAttribute.decl,\n referenceType: Attribute.$type\n }\n },\n superTypes: []\n },\n DataFieldParam: {\n name: DataFieldParam.$type,\n properties: {\n name: {\n name: DataFieldParam.name\n },\n optional: {\n name: DataFieldParam.optional,\n defaultValue: false\n },\n type: {\n name: DataFieldParam.type\n }\n },\n superTypes: []\n },\n DataFieldType: {\n name: DataFieldType.$type,\n properties: {\n array: {\n name: DataFieldType.array,\n defaultValue: false\n },\n optional: {\n name: DataFieldType.optional,\n defaultValue: false\n },\n reference: {\n name: DataFieldType.reference,\n referenceType: TypeDeclaration.$type\n },\n type: {\n name: DataFieldType.type\n },\n unsupported: {\n name: DataFieldType.unsupported\n }\n },\n superTypes: []\n },\n DataModel: {\n name: DataModel.$type,\n properties: {\n attributes: {\n name: DataModel.attributes,\n defaultValue: []\n },\n base: {\n name: DataModel.base\n },\n baseModel: {\n name: DataModel.baseModel,\n referenceType: DataModel.$type\n },\n comments: {\n name: DataModel.comments,\n defaultValue: []\n },\n fields: {\n name: DataModel.fields,\n defaultValue: []\n },\n isView: {\n name: DataModel.isView,\n defaultValue: false\n },\n mixins: {\n name: DataModel.mixins,\n defaultValue: [],\n referenceType: TypeDef.$type\n },\n name: {\n name: DataModel.name\n }\n },\n superTypes: [AbstractDeclaration.$type, TypeDeclaration.$type]\n },\n DataModelAttribute: {\n name: DataModelAttribute.$type,\n properties: {\n args: {\n name: DataModelAttribute.args,\n defaultValue: []\n },\n decl: {\n name: DataModelAttribute.decl,\n referenceType: Attribute.$type\n }\n },\n superTypes: []\n },\n DataSource: {\n name: DataSource.$type,\n properties: {\n fields: {\n name: DataSource.fields,\n defaultValue: []\n },\n name: {\n name: DataSource.name\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n Enum: {\n name: Enum.$type,\n properties: {\n attributes: {\n name: Enum.attributes,\n defaultValue: []\n },\n comments: {\n name: Enum.comments,\n defaultValue: []\n },\n fields: {\n name: Enum.fields,\n defaultValue: []\n },\n name: {\n name: Enum.name\n }\n },\n superTypes: [AbstractDeclaration.$type, ReferenceTarget.$type, TypeDeclaration.$type]\n },\n EnumField: {\n name: EnumField.$type,\n properties: {\n attributes: {\n name: EnumField.attributes,\n defaultValue: []\n },\n comments: {\n name: EnumField.comments,\n defaultValue: []\n },\n name: {\n name: EnumField.name\n }\n },\n superTypes: [ReferenceTarget.$type]\n },\n Expression: {\n name: Expression.$type,\n properties: {\n },\n superTypes: []\n },\n FieldInitializer: {\n name: FieldInitializer.$type,\n properties: {\n name: {\n name: FieldInitializer.name\n },\n value: {\n name: FieldInitializer.value\n }\n },\n superTypes: []\n },\n FunctionDecl: {\n name: FunctionDecl.$type,\n properties: {\n attributes: {\n name: FunctionDecl.attributes,\n defaultValue: []\n },\n expression: {\n name: FunctionDecl.expression\n },\n name: {\n name: FunctionDecl.name\n },\n params: {\n name: FunctionDecl.params,\n defaultValue: []\n },\n returnType: {\n name: FunctionDecl.returnType\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n FunctionParam: {\n name: FunctionParam.$type,\n properties: {\n name: {\n name: FunctionParam.name\n },\n optional: {\n name: FunctionParam.optional,\n defaultValue: false\n },\n type: {\n name: FunctionParam.type\n }\n },\n superTypes: [ReferenceTarget.$type]\n },\n FunctionParamType: {\n name: FunctionParamType.$type,\n properties: {\n array: {\n name: FunctionParamType.array,\n defaultValue: false\n },\n reference: {\n name: FunctionParamType.reference,\n referenceType: TypeDeclaration.$type\n },\n type: {\n name: FunctionParamType.type\n }\n },\n superTypes: []\n },\n GeneratorDecl: {\n name: GeneratorDecl.$type,\n properties: {\n fields: {\n name: GeneratorDecl.fields,\n defaultValue: []\n },\n name: {\n name: GeneratorDecl.name\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n InternalAttribute: {\n name: InternalAttribute.$type,\n properties: {\n args: {\n name: InternalAttribute.args,\n defaultValue: []\n },\n decl: {\n name: InternalAttribute.decl,\n referenceType: Attribute.$type\n }\n },\n superTypes: []\n },\n InvocationExpr: {\n name: InvocationExpr.$type,\n properties: {\n args: {\n name: InvocationExpr.args,\n defaultValue: []\n },\n function: {\n name: InvocationExpr.function,\n referenceType: FunctionDecl.$type\n }\n },\n superTypes: [ConfigExpr.$type, Expression.$type]\n },\n LiteralExpr: {\n name: LiteralExpr.$type,\n properties: {\n },\n superTypes: [ConfigExpr.$type, Expression.$type]\n },\n MemberAccessExpr: {\n name: MemberAccessExpr.$type,\n properties: {\n member: {\n name: MemberAccessExpr.member,\n referenceType: MemberAccessTarget.$type\n },\n operand: {\n name: MemberAccessExpr.operand\n }\n },\n superTypes: [Expression.$type]\n },\n MemberAccessTarget: {\n name: MemberAccessTarget.$type,\n properties: {\n },\n superTypes: []\n },\n Model: {\n name: Model.$type,\n properties: {\n declarations: {\n name: Model.declarations,\n defaultValue: []\n },\n imports: {\n name: Model.imports,\n defaultValue: []\n }\n },\n superTypes: []\n },\n ModelImport: {\n name: ModelImport.$type,\n properties: {\n path: {\n name: ModelImport.path\n }\n },\n superTypes: []\n },\n NullExpr: {\n name: NullExpr.$type,\n properties: {\n value: {\n name: NullExpr.value\n }\n },\n superTypes: [Expression.$type]\n },\n NumberLiteral: {\n name: NumberLiteral.$type,\n properties: {\n value: {\n name: NumberLiteral.value\n }\n },\n superTypes: [LiteralExpr.$type]\n },\n ObjectExpr: {\n name: ObjectExpr.$type,\n properties: {\n fields: {\n name: ObjectExpr.fields,\n defaultValue: []\n }\n },\n superTypes: [Expression.$type]\n },\n Plugin: {\n name: Plugin.$type,\n properties: {\n fields: {\n name: Plugin.fields,\n defaultValue: []\n },\n name: {\n name: Plugin.name\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n PluginField: {\n name: PluginField.$type,\n properties: {\n name: {\n name: PluginField.name\n },\n value: {\n name: PluginField.value\n }\n },\n superTypes: []\n },\n Procedure: {\n name: Procedure.$type,\n properties: {\n attributes: {\n name: Procedure.attributes,\n defaultValue: []\n },\n mutation: {\n name: Procedure.mutation,\n defaultValue: false\n },\n name: {\n name: Procedure.name\n },\n params: {\n name: Procedure.params,\n defaultValue: []\n },\n returnType: {\n name: Procedure.returnType\n }\n },\n superTypes: [AbstractDeclaration.$type]\n },\n ProcedureParam: {\n name: ProcedureParam.$type,\n properties: {\n name: {\n name: ProcedureParam.name\n },\n optional: {\n name: ProcedureParam.optional,\n defaultValue: false\n },\n type: {\n name: ProcedureParam.type\n }\n },\n superTypes: []\n },\n ReferenceArg: {\n name: ReferenceArg.$type,\n properties: {\n name: {\n name: ReferenceArg.name\n },\n value: {\n name: ReferenceArg.value\n }\n },\n superTypes: []\n },\n ReferenceExpr: {\n name: ReferenceExpr.$type,\n properties: {\n args: {\n name: ReferenceExpr.args,\n defaultValue: []\n },\n target: {\n name: ReferenceExpr.target,\n referenceType: ReferenceTarget.$type\n }\n },\n superTypes: [Expression.$type]\n },\n ReferenceTarget: {\n name: ReferenceTarget.$type,\n properties: {\n },\n superTypes: []\n },\n StringLiteral: {\n name: StringLiteral.$type,\n properties: {\n value: {\n name: StringLiteral.value\n }\n },\n superTypes: [LiteralExpr.$type]\n },\n ThisExpr: {\n name: ThisExpr.$type,\n properties: {\n value: {\n name: ThisExpr.value\n }\n },\n superTypes: [Expression.$type]\n },\n TypeDeclaration: {\n name: TypeDeclaration.$type,\n properties: {\n },\n superTypes: []\n },\n TypeDef: {\n name: TypeDef.$type,\n properties: {\n attributes: {\n name: TypeDef.attributes,\n defaultValue: []\n },\n base: {\n name: TypeDef.base\n },\n comments: {\n name: TypeDef.comments,\n defaultValue: []\n },\n fields: {\n name: TypeDef.fields,\n defaultValue: []\n },\n mixins: {\n name: TypeDef.mixins,\n defaultValue: [],\n referenceType: TypeDef.$type\n },\n name: {\n name: TypeDef.name\n }\n },\n superTypes: [AbstractDeclaration.$type, TypeDeclaration.$type]\n },\n UnaryExpr: {\n name: UnaryExpr.$type,\n properties: {\n operand: {\n name: UnaryExpr.operand\n },\n operator: {\n name: UnaryExpr.operator\n }\n },\n superTypes: [Expression.$type]\n },\n UnsupportedFieldType: {\n name: UnsupportedFieldType.$type,\n properties: {\n value: {\n name: UnsupportedFieldType.value\n }\n },\n superTypes: []\n }\n } as const satisfies langium.AstMetaData\n}\n\nexport const reflection = new ZModelAstReflection();\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAa,kBAAkB;CAC3B,IAAI;CACJ,yBAAyB;CACzB,sBAAsB;CACtB,sBAAsB;CACtB,IAAI;CACJ,QAAQ;CACR,QAAQ;CACR,sBAAsB;CACtB,YAAY;CACZ,YAAY;CACf;AAuED,MAAa,sBAAsB,EAC/B,OAAO,uBACV;AAED,SAAgB,sBAAsB,MAA4C;AAC9E,QAAO,WAAW,WAAW,MAAM,oBAAoB,MAAM;;AASjE,MAAa,WAAW;CACpB,OAAO;CACP,OAAO;CACV;AAED,SAAgB,WAAW,MAAiC;AACxD,QAAO,WAAW,WAAW,MAAM,SAAS,MAAM;;AAStD,MAAa,YAAY;CACrB,OAAO;CACP,OAAO;CACV;AAED,SAAgB,YAAY,MAAkC;AAC1D,QAAO,WAAW,WAAW,MAAM,UAAU,MAAM;;AAYvD,MAAa,YAAY;CACrB,OAAO;CACP,YAAY;CACZ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Y,EACX;GACD,YAAY,EAAE;GACjB;EACD,eAAe;GACX,MAAM,cAAc;GACpB,YAAY,EACR,OAAO,EACH,MAAM,cAAc,OACvB,EACJ;GACD,YAAY,CAAC,YAAY,MAAM;GAClC;EACD,UAAU;GACN,MAAM,SAAS;GACf,YAAY,EACR,OAAO,EACH,MAAM,SAAS,OAClB,EACJ;GACD,YAAY,CAAC,WAAW,MAAM;GACjC;EACD,iBAAiB;GACb,MAAM,gBAAgB;GACtB,YAAY,EACX;GACD,YAAY,EAAE;GACjB;EACD,SAAS;GACL,MAAM,QAAQ;GACd,YAAY;IACR,YAAY;KACR,MAAM,QAAQ;KACd,cAAc,EAAE;KACnB;IACD,MAAM,EACF,MAAM,QAAQ,MACjB;IACD,UAAU;KACN,MAAM,QAAQ;KACd,cAAc,EAAE;KACnB;IACD,QAAQ;KACJ,MAAM,QAAQ;KACd,cAAc,EAAE;KACnB;IACD,QAAQ;KACJ,MAAM,QAAQ;KACd,cAAc,EAAE;KAChB,eAAe,QAAQ;KAC1B;IACD,MAAM,EACF,MAAM,QAAQ,MACjB;IACJ;GACD,YAAY,CAAC,oBAAoB,OAAO,gBAAgB,MAAM;GACjE;EACD,WAAW;GACP,MAAM,UAAU;GAChB,YAAY;IACR,SAAS,EACL,MAAM,UAAU,SACnB;IACD,UAAU,EACN,MAAM,UAAU,UACnB;IACJ;GACD,YAAY,CAAC,WAAW,MAAM;GACjC;EACD,sBAAsB;GAClB,MAAM,qBAAqB;GAC3B,YAAY,EACR,OAAO,EACH,MAAM,qBAAqB,OAC9B,EACJ;GACD,YAAY,EAAE;GACjB;EACJ;;AAGL,MAAa,aAAa,IAAI,qBAAqB"}
@@ -202,7 +202,7 @@ interface DataField extends langium.AstNode {
202
202
  readonly $type: 'DataField';
203
203
  attributes: Array<DataFieldAttribute>;
204
204
  comments: Array<string>;
205
- name: RegularIDWithTypeNames;
205
+ name: DataFieldName;
206
206
  params: Array<DataFieldParam>;
207
207
  type: DataFieldType;
208
208
  }
@@ -227,6 +227,8 @@ declare const DataFieldAttribute: {
227
227
  readonly decl: "decl";
228
228
  };
229
229
  declare function isDataFieldAttribute(item: unknown): item is DataFieldAttribute;
230
+ type DataFieldName = 'this' | RegularIDWithTypeNames;
231
+ declare function isDataFieldName(item: unknown): item is DataFieldName;
230
232
  interface DataFieldParam extends langium.AstNode {
231
233
  readonly $container: DataField;
232
234
  readonly $type: 'DataFieldParam';
@@ -263,6 +265,7 @@ interface DataModel extends langium.AstNode {
263
265
  readonly $container: Model;
264
266
  readonly $type: 'DataModel';
265
267
  attributes: Array<DataModelAttribute>;
268
+ base?: BuiltinType;
266
269
  baseModel?: langium.Reference<DataModel>;
267
270
  comments: Array<string>;
268
271
  fields: Array<DataField>;
@@ -275,6 +278,7 @@ interface DataModel extends langium.AstNode {
275
278
  declare const DataModel: {
276
279
  readonly $type: "DataModel";
277
280
  readonly attributes: "attributes";
281
+ readonly base: "base";
278
282
  readonly baseModel: "baseModel";
279
283
  readonly comments: "comments";
280
284
  readonly fields: "fields";
@@ -591,7 +595,7 @@ declare const ReferenceExpr: {
591
595
  readonly target: "target";
592
596
  };
593
597
  declare function isReferenceExpr(item: unknown): item is ReferenceExpr;
594
- type ReferenceTarget = CollectionPredicateBinding | DataField | EnumField | FunctionParam;
598
+ type ReferenceTarget = CollectionPredicateBinding | DataField | Enum | EnumField | FunctionParam;
595
599
  declare const ReferenceTarget: {
596
600
  readonly $type: "ReferenceTarget";
597
601
  };
@@ -629,6 +633,7 @@ interface TypeDef extends langium.AstNode {
629
633
  readonly $container: Model;
630
634
  readonly $type: 'TypeDef';
631
635
  attributes: Array<DataModelAttribute>;
636
+ base?: BuiltinType;
632
637
  comments: Array<string>;
633
638
  fields: Array<DataField>;
634
639
  mixins: Array<langium.Reference<TypeDef>>;
@@ -637,6 +642,7 @@ interface TypeDef extends langium.AstNode {
637
642
  declare const TypeDef: {
638
643
  readonly $type: "TypeDef";
639
644
  readonly attributes: "attributes";
645
+ readonly base: "base";
640
646
  readonly comments: "comments";
641
647
  readonly fields: "fields";
642
648
  readonly mixins: "mixins";
@@ -997,6 +1003,9 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
997
1003
  readonly name: "attributes";
998
1004
  readonly defaultValue: [];
999
1005
  };
1006
+ readonly base: {
1007
+ readonly name: "base";
1008
+ };
1000
1009
  readonly baseModel: {
1001
1010
  readonly name: "baseModel";
1002
1011
  readonly referenceType: "DataModel";
@@ -1070,7 +1079,7 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
1070
1079
  readonly name: "name";
1071
1080
  };
1072
1081
  };
1073
- readonly superTypes: ["AbstractDeclaration", "TypeDeclaration"];
1082
+ readonly superTypes: ["AbstractDeclaration", "ReferenceTarget", "TypeDeclaration"];
1074
1083
  };
1075
1084
  readonly EnumField: {
1076
1085
  readonly name: "EnumField";
@@ -1403,6 +1412,9 @@ declare class ZModelAstReflection extends langium.AbstractAstReflection {
1403
1412
  readonly name: "attributes";
1404
1413
  readonly defaultValue: [];
1405
1414
  };
1415
+ readonly base: {
1416
+ readonly name: "base";
1417
+ };
1406
1418
  readonly comments: {
1407
1419
  readonly name: "comments";
1408
1420
  readonly defaultValue: [];
@@ -1473,5 +1485,5 @@ declare module 'langium' {
1473
1485
  }
1474
1486
  }
1475
1487
  //#endregion
1476
- export { ProcedureParam as $, isMemberAccessExpr as $t, DataSource as A, isConfigExpr as At, InternalAttribute as B, isDataSource as Bt, ConfigInvocationExpr as C, isAttributeParamType as Ct, DataFieldType as D, isBuiltinType as Dt, DataFieldParam as E, isBooleanLiteral as Et, FieldInitializer as F, isDataFieldAttribute as Ft, Model as G, isFieldInitializer as Gt, LiteralExpr as H, isEnumField as Ht, FunctionDecl as I, isDataFieldParam as It, NumberLiteral as J, isFunctionParamType as Jt, ModelImport as K, isFunctionDecl as Kt, FunctionParam as L, isDataFieldType as Lt, EnumField as M, isConfigInvocationArg as Mt, Expression as N, isConfigInvocationExpr as Nt, DataModel as O, isCollectionPredicateBinding as Ot, ExpressionType as P, isDataField as Pt, Procedure as Q, isLiteralExpr as Qt, FunctionParamType as R, isDataModel as Rt, ConfigInvocationArg as S, isAttributeParam as St, DataFieldAttribute as T, isBoolean as Tt, MemberAccessExpr as U, isExpression as Ut, InvocationExpr as V, isEnum as Vt, MemberAccessTarget as W, isExpressionType as Wt, Plugin as X, isInternalAttribute as Xt, ObjectExpr as Y, isGeneratorDecl as Yt, PluginField as Z, isInvocationExpr as Zt, BuiltinType as _, isTypeDeclaration as _n, isAbstractDeclaration as _t, ResolvedShape as a, isObjectExpr as an, StringLiteral as at, ConfigExpr as b, isUnsupportedFieldType as bn, isAttribute as bt, Argument as c, isProcedure as cn, TypeDef as ct, AttributeArg as d, isReferenceExpr as dn, ZModelAstReflection as dt, isMemberAccessTarget as en, ReferenceArg as et, AttributeParam as f, isReferenceTarget as fn, ZModelAstType as ft, BooleanLiteral as g, isThisExpr as gn, ZModelTokenNames as gt, Boolean as h, isStringLiteral as hn, ZModelTerminals as ht, Reference$1 as i, isNumberLiteral as in, RegularIDWithTypeNames as it, Enum as j, isConfigField as jt, DataModelAttribute as k, isConfigArrayExpr as kt, ArrayExpr as l, isProcedureParam as ln, UnaryExpr as lt, BinaryExpr as m, isRegularIDWithTypeNames as mn, ZModelTerminalNames as mt, BinaryExprOperatorPriority as n, isModelImport as nn, ReferenceTarget as nt, ResolvedType as o, isPlugin as on, ThisExpr as ot, AttributeParamType as p, isRegularID as pn, ZModelKeywordNames as pt, NullExpr as q, isFunctionParam as qt, InheritableNode as r, isNullExpr as rn, RegularID as rt, AbstractDeclaration as s, isPluginField as sn, TypeDeclaration as st, AstNode$1 as t, isModel as tn, ReferenceExpr as tt, Attribute as u, isReferenceArg as un, UnsupportedFieldType as ut, CollectionPredicateBinding as v, isTypeDef as vn, isArgument as vt, DataField as w, isBinaryExpr as wt, ConfigField as x, reflection as xn, isAttributeArg as xt, ConfigArrayExpr as y, isUnaryExpr as yn, isArrayExpr as yt, GeneratorDecl as z, isDataModelAttribute as zt };
1477
- //# sourceMappingURL=ast-DoH2ngKH.d.mts.map
1488
+ export { Procedure as $, isInvocationExpr as $t, DataModelAttribute as A, isConfigArrayExpr as At, GeneratorDecl as B, isDataModel as Bt, ConfigInvocationExpr as C, reflection as Cn, isAttributeParam as Ct, DataFieldParam as D, isBooleanLiteral as Dt, DataFieldName as E, isBoolean as Et, ExpressionType as F, isDataField as Ft, MemberAccessTarget as G, isExpression as Gt, InvocationExpr as H, isDataSource as Ht, FieldInitializer as I, isDataFieldAttribute as It, NullExpr as J, isFunctionDecl as Jt, Model as K, isExpressionType as Kt, FunctionDecl as L, isDataFieldName as Lt, Enum as M, isConfigField as Mt, EnumField as N, isConfigInvocationArg as Nt, DataFieldType as O, isBuiltinType as Ot, Expression as P, isConfigInvocationExpr as Pt, PluginField as Q, isInternalAttribute as Qt, FunctionParam as R, isDataFieldParam as Rt, ConfigInvocationArg as S, isUnsupportedFieldType as Sn, isAttributeArg as St, DataFieldAttribute as T, isBinaryExpr as Tt, LiteralExpr as U, isEnum as Ut, InternalAttribute as V, isDataModelAttribute as Vt, MemberAccessExpr as W, isEnumField as Wt, ObjectExpr as X, isFunctionParamType as Xt, NumberLiteral as Y, isFunctionParam as Yt, Plugin as Z, isGeneratorDecl as Zt, BuiltinType as _, isStringLiteral as _n, ZModelTokenNames as _t, ResolvedShape as a, isNullExpr as an, RegularIDWithTypeNames as at, ConfigExpr as b, isTypeDef as bn, isArrayExpr as bt, Argument as c, isPlugin as cn, TypeDeclaration as ct, AttributeArg as d, isProcedureParam as dn, UnsupportedFieldType as dt, isLiteralExpr as en, ProcedureParam as et, AttributeParam as f, isReferenceArg as fn, ZModelAstReflection as ft, BooleanLiteral as g, isRegularIDWithTypeNames as gn, ZModelTerminals as gt, Boolean as h, isRegularID as hn, ZModelTerminalNames as ht, Reference$1 as i, isModelImport as in, RegularID as it, DataSource as j, isConfigExpr as jt, DataModel as k, isCollectionPredicateBinding as kt, ArrayExpr as l, isPluginField as ln, TypeDef as lt, BinaryExpr as m, isReferenceTarget as mn, ZModelKeywordNames as mt, BinaryExprOperatorPriority as n, isMemberAccessTarget as nn, ReferenceExpr as nt, ResolvedType as o, isNumberLiteral as on, StringLiteral as ot, AttributeParamType as p, isReferenceExpr as pn, ZModelAstType as pt, ModelImport as q, isFieldInitializer as qt, InheritableNode as r, isModel as rn, ReferenceTarget as rt, AbstractDeclaration as s, isObjectExpr as sn, ThisExpr as st, AstNode$1 as t, isMemberAccessExpr as tn, ReferenceArg as tt, Attribute as u, isProcedure as un, UnaryExpr as ut, CollectionPredicateBinding as v, isThisExpr as vn, isAbstractDeclaration as vt, DataField as w, isAttributeParamType as wt, ConfigField as x, isUnaryExpr as xn, isAttribute as xt, ConfigArrayExpr as y, isTypeDeclaration as yn, isArgument as yt, FunctionParamType as z, isDataFieldType as zt };
1489
+ //# sourceMappingURL=ast-DZ3cHwI-.d.cts.map
@@ -157,6 +157,9 @@ const DataFieldAttribute = {
157
157
  function isDataFieldAttribute(item) {
158
158
  return reflection.isInstance(item, DataFieldAttribute.$type);
159
159
  }
160
+ function isDataFieldName(item) {
161
+ return isRegularIDWithTypeNames(item) || item === "this";
162
+ }
160
163
  const DataFieldParam = {
161
164
  $type: "DataFieldParam",
162
165
  name: "name",
@@ -180,6 +183,7 @@ function isDataFieldType(item) {
180
183
  const DataModel = {
181
184
  $type: "DataModel",
182
185
  attributes: "attributes",
186
+ base: "base",
183
187
  baseModel: "baseModel",
184
188
  comments: "comments",
185
189
  fields: "fields",
@@ -428,6 +432,7 @@ function isTypeDeclaration(item) {
428
432
  const TypeDef = {
429
433
  $type: "TypeDef",
430
434
  attributes: "attributes",
435
+ base: "base",
431
436
  comments: "comments",
432
437
  fields: "fields",
433
438
  mixins: "mixins",
@@ -670,6 +675,7 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
670
675
  name: DataModel.attributes,
671
676
  defaultValue: []
672
677
  },
678
+ base: { name: DataModel.base },
673
679
  baseModel: {
674
680
  name: DataModel.baseModel,
675
681
  referenceType: DataModel.$type
@@ -737,7 +743,11 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
737
743
  },
738
744
  name: { name: Enum.name }
739
745
  },
740
- superTypes: [AbstractDeclaration.$type, TypeDeclaration.$type]
746
+ superTypes: [
747
+ AbstractDeclaration.$type,
748
+ ReferenceTarget.$type,
749
+ TypeDeclaration.$type
750
+ ]
741
751
  },
742
752
  EnumField: {
743
753
  name: EnumField.$type,
@@ -1008,6 +1018,7 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
1008
1018
  name: TypeDef.attributes,
1009
1019
  defaultValue: []
1010
1020
  },
1021
+ base: { name: TypeDef.base },
1011
1022
  comments: {
1012
1023
  name: TypeDef.comments,
1013
1024
  defaultValue: []
@@ -1042,6 +1053,6 @@ var ZModelAstReflection = class extends langium.AbstractAstReflection {
1042
1053
  };
1043
1054
  const reflection = new ZModelAstReflection();
1044
1055
  //#endregion
1045
- export { UnsupportedFieldType as $, isRegularIDWithTypeNames as $t, GeneratorDecl as A, isFieldInitializer as At, ObjectExpr as B, isModel as Bt, Enum as C, isDataModel as Ct, FunctionDecl as D, isEnumField as Dt, FieldInitializer as E, isEnum as Et, MemberAccessTarget as F, isInternalAttribute as Ft, ReferenceArg as G, isPlugin as Gt, PluginField as H, isNullExpr as Ht, Model as I, isInvocationExpr as It, StringLiteral as J, isProcedureParam as Jt, ReferenceExpr as K, isPluginField as Kt, ModelImport as L, isLiteralExpr as Lt, InvocationExpr as M, isFunctionParam as Mt, LiteralExpr as N, isFunctionParamType as Nt, FunctionParam as O, isExpression as Ot, MemberAccessExpr as P, isGeneratorDecl as Pt, UnaryExpr as Q, isRegularID as Qt, NullExpr as R, isMemberAccessExpr as Rt, DataSource as S, isDataFieldType as St, Expression as T, isDataSource as Tt, Procedure as U, isNumberLiteral as Ut, Plugin as V, isModelImport as Vt, ProcedureParam as W, isObjectExpr as Wt, TypeDeclaration as X, isReferenceExpr as Xt, ThisExpr as Y, isReferenceArg as Yt, TypeDef as Z, isReferenceTarget as Zt, DataFieldAttribute as _, isConfigInvocationArg as _t, AttributeArg as a, isUnsupportedFieldType as an, isAttribute as at, DataModel as b, isDataFieldAttribute as bt, BinaryExpr as c, isAttributeParamType as ct, ConfigArrayExpr as d, isBooleanLiteral as dt, isStringLiteral as en, ZModelAstReflection as et, ConfigExpr as f, isBuiltinType as ft, DataField as g, isConfigField as gt, ConfigInvocationExpr as h, isConfigExpr as ht, Attribute as i, isUnaryExpr as in, isArrayExpr as it, InternalAttribute as j, isFunctionDecl as jt, FunctionParamType as k, isExpressionType as kt, BooleanLiteral as l, isBinaryExpr as lt, ConfigInvocationArg as m, isConfigArrayExpr as mt, Argument as n, isTypeDeclaration as nn, isAbstractDeclaration as nt, AttributeParam as o, reflection as on, isAttributeArg as ot, ConfigField as p, isCollectionPredicateBinding as pt, ReferenceTarget as q, isProcedure as qt, ArrayExpr as r, isTypeDef as rn, isArgument as rt, AttributeParamType as s, isAttributeParam as st, AbstractDeclaration as t, isThisExpr as tn, ZModelTerminals as tt, CollectionPredicateBinding as u, isBoolean as ut, DataFieldParam as v, isConfigInvocationExpr as vt, EnumField as w, isDataModelAttribute as wt, DataModelAttribute as x, isDataFieldParam as xt, DataFieldType as y, isDataField as yt, NumberLiteral as z, isMemberAccessTarget as zt };
1056
+ export { UnsupportedFieldType as $, isRegularID as $t, GeneratorDecl as A, isExpressionType as At, ObjectExpr as B, isMemberAccessTarget as Bt, Enum as C, isDataFieldType as Ct, FunctionDecl as D, isEnum as Dt, FieldInitializer as E, isDataSource as Et, MemberAccessTarget as F, isGeneratorDecl as Ft, ReferenceArg as G, isObjectExpr as Gt, PluginField as H, isModelImport as Ht, Model as I, isInternalAttribute as It, StringLiteral as J, isProcedure as Jt, ReferenceExpr as K, isPlugin as Kt, ModelImport as L, isInvocationExpr as Lt, InvocationExpr as M, isFunctionDecl as Mt, LiteralExpr as N, isFunctionParam as Nt, FunctionParam as O, isEnumField as Ot, MemberAccessExpr as P, isFunctionParamType as Pt, UnaryExpr as Q, isReferenceTarget as Qt, NullExpr as R, isLiteralExpr as Rt, DataSource as S, isDataFieldParam as St, Expression as T, isDataModelAttribute as Tt, Procedure as U, isNullExpr as Ut, Plugin as V, isModel as Vt, ProcedureParam as W, isNumberLiteral as Wt, TypeDeclaration as X, isReferenceArg as Xt, ThisExpr as Y, isProcedureParam as Yt, TypeDef as Z, isReferenceExpr as Zt, DataFieldAttribute as _, isConfigInvocationArg as _t, AttributeArg as a, isUnaryExpr as an, isAttribute as at, DataModel as b, isDataFieldAttribute as bt, BinaryExpr as c, isAttributeParamType as ct, ConfigArrayExpr as d, isBooleanLiteral as dt, isRegularIDWithTypeNames as en, ZModelAstReflection as et, ConfigExpr as f, isBuiltinType as ft, DataField as g, isConfigField as gt, ConfigInvocationExpr as h, isConfigExpr as ht, Attribute as i, isTypeDef as in, isArrayExpr as it, InternalAttribute as j, isFieldInitializer as jt, FunctionParamType as k, isExpression as kt, BooleanLiteral as l, isBinaryExpr as lt, ConfigInvocationArg as m, isConfigArrayExpr as mt, Argument as n, isThisExpr as nn, isAbstractDeclaration as nt, AttributeParam as o, isUnsupportedFieldType as on, isAttributeArg as ot, ConfigField as p, isCollectionPredicateBinding as pt, ReferenceTarget as q, isPluginField as qt, ArrayExpr as r, isTypeDeclaration as rn, isArgument as rt, AttributeParamType as s, reflection as sn, isAttributeParam as st, AbstractDeclaration as t, isStringLiteral as tn, ZModelTerminals as tt, CollectionPredicateBinding as u, isBoolean as ut, DataFieldParam as v, isConfigInvocationExpr as vt, EnumField as w, isDataModel as wt, DataModelAttribute as x, isDataFieldName as xt, DataFieldType as y, isDataField as yt, NumberLiteral as z, isMemberAccessExpr as zt };
1046
1057
 
1047
- //# sourceMappingURL=ast-DJOHdY8l.mjs.map
1058
+ //# sourceMappingURL=ast-taPWpbmU.mjs.map