This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]