[furcas-discussion] Question regarding re-use strategy for foreach-produced elements
Thomas Goldschmidt
thomas.goldschmidt at de.abb.com
Thu Feb 17 15:22:57 CET 2011
>Follow-up question: Are transitive, nested foreach-executions all
documented by correspondingly nested TextBlock instances? Probably
something for our workshop where we discuss the future TextBlocks
structures. Anybody have an >idea right now?
As far as I know this should be handled by
DelayedReferencesHelper::setDelayedReferenceWithPredicate(). Thus leaving
only one TestBlock for the part that has still a syntax contribution and
adding all other elements as ForEachContext elements. However, I remember
that we recently identified an issue with this already. I would leave this
for our upcoming discussion.
Thomas Goldschmidt
ABB AG
Forschungszentrum
Wallstadter Straße 59
68526 Ladenburg
Office Phone: +49 6203 716134
Office Fax: +49 6203 716253
e-mail: thomas.goldschmidt at de.abb.com
ABB AG
Sitz/Head Office: Mannheim
Registergericht/Registry Court: Mannheim
Handelsregisternummer/Commercial Register No.: HRB 4664
Geschäftsführung/Managing Board: Peter Smits (Vorsitzender), Joachim
Schneider, Markus Ochsner, Hans-Georg Krabbe
Vorsitzender des Aufsichtsrats/Chairman of Supervisory Board: Bernhard
Jucker
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
"Uhl, Axel" <axel.uhl at sap.com>
Sent by: furcas-discussion-bounces at lists.furcas.org
17.02.2011 14:57
To
furcas-discussion <furcas-discussion at lists.furcas.org>
cc
Subject
Re: [furcas-discussion] Question regarding re-use strategy for
foreach-produced elements
Follow-up question: Are transitive, nested foreach-executions all
documented by correspondingly nested TextBlock instances? Probably
something for our workshop where we discuss the future TextBlocks
structures. Anybody have an idea right now?
-- Axel
> -----Original Message-----
> From: furcas-discussion-bounces at lists.furcas.org [mailto:furcas-
> discussion-bounces at lists.furcas.org] On Behalf Of Uhl, Axel
> Sent: Thursday, February 17, 2011 2:29 PM
> To: furcas-discussion
> Subject: [furcas-discussion] Question regarding re-use strategy for
> foreach-produced elements
>
> Hi,
>
> DelayedReferencesHelper.setReference(...) seems to implement some sort
> of re-use strategy for the elements produced by a foreach predicate. It
> uses a reusableResultElement obtained from a map earlier produced by
> setDelayedReferenceWithPredicate(...). The re-use is decided based upon
> whether the template found for producing the new element has a
> metaReference pointing to the class that is the type of the existing
> element.
>
> What does it mean for such an element to be re-used instead of
> producing a new one? I would assume that there is a TextBlock that
> documents the execution of the old template used for the element's
> production. This, however, could be one that---while for the same
> class---uses a different mode and therefore entirely different property
> inits.
>
> I can't find the code that would update the TextBlocks hierarchy in
> case of such a re-use across differently-moded templates being used.
> Bug?
>
> Best,
> -- Axel
> _______________________________________________
> Furcas-discussion mailing list
> Furcas-discussion at lists.furcas.org
> http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion
_______________________________________________
Furcas-discussion mailing list
Furcas-discussion at lists.furcas.org
http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.furcas.org/pipermail/furcas-discussion/attachments/20110217/64ed203e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 454 bytes
Desc: not available
URL: <http://lists.furcas.org/pipermail/furcas-discussion/attachments/20110217/64ed203e/attachment.gif>
More information about the Furcas-discussion
mailing list