[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: class ThisRef
In addition to Ondrej's notes, caseThisRef method is used in a "Switch"
pattern, simulating switch/case by types.
Cheers,
Feng
---------------------------------------------------------------------
Feng Qian fqian@sable.mcgill.ca
Sable Research Group http://www.sable.mcgill.ca
School of Computer Science, McGill University Montreal, Canada
On Wed, 4 Dec 2002, Ondrej Lhotak wrote:
> ThisRef objects represent the implicit this parameter of instance
> methods. They are used in the same way that ParameterRef objects
> represent the normal parameters of the method.
>
> Hope this helps...
>
> Ondrej
>
> On Wed, Dec 04, 2002 at 04:51:26PM -0500, John Pacino wrote:
> > Hello All,
> >
> > We are working on a mutation operator that will remove all the "this"
> > keywords. We were wondering if anyone could tell us what the class ThisRef
> > or the method caseThisRef do. Any help would be greatly appreciated.
> >
> > pine
>