19 return -(op->eval(st, ft));
27 return ft[name]->apply(st, ft, argList);
36 return op1->eval(st, ft) + op2->eval(st, ft);
40 return op1->eval(st, ft) - op2->eval(st, ft);
44 return op1->eval(st, ft) * op2->eval(st, ft);
48 return op1->eval(st, ft) / op2->eval(st, ft);
52 return op1->eval(st, ft) % op2->eval(st, ft);
56 return op1->eval(st, ft) ^ op2->eval(st, ft);
60 return op1->eval(st, ft) < op2->eval(st, ft);
64 return op1->eval(st, ft) > op2->eval(st, ft);
68 return op1->eval(st, ft) <= op2->eval(st, ft);
72 return op1->eval(st, ft) >= op2->eval(st, ft);
76 return op1->eval(st, ft) == op2->eval(st, ft);
80 return op1->eval(st, ft) != op2->eval(st, ft);
84 expList.push_back(exp);
88 return expList.size();
92 return expList.begin();
100 for (list<Expression*>::iterator it = expList.begin(); it != expList.end(); ++it) {
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
unsigned int size() const
list< Expression * >::const_iterator begin() const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
list< Expression * >::const_iterator end() const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const
void add(Expression *exp)
virtual Number eval(const SymbolTable &, const FunctionTable &) const
virtual Number eval(const SymbolTable &, const FunctionTable &) const