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: 26
Registered: July 2020
Junior 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: 14026
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: 26
Registered: July 2020
Junior Member
Ok thanks
Previous Topic:Keyword with whitespace
Next Topic:Type library not found with StadaloneSetup
Goto Forum:
  


Current Time: Thu Jul 29 19:18:26 GMT 2021

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

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

Back to the top