Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Are grammar mixins transitive?
Are grammar mixins transitive? [message #1768184] Fri, 14 July 2017 13:01 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 122
Registered: July 2009
Senior Member
If grammar B mixes in grammar A and grammar C mixes in grammar B, should C have access to rules defined in A? I have an example where A's rules are not visible in C, but I don't know if this is because I made a mistake somewhere or because this is not supported.
Re: Are grammar mixins transitive? [message #1768187 is a reply to message #1768184] Fri, 14 July 2017 13:06 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11367
Registered: July 2009
Senior Member
Hi,

on a first try this works fine for me as expected.
thus having a reproducible example would be helpful


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Are grammar mixins transitive? [message #1768189 is a reply to message #1768187] Fri, 14 July 2017 13:08 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11367
Registered: July 2009
Senior Member
p.s. how does the error look like you get?

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Are grammar mixins transitive? [message #1768192 is a reply to message #1768189] Fri, 14 July 2017 13:22 Go to previous message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 122
Registered: July 2009
Senior Member
I suspect that it's a plugin dependency issue, then.
When editing grammar C, terminals from grammar A are marked as undefined in the editor.
Previous Topic:Customizing content assist suggestions
Next Topic:yang definition using xtext
Goto Forum:
  


Current Time: Tue Nov 21 12:16:25 GMT 2017

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

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