- Added Eval::getOperators to expose suported operator symbols.
This commit is contained in:
Paul Beckingham 2014-04-16 00:38:43 -04:00
parent fff1ae2d6e
commit bf30fb3085
2 changed files with 19 additions and 8 deletions

View file

@ -47,6 +47,8 @@ public:
void ambiguity (bool);
void debug ();
static void getOperators (std::vector <std::string>&);
private:
void evaluatePostfixStack (const std::vector <std::pair <std::string, Lexer::Type> >&, Variant&) const;
void infixToPostfix (std::vector <std::pair <std::string, Lexer::Type> >&) const;