diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-17 11:06:15 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-24 23:29:26 -0400 |
commit | a4728e2de0d3acc6685b1e0ba0fb4606fdbea3e7 (patch) | |
tree | f1c6353cf6a3d2be3762a51b08250b307241d1b5 /sc/inc/token.hxx | |
parent | 932c5679353819b30a1671831d1f591e48df73f0 (diff) |
Add dumping capability for ScTokenArray (for debugging).
Change-Id: Ib3f6a87936a6c00b503f5d72b16b3e4712d7d762
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r-- | sc/inc/token.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index b10cbe4fde04..e9ddc8810d5e 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -31,6 +31,7 @@ #include "formula/IFunctionDescription.hxx" #include "formula/token.hxx" #include "scmatrix.hxx" +#include "calcmacros.hxx" class ScJumpMatrix; @@ -83,6 +84,10 @@ public: virtual bool TextEqual( const formula::FormulaToken& rToken ) const; virtual bool Is3DRef() const; // reference with 3D flag set +#if DEBUG_FORMULA_COMPILER + virtual void Dump() const; +#endif + /** If rTok1 and rTok2 both are SingleRef or DoubleRef tokens, extend/merge ranges as needed for ocRange. @param rPos @@ -123,6 +128,9 @@ public: virtual bool operator==( const formula::FormulaToken& rToken ) const; virtual FormulaToken* Clone() const { return new ScSingleRefToken(*this); } +#if DEBUG_FORMULA_COMPILER + virtual void Dump() const; +#endif DECL_FIXEDMEMPOOL_NEWDEL( ScSingleRefToken ); }; @@ -151,6 +159,9 @@ public: virtual bool operator==( const formula::FormulaToken& rToken ) const; virtual FormulaToken* Clone() const { return new ScDoubleRefToken(*this); } +#if DEBUG_FORMULA_COMPILER + virtual void Dump() const; +#endif DECL_FIXEDMEMPOOL_NEWDEL( ScDoubleRefToken ); }; |