Re: Accessing this of containing class

2011-02-03 Thread Steven Schveighoffer
On Thu, 03 Feb 2011 13:53:22 -0500, Jonathan M Davis wrote: On Thursday, February 03, 2011 10:36:29 Ary Manzana wrote: On 2/3/11 10:29 AM, Steven Schveighoffer wrote: > > I have noticed that, is that a bug? I always thought it strange, since > outer is a keyword, that you need to do this.out

Re: Accessing this of containing class

2011-02-03 Thread Jonathan M Davis
On Thursday, February 03, 2011 10:36:29 Ary Manzana wrote: > On 2/3/11 10:29 AM, Steven Schveighoffer wrote: > > On Thu, 03 Feb 2011 03:43:43 -0500, Jonathan M Davis > > > > wrote: > >> On Thursday 03 February 2011 00:38:08 Jacob Carlborg wrote: > >>> On 2011-02-03 07:21, Jonathan M Davis wrote:

Re: Accessing this of containing class

2011-02-03 Thread Ary Manzana
On 2/3/11 10:29 AM, Steven Schveighoffer wrote: On Thu, 03 Feb 2011 03:43:43 -0500, Jonathan M Davis wrote: On Thursday 03 February 2011 00:38:08 Jacob Carlborg wrote: On 2011-02-03 07:21, Jonathan M Davis wrote: > On Wednesday 02 February 2011 21:26:00 Mandeep Singh Brar wrote: >> Hi, >> >>

Re: Accessing this of containing class

2011-02-03 Thread Steven Schveighoffer
On Thu, 03 Feb 2011 03:43:43 -0500, Jonathan M Davis wrote: On Thursday 03 February 2011 00:38:08 Jacob Carlborg wrote: On 2011-02-03 07:21, Jonathan M Davis wrote: > On Wednesday 02 February 2011 21:26:00 Mandeep Singh Brar wrote: >> Hi, >> >> Is there a method to access this reference of t

Re: Accessing this of containing class

2011-02-03 Thread Jonathan M Davis
On Thursday 03 February 2011 00:38:08 Jacob Carlborg wrote: > On 2011-02-03 07:21, Jonathan M Davis wrote: > > On Wednesday 02 February 2011 21:26:00 Mandeep Singh Brar wrote: > >> Hi, > >> > >> Is there a method to access this reference of the container class > >> from an inner class. i.e. > >> c

Re: Accessing this of containing class

2011-02-03 Thread Jacob Carlborg
On 2011-02-03 07:21, Jonathan M Davis wrote: On Wednesday 02 February 2011 21:26:00 Mandeep Singh Brar wrote: Hi, Is there a method to access this reference of the container class from an inner class. i.e. class A { class B { methodM() { callAnotherM(A::this or A.this); } } } T

Re: Accessing this of containing class

2011-02-02 Thread Jonathan M Davis
On Wednesday 02 February 2011 21:26:00 Mandeep Singh Brar wrote: > Hi, > > Is there a method to access this reference of the container class > from an inner class. i.e. > class A { > class B { >methodM() { > callAnotherM(A::this or A.this); >} > } > } The outer class is referenced v