Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Full language inheritance
Full language inheritance [message #1836486] Tue, 05 January 2021 19:36 Go to next message
Yannick DAVELUY is currently offline Yannick DAVELUYFriend
Messages: 36
Registered: July 2020
Member
Hi,

I have a base language with a lots of features : formatter, validator, generator, quickfix, code mining, custom bindings in runtime/ide/ui modules,... etc

I want to create a new language that extends the base language, including all the above features.
For the new grammar I inherit from the base language.
Is it possible to configure somewhere that the new validator inherit from baseValidator and for all the others features ?

Yannick
Re: Full language inheritance [message #1836506 is a reply to message #1836486] Wed, 06 January 2021 08:30 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14497
Registered: July 2009
Senior Member
for fragments that subclass AbstractInheritingFragment
you can configure it (should be on by default)
for others you have to take care manually


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Full language inheritance [message #1836515 is a reply to message #1836506] Wed, 06 January 2021 15:55 Go to previous message
Yannick DAVELUY is currently offline Yannick DAVELUYFriend
Messages: 36
Registered: July 2020
Member
Ok thanks
Previous Topic:Keyword with whitespace
Next Topic:Type library not found with StadaloneSetup
Goto Forum:
  


Current Time: Thu Jun 08 11:54:40 GMT 2023

Powered by FUDForum. Page generated in 0.01931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top