[Laszlo-dev] For Review: Change 41430 Summary:Experimental traits implementation for lps-dev
Jim Grandy
jgrandy at laszlosystems.com
Wed Apr 12 19:21:28 EDT 2006
Change 41430 by jgrandy at jgrandy-dev on 2006/04/12 16:14:55 *pending*
Summary:Experimental traits implementation for lps-dev
New Features:Traits
Technical Reviewer: ptw (pending)
QA Reviewer: mdavis (pending)
Doc Reviewer: jsundman (pending)
Documentation:Eventually will be derived from
http://wiki.openlaszlo.org/Traits_Proposal, but remember this is an
experimental feature and will not ship in final form until Legals
ships.
Details:Added an experimental traits implementation. I debated
whether this belongs in trunk, but I think the benefits outweigh the
risks. This feature will not be final until Legals ships later this
year, so the chief risk is that the semantics will change in the
Legals implementation and people will need to adjust.
Information about traits can be found at
http://wiki.openlaszlo.org/Traits_Proposal. This checkin implements
just the ability to declare traits in a class definition, not to
declare traits on a single instance. Introspection of traits for
classes is implemented, however.
Tests:Augmented the test/traits.lzx unit test to cover attributes,
methods,
and subnodes. This unit test currently passes.
Affected files ...
... //depot/lps-dev/WEB-INF/lps/lfc/core/LzClass.as#8 edit
... //depot/lps-dev/WEB-INF/lps/lfc/core/LzTrait.as#1 edit
... //depot/lps-dev/WEB-INF/lps/lfc/core/UserClass.as#5 edit
... //depot/lps-dev/WEB-INF/lps/lfc/glue/LaszloInitiator.as#7 edit
... //depot/lps-dev/WEB-INF/lps/schema/lzx.rnc#38 edit
... //depot/lps-dev/test/traits.lzx#3 edit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-41430.zip
Type: application/zip
Size: 47544 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060412/82e55caa/changeset-41430-0001.zip
More information about the Laszlo-dev
mailing list