first step to make instantiation only specialize entities when needed
(instead of always as it is the case now)
modification in instantiation to avoid systematic specialization
now the two "instantiate" methods can be given a null context to not
specialize. This currently breaks instantiation, some additional code is
needed to know when specialization is needed (and when that's the case,
a fresh instantiation context should be given)
entity mapper computes whether specialization is needed, instantiator
takes that into account. Still missing proper look up in
InstantiatorData, correct context creation+deletion in InstantiatorImpl.
instantiator only specializes when necessary, almost working
instantiator should update mapping before translating ports/variables...
updated xml_gen files (EOL differences)
EntityInfo now holds information whether entity is specialized.
The EntityMapper decides to specialize an entity when it's an inner task
(because it may use parent's variables), or when it depends on parent's
properties.
updated requirements to Xtext 2.7
added a Cx resource description manager that is "all change aware"
It will cause any bundle referenced by an entity to be loaded and
instantiated, so that references to its variables/functions are solved
at the IR level
2 corrections to CxBuilderState:
1) it no longer needs to overridde queueAffectedResources, because
clearResourceSet is now only called if clustering is active
2) it no longer needs to add bundles to the list of resources to
consider (because this is now handled by the
CxResourceDescriptionManager thanks to the new AllChangeAware
interface).
removed importedNames from component scope, since they were not used
anymore. Not sure why they were there in the first place
better toString implementations for Actor/DPN/Entity/Unit
small change in instantiator data
remove Cx-specific builder
make instantiator not instantiate the whole network if it is not
specialized. Resource description manager queues specialized
sub-entities for build. This is much better and finer grain than
previously, when the builder state always added all entities
transitively instantiated by networks in the delta.
guard against wrong endpoints
instantiator always instantiates sub-entities for now, it turns out to
be a bit tricky to not do that, I'll look into it again later
corrected two bugs in resource description manager
corrected double validation bug in expression+structural validators