Change 20100119-ptw-C by [email protected] on 2010-01-19 15:36:56 EST
in /Users/ptw/OpenLaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Implement `subclassof`
New Features: New operator `subclassof` to test if one class is a
subclass of another class (or mixin)
Bugs Fixed: LPP-8723 Need a portable way to ask if one class is a subclass of
another
Technical Reviewer: hminsky (pending)
QA Reviewer: max (pending)
Release Notes:
There is a new operator `subclassof` supported in OpenLaszlo
Javascript that allows you to test if one class is a subclass of
(inherits from) another class or mixin.
Details:
smoke/compiler: Add a test for the new `subclassof` operator
LzRuntime: Add the runtime support ($lzsc$issubclassof)
JavascriptGenerator, CodeGenerator: Transform `subclassof` to
call to runtime support
Parser.jjt: Add new `subclassof` operator, same priority as instanceof
Tests:
smokecheck on all 3 platforms
Files:
M test/smoke/compiler.lzl
M WEB-INF/lps/lfc/compiler/LzRuntime.lzs
M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100119-ptw-C.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews