Hi Kohei, On Tue, Feb 22, 2005 at 21:24:53 -0500, Kohei Yoshida wrote:
> I've been looking through the part around > ScToken/ScTokenArray/SingleDoubleRefProvider/..., and have come across > this enum called StackVarEnum which holds the members svSingleRef and > svDoubleRef. Also, there are two classes named SingleRefData and > ComplRefData, and according to the comments in those two classes, they > seem to represent a single cell reference and a cell range, > respectively. Hey, you're digging really deep now :-) > Now, are svSingleRef and svDoubleRef of similar nature to > SingleRefData and ComplRefData? In other words, if a reference type > is of svSingleRef it is a single cell reference, and if it is of > svDoubleRef it is a reference to a cell range. Is this the correct > way of looking at these reference types? That's correct. Inside a ScTokenArray references are represented as a ScSingleRefToken with StackVarEnum svSingleRef and a SingleRefData, respectively a ScDoubleRefToken with StackVarEnum svDoubleRef and a ComplRefData. > Also, class ScTokenArray has a member function called > GetNextReferenceRPN(). What does this RPN refer to? This > abbreviation is used throughout the codebase, but I can't find its > definition anywhere... It's a common acronym for Reverse Polish Notation. It is the token order the interpreter expects to work on, in contrast to the human visible form. For example, =(2+3)*4 results in an RPN token order of 2,3,+,4,* Eike -- OOo/SO Calc core developer. Number formatter bedevilled I18N transpositionizer. GnuPG key 0x293C05FD: 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
