Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » EMF Model Update Strategy
EMF Model Update Strategy [message #903674] Fri, 24 August 2012 20:21 Go to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 8
Registered: July 2009
Junior Member
hi, could someone outline xtexts update strategy of the EMF model if parts of the text is changed? The documentation mentions that parts of the EMF model are replaced. What strategy does xtext use? What are the basic steps?

[Updated on: Mon, 27 August 2012 10:30]

Report message to a moderator

Re: EMF Model Update Strategy [message #904831 is a reply to message #903674] Wed, 29 August 2012 08:29 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Am 8/24/12 10:21 PM, schrieb Stefan Kuhn:
> hi, could someone outline xtexts update strategy of the EMF model if
> parts of the text is changed. The documentation mentions that parts of
> the EMF model are replaced. What strategy does xtext use? What are the
> basic steps?

From a certain change an entry point is computed, where the so called
partial parser can hook-in again (see PartialParsingHelper#reparse).
These points are mostly very coarse grained rule calls without
lookahead. The partial parsing is mostly optimizing changes in large models.

Why do you ask?

Sven

--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
Previous Topic:How to heck if token is present
Next Topic:Semantic model not resolvable by xtext-grammar
Goto Forum:
  


Current Time: Fri Apr 26 10:21:44 GMT 2024

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

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

Back to the top