23 #ifndef BAGEL_BAGLIB_EXPRESSION_H 24 #define BAGEL_BAGLIB_EXPRESSION_H 26 #include "bagel/spacebar/baglib/parse_object.h" 27 #include "bagel/spacebar/baglib/var.h" 28 #include "bagel/spacebar/boflib/list.h" 43 OP_GREATER_THAN_EQUAL,
71 static void initialize();
72 static void shutdown();
77 bool evaluate(
bool negFl =
false,
CBagVar &result = *_tempVar);
86 bool negEvaluate(
CBagVar &result = *_tempVar);
88 void setNegative(
bool b =
true) {
91 bool isNegative()
const {
95 CBagVar *getVariable(
int itemPos);
96 OPERATION getOperation(
int itemPos);
99 ErrorCode getOperatorFromStream(
CBagIfstream &istr, OPERATION &oper);
102 return _prevExpression;
105 _prevExpression = expr;
Definition: ifstream.h:32
Definition: parse_object.h:48
bool evalLeftToRight(bool negFl=false, CBagVar &result= *_tempVar)
Definition: expression.h:33