Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Are grammar mixins transitive?
Are grammar mixins transitive? [message #1768184] Fri, 14 July 2017 09:01 Go to next message
Eclipse UserFriend
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 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

on a first try this works fine for me as expected.
thus having a reproducible example would be helpful
Re: Are grammar mixins transitive? [message #1768189 is a reply to message #1768187] Fri, 14 July 2017 09:08 Go to previous messageGo to next message
Eclipse UserFriend
p.s. how does the error look like you get?
Re: Are grammar mixins transitive? [message #1768192 is a reply to message #1768189] Fri, 14 July 2017 09:22 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 23:04:42 EDT 2025

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

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

Back to the top