|
|
Re: Simplified include [message #1271087 is a reply to message #1271074] |
Fri, 14 March 2014 08:10 |
|
Hi,
the question i on what level you want to get that solved.
i think it is a bad idea to have such includes and it maybe tons of work to get it runnings as you want todo it. (depending on how fancy the solution should be)
is this a legacy language? if not you may intoduce a component concept or a function concept and simply call resuable components and functions
instead of a include (c-like)
maybe you can store the root as element (in the Hello World example "model") of the included file under its resource name in the xtext index (by adapting the nameprovider)
but you would have to care about consitency checks and generation or whatever you want todo yourself
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.03442 seconds