Thanks Bryan, I will look into that.
On Sat, Apr 24, 2010 at 8:14 PM, Bryan Pendleton <[email protected]> wrote: > Nirmal Fernando wrote: >> >> I am in a trouble of finding where is the value/s used in an expression >> (eg: j*2 i.e. value is 2) stored. If I expand this (j*2) value node, I can >> see the operator used as '*' or times, but not the value. > > I think you should see that '*' becomes a BinaryArithmeticOperatorNode, > with two children: the left operand should be a ColumnReference, while > the right operand should be a NumericConstantNode. > > The NumericConstantNode should be the data structure holding the > constant value '2'. > > thanks, > > bryan > -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka.
