Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions examples/arithmetics/src/language-server/generated/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,73 +198,73 @@ export class ArithmeticsAstReflection extends langium.AbstractAstReflection {
name: BinaryExpression.$type,
properties: {
left: {
name: 'left'
name: BinaryExpression.left
},
operator: {
name: 'operator'
name: BinaryExpression.operator
},
right: {
name: 'right'
name: BinaryExpression.right
}
},
superTypes: ['Expression']
superTypes: [Expression.$type]
},
DeclaredParameter: {
name: DeclaredParameter.$type,
properties: {
name: {
name: 'name'
name: DeclaredParameter.name
}
},
superTypes: ['AbstractDefinition']
superTypes: [AbstractDefinition.$type]
},
Definition: {
name: Definition.$type,
properties: {
args: {
name: 'args',
name: Definition.args,
defaultValue: []
},
expr: {
name: 'expr'
name: Definition.expr
},
name: {
name: 'name'
name: Definition.name
}
},
superTypes: ['AbstractDefinition', 'Statement']
superTypes: [AbstractDefinition.$type, Statement.$type]
},
Evaluation: {
name: Evaluation.$type,
properties: {
expression: {
name: 'expression'
name: Evaluation.expression
}
},
superTypes: ['Statement']
superTypes: [Statement.$type]
},
FunctionCall: {
name: FunctionCall.$type,
properties: {
args: {
name: 'args',
name: FunctionCall.args,
defaultValue: []
},
func: {
name: 'func',
referenceType: 'AbstractDefinition'
name: FunctionCall.func,
referenceType: AbstractDefinition.$type
}
},
superTypes: ['Expression']
superTypes: [Expression.$type]
},
Module: {
name: Module.$type,
properties: {
name: {
name: 'name'
name: Module.name
},
statements: {
name: 'statements',
name: Module.statements,
defaultValue: []
}
},
Expand All @@ -274,10 +274,10 @@ export class ArithmeticsAstReflection extends langium.AbstractAstReflection {
name: NumberLiteral.$type,
properties: {
value: {
name: 'value'
name: NumberLiteral.value
}
},
superTypes: ['Expression']
superTypes: [Expression.$type]
},
} as const satisfies langium.AstMetaData
}
Expand Down
30 changes: 15 additions & 15 deletions examples/domainmodel/src/language-server/generated/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,16 @@ export class DomainModelAstReflection extends langium.AbstractAstReflection {
name: DataType.$type,
properties: {
name: {
name: 'name'
name: DataType.name
}
},
superTypes: ['Type']
superTypes: [Type.$type]
},
Domainmodel: {
name: Domainmodel.$type,
properties: {
elements: {
name: 'elements',
name: Domainmodel.elements,
defaultValue: []
}
},
Expand All @@ -173,32 +173,32 @@ export class DomainModelAstReflection extends langium.AbstractAstReflection {
name: Entity.$type,
properties: {
features: {
name: 'features',
name: Entity.features,
defaultValue: []
},
name: {
name: 'name'
name: Entity.name
},
superType: {
name: 'superType',
referenceType: 'Entity'
name: Entity.superType,
referenceType: Entity.$type
}
},
superTypes: ['Type']
superTypes: [Type.$type]
},
Feature: {
name: Feature.$type,
properties: {
many: {
name: 'many',
name: Feature.many,
defaultValue: false
},
name: {
name: 'name'
name: Feature.name
},
type: {
name: 'type',
referenceType: 'Type'
name: Feature.type,
referenceType: Type.$type
}
},
superTypes: []
Expand All @@ -207,14 +207,14 @@ export class DomainModelAstReflection extends langium.AbstractAstReflection {
name: PackageDeclaration.$type,
properties: {
elements: {
name: 'elements',
name: PackageDeclaration.elements,
defaultValue: []
},
name: {
name: 'name'
name: PackageDeclaration.name
}
},
superTypes: ['AbstractElement']
superTypes: [AbstractElement.$type]
},
} as const satisfies langium.AstMetaData
}
Expand Down
36 changes: 18 additions & 18 deletions examples/requirements/src/language-server/generated/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: Contact.$type,
properties: {
user_name: {
name: 'user_name'
name: Contact.user_name
}
},
superTypes: []
Expand All @@ -161,10 +161,10 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: Environment.$type,
properties: {
description: {
name: 'description'
name: Environment.description
},
name: {
name: 'name'
name: Environment.name
}
},
superTypes: []
Expand All @@ -173,15 +173,15 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: Requirement.$type,
properties: {
environments: {
name: 'environments',
name: Requirement.environments,
defaultValue: [],
referenceType: 'Environment'
referenceType: Environment.$type
},
name: {
name: 'name'
name: Requirement.name
},
text: {
name: 'text'
name: Requirement.text
}
},
superTypes: []
Expand All @@ -190,14 +190,14 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: RequirementModel.$type,
properties: {
contact: {
name: 'contact'
name: RequirementModel.contact
},
environments: {
name: 'environments',
name: RequirementModel.environments,
defaultValue: []
},
requirements: {
name: 'requirements',
name: RequirementModel.requirements,
defaultValue: []
}
},
Expand All @@ -207,20 +207,20 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: Test.$type,
properties: {
environments: {
name: 'environments',
name: Test.environments,
defaultValue: [],
referenceType: 'Environment'
referenceType: Environment.$type
},
name: {
name: 'name'
name: Test.name
},
requirements: {
name: 'requirements',
name: Test.requirements,
defaultValue: [],
referenceType: 'Requirement'
referenceType: Requirement.$type
},
testFile: {
name: 'testFile'
name: Test.testFile
}
},
superTypes: []
Expand All @@ -229,10 +229,10 @@ export class RequirementsAndTestsAstReflection extends langium.AbstractAstReflec
name: TestModel.$type,
properties: {
contact: {
name: 'contact'
name: TestModel.contact
},
tests: {
name: 'tests',
name: TestModel.tests,
defaultValue: []
}
},
Expand Down
32 changes: 16 additions & 16 deletions examples/statemachine/src/language-server/generated/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class StatemachineAstReflection extends langium.AbstractAstReflection {
name: Command.$type,
properties: {
name: {
name: 'name'
name: Command.name
}
},
superTypes: []
Expand All @@ -151,7 +151,7 @@ export class StatemachineAstReflection extends langium.AbstractAstReflection {
name: Event.$type,
properties: {
name: {
name: 'name'
name: Event.name
}
},
superTypes: []
Expand All @@ -160,15 +160,15 @@ export class StatemachineAstReflection extends langium.AbstractAstReflection {
name: State.$type,
properties: {
actions: {
name: 'actions',
name: State.actions,
defaultValue: [],
referenceType: 'Command'
referenceType: Command.$type
},
name: {
name: 'name'
name: State.name
},
transitions: {
name: 'transitions',
name: State.transitions,
defaultValue: []
}
},
Expand All @@ -178,22 +178,22 @@ export class StatemachineAstReflection extends langium.AbstractAstReflection {
name: Statemachine.$type,
properties: {
commands: {
name: 'commands',
name: Statemachine.commands,
defaultValue: []
},
events: {
name: 'events',
name: Statemachine.events,
defaultValue: []
},
init: {
name: 'init',
referenceType: 'State'
name: Statemachine.init,
referenceType: State.$type
},
name: {
name: 'name'
name: Statemachine.name
},
states: {
name: 'states',
name: Statemachine.states,
defaultValue: []
}
},
Expand All @@ -203,12 +203,12 @@ export class StatemachineAstReflection extends langium.AbstractAstReflection {
name: Transition.$type,
properties: {
event: {
name: 'event',
referenceType: 'Event'
name: Transition.event,
referenceType: Event.$type
},
state: {
name: 'state',
referenceType: 'State'
name: Transition.state,
referenceType: State.$type
}
},
superTypes: []
Expand Down
Loading