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] |
Is there a way yet to refer to the outer class instance from within an inner class (like Java's "OuterClass.this" mechanism)? I see the website docs for the (this) macro sayA planned extension will allow an optional class specifier (needed for nested clases).
If I'm correctly interpreting thisRef.java and ThisExp.java, that hasn't happened yet. Are there any workarounds?
(let ((outer-this (this))) ... outer-this ...) -- --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] |