Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Compute implicit IT type of XClosure without context
Compute implicit IT type of XClosure without context [message #1713882] Sat, 07 November 2015 13:40 Go to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Hi,

I have used the XClosure in my Xbase based DSL like this:
XCommandDataSelectAttribute :
	expr = XExpression (=> 'as' name = ID)?
	('config' config = XClosure)?
	('layout' layout = XClosure)?
	;


Now I want the XClosure to have an implicit IT parameter of an own type, i.e. IConfig.class, so it will be compiled to Procedure1<IConfig>.
I don'T find any way in the TypeComputer to do it.

Any ideas or hints where to start?

Thanks a lot,
~Ingo
Re: Compute implicit IT type of XClosure without context [message #1714063 is a reply to message #1713882] Mon, 09 November 2015 16:25 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
How does you type computation rule e.g. for the config-closure look
like? What did you try to do?

Best,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Find help at http://xtext.itemis.com or xtext(@)itemis.com
Blog: zarnekow.blogspot.com
Twitter: @szarnekow
Google+: https://www.google.com/+SebastianZarnekow
Previous Topic:Mwe2 and property files
Next Topic:Performance issue parsing enclosed expression
Goto Forum:
  


Current Time: Tue Apr 23 17:21:56 GMT 2024

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

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

Back to the top