Subj : Re: Controlling evaluation of an expression To : alan From : Igor Bukanov Date : Thu Dec 02 2004 12:28 am alan wrote: > Hi, > > I was wondering whether there is a way for me to control the > evaluation of certain expressions in Rhino. For example, normally > myObject.property evaluates to the integer value 1. But in the > context of a certain function call: > > myHostObject.myFunction( myObject.property ) > > I would like for Rhino not to evaluate myObject.property because it > has a different meaning in this context. Is this possible? No if you do not consider altering parser/code generator/runtime as an option. But why exactly do you need this? Regards, Igor .