#include <string>
#include <vector>
#include <map>
#include <assert.h>
#include <boost/smart_ptr.hpp>
#include "AnyScalar.h"
Go to the source code of this file.
Namespaces | |
| namespace | stx |
Classes | |
| class | stx::ExpressionParserException |
| Base class for other exceptions of the expression parser and evaluators. More... | |
| class | stx::ConversionException |
| ConversionException is an exception class thrown by some combinations of get and set in AnyScalar. More... | |
| class | stx::ArithmeticException |
| ArithmeticException is an exception class thrown upon some arithmetic errors like integer divison by zero. More... | |
| class | stx::BadSyntaxException |
| Exception class thrown when the parser recognizes a syntax error. More... | |
| class | stx::UnknownSymbolException |
| Exception class thrown when the symbol table cannot find a variable or function. More... | |
| class | stx::BadFunctionCallException |
| Exception class thrown when the symbol table cannot correctly execute a function. More... | |
| class | stx::SymbolTable |
| Abstract class used for evaluation of variables and function placeholders within an expression. More... | |
| class | stx::EmptySymbolTable |
| Concrete class used for evaluation of variables and function placeholders within an expression. More... | |
| class | stx::BasicSymbolTable |
| Class representing variables and functions placeholders within an expression. More... | |
| struct | stx::BasicSymbolTable::FunctionInfo |
| Extra info about a function: the valid arguments. More... | |
| class | stx::ParseNode |
| ParseNode is the abstract node interface of different parse nodes. More... | |
| class | stx::ParseTree |
| ParseTree contains the root node of a parse tree. More... | |
| class | stx::ParseTreeList |
| ParseTreeList contains the root parse nodes of a list of expressions. More... | |
Functions | |
| const ParseTree | stx::parseExpression (const std::string &input) |
| Parse the given input expression into a parse tree. | |
| std::string | stx::parseExpressionXML (const std::string &input) |
| Parse the given input expression into a parse tree. | |
| ParseTreeList | stx::parseExpressionList (const std::string &input) |
| Parse the given input as an expression list "expr1, expr2, ..." into a vector of parse trees. | |
It exports the abstract interface to a ParseNode tree root and the parse functions themselves.
Definition in file ExpressionParser.h.
1.5.2