summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-22 07:54:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-22 07:54:08 +0000
commit90cfa0705d39b732d745e440d0c215970925faef (patch)
tree705eb5a525b420ce0c9efd40256b6af9ab5812f4 /basic
parent774de274059619763054dbed39df8c754c61c84f (diff)
INTEGRATION: CWS uno4 (1.3.10); FILE MERGED
2003/05/15 13:11:28 ab 1.3.10.1: #109348# Fixed recursion handling
Diffstat (limited to 'basic')
-rw-r--r--basic/source/inc/expr.hxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index d9e698a0d5eb..99249e48360a 100644
--- a/basic/source/inc/expr.hxx
+++ b/basic/source/inc/expr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: expr.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:57:26 $
+ * last change: $Author: vg $ $Date: 2003-05-22 08:54:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -99,6 +99,13 @@ enum SbiNodeType {
SbxNODE // Node
};
+enum RecursiveMode
+{
+ UNDEFINED,
+ FORCE_CALL,
+ PREVENT_CALL
+};
+
class SbiExprNode { // Operatoren (und Operanden)
friend class SbiExpression;
friend class SbiConstExpression;
@@ -150,7 +157,7 @@ public:
void Optimize(); // Baumabgleich
- void Gen( BOOL bParam0Allowed = FALSE ); // Ausgabe eines Nodes
+ void Gen( RecursiveMode eRecMode = UNDEFINED ); // Ausgabe eines Nodes
};
class SbiExpression { // der Ausdruck:
@@ -202,7 +209,7 @@ public:
SbiExprNode* GetExprNode() { return pExpr; }
SbxDataType GetType() { return pExpr->GetType(); }
void SetType( SbxDataType eType){ pExpr->eType = eType; }
- void Gen( BOOL bParam0Allowed = FALSE );
+ void Gen( RecursiveMode eRecMode = UNDEFINED ); // Ausgabe eines Nodes
};
class SbiConstExpression : public SbiExpression {