@zenstackhq/language
Advanced tools
Comparing version 0.6.0-pre.19 to 1.0.0-alpha.19
/****************************************************************************** | ||
* This file was generated by langium-cli 0.5.0. | ||
* This file was generated by langium-cli 1.0.0. | ||
* DO NOT EDIT MANUALLY! | ||
******************************************************************************/ | ||
import { AstNode, AstReflection, Reference, ReferenceInfo, TypeMetaData } from 'langium'; | ||
export type AbstractDeclaration = Attribute | DataModel | DataSource | Enum | Function | Generator | Plugin; | ||
import { AstNode, AbstractAstReflection, Reference, ReferenceInfo, TypeMetaData } from 'langium'; | ||
export type AbstractDeclaration = Attribute | DataModel | DataSource | Enum | FunctionDecl | GeneratorDecl | Plugin; | ||
export declare const AbstractDeclaration = "AbstractDeclaration"; | ||
@@ -26,2 +26,3 @@ export declare function isAbstractDeclaration(item: unknown): item is AbstractDeclaration; | ||
readonly $container: InvocationExpr; | ||
readonly $type: 'Argument'; | ||
name?: string; | ||
@@ -33,3 +34,4 @@ value: Expression; | ||
export interface ArrayExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'ArrayExpr'; | ||
items: Array<Expression>; | ||
@@ -41,2 +43,3 @@ } | ||
readonly $container: Model; | ||
readonly $type: 'Attribute'; | ||
attributes: Array<AttributeAttribute>; | ||
@@ -50,2 +53,3 @@ name: AttributeName; | ||
readonly $container: AttributeAttribute | DataModelAttribute | DataModelFieldAttribute; | ||
readonly $type: 'AttributeArg'; | ||
name?: string; | ||
@@ -58,2 +62,3 @@ value: Expression; | ||
readonly $container: Attribute; | ||
readonly $type: 'AttributeAttribute'; | ||
args: Array<AttributeArg>; | ||
@@ -66,2 +71,3 @@ decl: Reference<Attribute>; | ||
readonly $container: Attribute; | ||
readonly $type: 'AttributeParam'; | ||
default: boolean; | ||
@@ -75,2 +81,3 @@ name: string; | ||
readonly $container: AttributeParam; | ||
readonly $type: 'AttributeParamType'; | ||
array: boolean; | ||
@@ -84,3 +91,4 @@ optional: boolean; | ||
export interface BinaryExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'BinaryExpr'; | ||
left: Expression; | ||
@@ -94,2 +102,3 @@ operator: '!' | '!=' | '&&' | '<' | '<=' | '==' | '>' | '>=' | '?' | '^' | '||'; | ||
readonly $container: Model; | ||
readonly $type: 'DataModel'; | ||
attributes: Array<DataModelAttribute>; | ||
@@ -103,2 +112,3 @@ fields: Array<DataModelField>; | ||
readonly $container: DataModel; | ||
readonly $type: 'DataModelAttribute'; | ||
args: Array<AttributeArg>; | ||
@@ -110,3 +120,4 @@ decl: Reference<Attribute>; | ||
export interface DataModelField extends AstNode { | ||
readonly $container: DataModel; | ||
readonly $container: DataModel | Enum | FunctionDecl; | ||
readonly $type: 'DataModelField'; | ||
attributes: Array<DataModelFieldAttribute>; | ||
@@ -120,2 +131,3 @@ name: string; | ||
readonly $container: DataModelField; | ||
readonly $type: 'DataModelFieldAttribute'; | ||
args: Array<AttributeArg>; | ||
@@ -128,2 +140,3 @@ decl: Reference<Attribute>; | ||
readonly $container: DataModelField; | ||
readonly $type: 'DataModelFieldType'; | ||
array: boolean; | ||
@@ -138,2 +151,3 @@ optional: boolean; | ||
readonly $container: Model; | ||
readonly $type: 'DataSource'; | ||
fields: Array<DataSourceField>; | ||
@@ -146,2 +160,3 @@ name: string; | ||
readonly $container: DataSource; | ||
readonly $type: 'DataSourceField'; | ||
name: string; | ||
@@ -154,2 +169,3 @@ value: InvocationExpr | LiteralExpr; | ||
readonly $container: Model; | ||
readonly $type: 'Enum'; | ||
fields: Array<EnumField>; | ||
@@ -161,3 +177,4 @@ name: string; | ||
export interface EnumField extends AstNode { | ||
readonly $container: Enum; | ||
readonly $container: DataModel | Enum | FunctionDecl; | ||
readonly $type: 'EnumField'; | ||
name: string; | ||
@@ -167,4 +184,5 @@ } | ||
export declare function isEnumField(item: unknown): item is EnumField; | ||
export interface Function extends AstNode { | ||
export interface FunctionDecl extends AstNode { | ||
readonly $container: Model; | ||
readonly $type: 'FunctionDecl'; | ||
expression?: Expression; | ||
@@ -175,6 +193,7 @@ name: string; | ||
} | ||
export declare const Function = "Function"; | ||
export declare function isFunction(item: unknown): item is Function; | ||
export declare const FunctionDecl = "FunctionDecl"; | ||
export declare function isFunctionDecl(item: unknown): item is FunctionDecl; | ||
export interface FunctionParam extends AstNode { | ||
readonly $container: Function; | ||
readonly $container: DataModel | Enum | FunctionDecl; | ||
readonly $type: 'FunctionParam'; | ||
name: string; | ||
@@ -186,3 +205,4 @@ type: FunctionParamType; | ||
export interface FunctionParamType extends AstNode { | ||
readonly $container: Function | FunctionParam; | ||
readonly $container: FunctionDecl | FunctionParam; | ||
readonly $type: 'FunctionParamType'; | ||
array: boolean; | ||
@@ -194,11 +214,13 @@ reference?: Reference<TypeDeclaration>; | ||
export declare function isFunctionParamType(item: unknown): item is FunctionParamType; | ||
export interface Generator extends AstNode { | ||
export interface GeneratorDecl extends AstNode { | ||
readonly $container: Model; | ||
readonly $type: 'GeneratorDecl'; | ||
fields: Array<GeneratorField>; | ||
name: string; | ||
} | ||
export declare const Generator = "Generator"; | ||
export declare function isGenerator(item: unknown): item is Generator; | ||
export declare const GeneratorDecl = "GeneratorDecl"; | ||
export declare function isGeneratorDecl(item: unknown): item is GeneratorDecl; | ||
export interface GeneratorField extends AstNode { | ||
readonly $container: Generator; | ||
readonly $container: GeneratorDecl; | ||
readonly $type: 'GeneratorField'; | ||
name: string; | ||
@@ -210,5 +232,6 @@ value: ArrayExpr | LiteralExpr; | ||
export interface InvocationExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'InvocationExpr'; | ||
args: Array<Argument>; | ||
function: Reference<Function>; | ||
function: Reference<FunctionDecl>; | ||
} | ||
@@ -218,3 +241,4 @@ export declare const InvocationExpr = "InvocationExpr"; | ||
export interface LiteralExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'LiteralExpr'; | ||
value: boolean | number | string; | ||
@@ -225,3 +249,4 @@ } | ||
export interface MemberAccessExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'MemberAccessExpr'; | ||
member: Reference<DataModelField>; | ||
@@ -233,2 +258,3 @@ operand: Expression; | ||
export interface Model extends AstNode { | ||
readonly $type: 'Model'; | ||
declarations: Array<AbstractDeclaration>; | ||
@@ -239,3 +265,4 @@ } | ||
export interface NullExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'NullExpr'; | ||
value: string; | ||
@@ -247,2 +274,3 @@ } | ||
readonly $container: Model; | ||
readonly $type: 'Plugin'; | ||
fields: Array<PluginField>; | ||
@@ -255,2 +283,3 @@ name: string; | ||
readonly $container: Plugin; | ||
readonly $type: 'PluginField'; | ||
name: string; | ||
@@ -263,2 +292,3 @@ value: ArrayExpr | LiteralExpr; | ||
readonly $container: ReferenceExpr; | ||
readonly $type: 'ReferenceArg'; | ||
name: 'sort'; | ||
@@ -270,3 +300,4 @@ value: 'Asc' | 'Desc'; | ||
export interface ReferenceExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'ReferenceExpr'; | ||
args: Array<ReferenceArg>; | ||
@@ -278,3 +309,4 @@ target: Reference<ReferenceTarget>; | ||
export interface ThisExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'ThisExpr'; | ||
value: string; | ||
@@ -285,3 +317,4 @@ } | ||
export interface UnaryExpr extends AstNode { | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | Function | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | DataSourceField | FunctionDecl | GeneratorField | MemberAccessExpr | PluginField | UnaryExpr; | ||
readonly $type: 'UnaryExpr'; | ||
operand: Expression; | ||
@@ -292,7 +325,44 @@ operator: '!'; | ||
export declare function isUnaryExpr(item: unknown): item is UnaryExpr; | ||
export type ZModelAstType = 'AbstractDeclaration' | 'Argument' | 'ArrayExpr' | 'Attribute' | 'AttributeArg' | 'AttributeAttribute' | 'AttributeParam' | 'AttributeParamType' | 'BinaryExpr' | 'DataModel' | 'DataModelAttribute' | 'DataModelField' | 'DataModelFieldAttribute' | 'DataModelFieldType' | 'DataSource' | 'DataSourceField' | 'Enum' | 'EnumField' | 'Expression' | 'Function' | 'FunctionParam' | 'FunctionParamType' | 'Generator' | 'GeneratorField' | 'InvocationExpr' | 'LiteralExpr' | 'MemberAccessExpr' | 'Model' | 'NullExpr' | 'Plugin' | 'PluginField' | 'ReferenceArg' | 'ReferenceExpr' | 'ReferenceTarget' | 'ThisExpr' | 'TypeDeclaration' | 'UnaryExpr'; | ||
export declare class ZModelAstReflection implements AstReflection { | ||
export interface ZModelAstType { | ||
AbstractDeclaration: AbstractDeclaration; | ||
Argument: Argument; | ||
ArrayExpr: ArrayExpr; | ||
Attribute: Attribute; | ||
AttributeArg: AttributeArg; | ||
AttributeAttribute: AttributeAttribute; | ||
AttributeParam: AttributeParam; | ||
AttributeParamType: AttributeParamType; | ||
BinaryExpr: BinaryExpr; | ||
DataModel: DataModel; | ||
DataModelAttribute: DataModelAttribute; | ||
DataModelField: DataModelField; | ||
DataModelFieldAttribute: DataModelFieldAttribute; | ||
DataModelFieldType: DataModelFieldType; | ||
DataSource: DataSource; | ||
DataSourceField: DataSourceField; | ||
Enum: Enum; | ||
EnumField: EnumField; | ||
Expression: Expression; | ||
FunctionDecl: FunctionDecl; | ||
FunctionParam: FunctionParam; | ||
FunctionParamType: FunctionParamType; | ||
GeneratorDecl: GeneratorDecl; | ||
GeneratorField: GeneratorField; | ||
InvocationExpr: InvocationExpr; | ||
LiteralExpr: LiteralExpr; | ||
MemberAccessExpr: MemberAccessExpr; | ||
Model: Model; | ||
NullExpr: NullExpr; | ||
Plugin: Plugin; | ||
PluginField: PluginField; | ||
ReferenceArg: ReferenceArg; | ||
ReferenceExpr: ReferenceExpr; | ||
ReferenceTarget: ReferenceTarget; | ||
ThisExpr: ThisExpr; | ||
TypeDeclaration: TypeDeclaration; | ||
UnaryExpr: UnaryExpr; | ||
} | ||
export declare class ZModelAstReflection extends AbstractAstReflection { | ||
getAllTypes(): string[]; | ||
isInstance(node: unknown, type: string): boolean; | ||
isSubtype(subtype: string, supertype: string): boolean; | ||
protected computeIsSubtype(subtype: string, supertype: string): boolean; | ||
getReferenceType(refInfo: ReferenceInfo): string; | ||
@@ -299,0 +369,0 @@ getTypeMetaData(type: string): TypeMetaData; |
"use strict"; | ||
/****************************************************************************** | ||
* This file was generated by langium-cli 0.5.0. | ||
* This file was generated by langium-cli 1.0.0. | ||
* DO NOT EDIT MANUALLY! | ||
******************************************************************************/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isGenerator = exports.Generator = exports.isFunctionParamType = exports.FunctionParamType = exports.isFunctionParam = exports.FunctionParam = exports.isFunction = exports.Function = exports.isEnumField = exports.EnumField = exports.isEnum = exports.Enum = exports.isDataSourceField = exports.DataSourceField = exports.isDataSource = exports.DataSource = exports.isDataModelFieldType = exports.DataModelFieldType = exports.isDataModelFieldAttribute = exports.DataModelFieldAttribute = exports.isDataModelField = exports.DataModelField = exports.isDataModelAttribute = exports.DataModelAttribute = exports.isDataModel = exports.DataModel = exports.isBinaryExpr = exports.BinaryExpr = exports.isAttributeParamType = exports.AttributeParamType = exports.isAttributeParam = exports.AttributeParam = exports.isAttributeAttribute = exports.AttributeAttribute = exports.isAttributeArg = exports.AttributeArg = exports.isAttribute = exports.Attribute = exports.isArrayExpr = exports.ArrayExpr = exports.isArgument = exports.Argument = exports.isTypeDeclaration = exports.TypeDeclaration = exports.isReferenceTarget = exports.ReferenceTarget = exports.isExpression = exports.Expression = exports.isAbstractDeclaration = exports.AbstractDeclaration = void 0; | ||
exports.isGeneratorDecl = exports.GeneratorDecl = exports.isFunctionParamType = exports.FunctionParamType = exports.isFunctionParam = exports.FunctionParam = exports.isFunctionDecl = exports.FunctionDecl = exports.isEnumField = exports.EnumField = exports.isEnum = exports.Enum = exports.isDataSourceField = exports.DataSourceField = exports.isDataSource = exports.DataSource = exports.isDataModelFieldType = exports.DataModelFieldType = exports.isDataModelFieldAttribute = exports.DataModelFieldAttribute = exports.isDataModelField = exports.DataModelField = exports.isDataModelAttribute = exports.DataModelAttribute = exports.isDataModel = exports.DataModel = exports.isBinaryExpr = exports.BinaryExpr = exports.isAttributeParamType = exports.AttributeParamType = exports.isAttributeParam = exports.AttributeParam = exports.isAttributeAttribute = exports.AttributeAttribute = exports.isAttributeArg = exports.AttributeArg = exports.isAttribute = exports.Attribute = exports.isArrayExpr = exports.ArrayExpr = exports.isArgument = exports.Argument = exports.isTypeDeclaration = exports.TypeDeclaration = exports.isReferenceTarget = exports.ReferenceTarget = exports.isExpression = exports.Expression = exports.isAbstractDeclaration = exports.AbstractDeclaration = void 0; | ||
exports.reflection = exports.ZModelAstReflection = exports.isUnaryExpr = exports.UnaryExpr = exports.isThisExpr = exports.ThisExpr = exports.isReferenceExpr = exports.ReferenceExpr = exports.isReferenceArg = exports.ReferenceArg = exports.isPluginField = exports.PluginField = exports.isPlugin = exports.Plugin = exports.isNullExpr = exports.NullExpr = exports.isModel = exports.Model = exports.isMemberAccessExpr = exports.MemberAccessExpr = exports.isLiteralExpr = exports.LiteralExpr = exports.isInvocationExpr = exports.InvocationExpr = exports.isGeneratorField = exports.GeneratorField = void 0; | ||
/* eslint-disable @typescript-eslint/array-type */ | ||
/* eslint-disable @typescript-eslint/no-empty-interface */ | ||
/* eslint-disable */ | ||
const langium_1 = require("langium"); | ||
@@ -117,7 +116,7 @@ exports.AbstractDeclaration = 'AbstractDeclaration'; | ||
exports.isEnumField = isEnumField; | ||
exports.Function = 'Function'; | ||
function isFunction(item) { | ||
return exports.reflection.isInstance(item, exports.Function); | ||
exports.FunctionDecl = 'FunctionDecl'; | ||
function isFunctionDecl(item) { | ||
return exports.reflection.isInstance(item, exports.FunctionDecl); | ||
} | ||
exports.isFunction = isFunction; | ||
exports.isFunctionDecl = isFunctionDecl; | ||
exports.FunctionParam = 'FunctionParam'; | ||
@@ -133,7 +132,7 @@ function isFunctionParam(item) { | ||
exports.isFunctionParamType = isFunctionParamType; | ||
exports.Generator = 'Generator'; | ||
function isGenerator(item) { | ||
return exports.reflection.isInstance(item, exports.Generator); | ||
exports.GeneratorDecl = 'GeneratorDecl'; | ||
function isGeneratorDecl(item) { | ||
return exports.reflection.isInstance(item, exports.GeneratorDecl); | ||
} | ||
exports.isGenerator = isGenerator; | ||
exports.isGeneratorDecl = isGeneratorDecl; | ||
exports.GeneratorField = 'GeneratorField'; | ||
@@ -199,13 +198,7 @@ function isGeneratorField(item) { | ||
exports.isUnaryExpr = isUnaryExpr; | ||
class ZModelAstReflection { | ||
class ZModelAstReflection extends langium_1.AbstractAstReflection { | ||
getAllTypes() { | ||
return ['AbstractDeclaration', 'Argument', 'ArrayExpr', 'Attribute', 'AttributeArg', 'AttributeAttribute', 'AttributeParam', 'AttributeParamType', 'BinaryExpr', 'DataModel', 'DataModelAttribute', 'DataModelField', 'DataModelFieldAttribute', 'DataModelFieldType', 'DataSource', 'DataSourceField', 'Enum', 'EnumField', 'Expression', 'Function', 'FunctionParam', 'FunctionParamType', 'Generator', 'GeneratorField', 'InvocationExpr', 'LiteralExpr', 'MemberAccessExpr', 'Model', 'NullExpr', 'Plugin', 'PluginField', 'ReferenceArg', 'ReferenceExpr', 'ReferenceTarget', 'ThisExpr', 'TypeDeclaration', 'UnaryExpr']; | ||
return ['AbstractDeclaration', 'Argument', 'ArrayExpr', 'Attribute', 'AttributeArg', 'AttributeAttribute', 'AttributeParam', 'AttributeParamType', 'BinaryExpr', 'DataModel', 'DataModelAttribute', 'DataModelField', 'DataModelFieldAttribute', 'DataModelFieldType', 'DataSource', 'DataSourceField', 'Enum', 'EnumField', 'Expression', 'FunctionDecl', 'FunctionParam', 'FunctionParamType', 'GeneratorDecl', 'GeneratorField', 'InvocationExpr', 'LiteralExpr', 'MemberAccessExpr', 'Model', 'NullExpr', 'Plugin', 'PluginField', 'ReferenceArg', 'ReferenceExpr', 'ReferenceTarget', 'ThisExpr', 'TypeDeclaration', 'UnaryExpr']; | ||
} | ||
isInstance(node, type) { | ||
return (0, langium_1.isAstNode)(node) && this.isSubtype(node.$type, type); | ||
} | ||
isSubtype(subtype, supertype) { | ||
if (subtype === supertype) { | ||
return true; | ||
} | ||
computeIsSubtype(subtype, supertype) { | ||
switch (subtype) { | ||
@@ -225,4 +218,4 @@ case exports.ArrayExpr: | ||
case exports.DataSource: | ||
case exports.Function: | ||
case exports.Generator: | ||
case exports.FunctionDecl: | ||
case exports.GeneratorDecl: | ||
case exports.Plugin: { | ||
@@ -248,17 +241,9 @@ return this.isSubtype(exports.AbstractDeclaration, supertype); | ||
switch (referenceId) { | ||
case 'AttributeAttribute:decl': { | ||
return exports.Attribute; | ||
} | ||
case 'AttributeParamType:reference': { | ||
return exports.TypeDeclaration; | ||
} | ||
case 'DataModelAttribute:decl': { | ||
return exports.Attribute; | ||
} | ||
case 'AttributeAttribute:decl': | ||
case 'DataModelAttribute:decl': | ||
case 'DataModelFieldAttribute:decl': { | ||
return exports.Attribute; | ||
} | ||
case 'DataModelFieldType:reference': { | ||
return exports.TypeDeclaration; | ||
} | ||
case 'AttributeParamType:reference': | ||
case 'DataModelFieldType:reference': | ||
case 'FunctionParamType:reference': { | ||
@@ -268,3 +253,3 @@ return exports.TypeDeclaration; | ||
case 'InvocationExpr:function': { | ||
return exports.Function; | ||
return exports.FunctionDecl; | ||
} | ||
@@ -384,5 +369,5 @@ case 'MemberAccessExpr:member': { | ||
} | ||
case 'Function': { | ||
case 'FunctionDecl': { | ||
return { | ||
name: 'Function', | ||
name: 'FunctionDecl', | ||
mandatory: [ | ||
@@ -401,5 +386,5 @@ { name: 'params', type: 'array' } | ||
} | ||
case 'Generator': { | ||
case 'GeneratorDecl': { | ||
return { | ||
name: 'Generator', | ||
name: 'GeneratorDecl', | ||
mandatory: [ | ||
@@ -406,0 +391,0 @@ { name: 'fields', type: 'array' } |
/****************************************************************************** | ||
* This file was generated by langium-cli 0.5.0. | ||
* This file was generated by langium-cli 1.0.0. | ||
* DO NOT EDIT MANUALLY! | ||
@@ -4,0 +4,0 @@ ******************************************************************************/ |
/****************************************************************************** | ||
* This file was generated by langium-cli 0.5.0. | ||
* This file was generated by langium-cli 1.0.0. | ||
* DO NOT EDIT MANUALLY! | ||
@@ -4,0 +4,0 @@ ******************************************************************************/ |
"use strict"; | ||
/****************************************************************************** | ||
* This file was generated by langium-cli 0.5.0. | ||
* This file was generated by langium-cli 1.0.0. | ||
* DO NOT EDIT MANUALLY! | ||
@@ -5,0 +5,0 @@ ******************************************************************************/ |
{ | ||
"name": "@zenstackhq/language", | ||
"version": "0.6.0-pre.19", | ||
"version": "1.0.0-alpha.19", | ||
"displayName": "ZenStack modeling language compiler", | ||
@@ -15,3 +15,3 @@ "description": "ZenStack modeling language compiler", | ||
"concurrently": "^7.4.0", | ||
"langium-cli": "^0.5.0", | ||
"langium-cli": "^1.0.0", | ||
"rimraf": "^3.0.2", | ||
@@ -21,3 +21,3 @@ "typescript": "^4.9.4" | ||
"dependencies": { | ||
"langium": "^0.5.0" | ||
"langium": "^1.0.1" | ||
}, | ||
@@ -24,0 +24,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120310
3621
+ Added@chevrotain/cst-dts-gen@10.4.2(transitive)
+ Added@chevrotain/gast@10.4.2(transitive)
+ Added@chevrotain/types@10.4.2(transitive)
+ Added@chevrotain/utils@10.4.2(transitive)
+ Addedchevrotain@10.4.2(transitive)
+ Addedchevrotain-allstar@0.1.7(transitive)
+ Addedlangium@1.3.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedvscode-jsonrpc@8.0.2(transitive)
+ Addedvscode-languageserver@8.0.2(transitive)
+ Addedvscode-languageserver-protocol@3.17.2(transitive)
+ Addedvscode-languageserver-types@3.17.2(transitive)
- Removed@chevrotain/types@9.1.0(transitive)
- Removed@chevrotain/utils@9.1.0(transitive)
- Removedchevrotain@9.1.0(transitive)
- Removedlangium@0.5.0(transitive)
- Removedvscode-jsonrpc@8.1.0(transitive)
- Removedvscode-languageserver@8.1.0(transitive)
- Removedvscode-languageserver-protocol@3.17.3(transitive)
- Removedvscode-languageserver-types@3.17.3(transitive)
Updatedlangium@^1.0.1