Expressions
- Began Expression::toInfix to upgrade old-style filters to infix algebraic filters. - Added operator support to Arguments::categorize. - Modified CmdCustom.cpp as a read-only command guinea-pig for the new argument processing.
This commit is contained in:
@@ -35,16 +35,18 @@
|
||||
class Expression
|
||||
{
|
||||
public:
|
||||
Expression ();
|
||||
Expression (Arguments&);
|
||||
~Expression ();
|
||||
bool eval (Task&);
|
||||
void toInfix ();
|
||||
void toPostfix ();
|
||||
|
||||
void dump (const std::string&);
|
||||
|
||||
private:
|
||||
void toInfix ();
|
||||
void toPostfix ();
|
||||
Arguments _original;
|
||||
Arguments _infix;
|
||||
Arguments _postfix;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user