|
Re: Caches in Code Generator [message #1790445 is a reply to message #1790443] |
Mon, 11 June 2018 08:42   |
|
i dont know of a general exisiting cache for that but to do is at the start of the builderparticipant sounds feasable.
what i dont get is why using a onchangeeviting cache is not usable: it will invalidate too often and not too seldom.
=> would be interesing to understand more about the nature of the thing you want to cache.
e.g. you could use a listener on indexing events to do the invalidation
(org.eclipse.xtext.resource.IResourceDescription.Event.Listener)
Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02533 seconds