This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
some kawa updates
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Sun, 19 Feb 2006 20:23:46 -0800
- Subject: some kawa updates
The "back-slash notation" is no more. Instead, its functionality has
been merged with the "colon notation".
See http://www.gnu.org/software/kawa/PathExpressions.html
In addition, users of define-(simple-,}class may be happy to know that
you can now reference fields and methods from the current class, as
well as inherited fields and methods, using plain identifiers.
These are actually related:
In a non-static method, if NAME is a visible or inherited field or method,
then 'NAME' is translated into '(this):NAME'.
In a static method in a class <MyClass>, if NAME is a visible or inherited
field or method, then 'NAME' is translated into '<MyClass>:NAME'.
(If *both* a field named NAME and one or more methods named NAME are visible
then it is currently undefined whether Kawa generates a field or a method
access.)
--
--Per Bothner
per@bothner.com http://per.bothner.com/