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: 39
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: 14665
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


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


Current Time: Fri Apr 26 01:37:43 GMT 2024

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

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

Back to the top