#include <BoolExprParser.h>
Public Member Functions | |
BoolExprParser () | |
Initializes the parser. | |
~BoolExprParser () | |
Destroys the parser and frees the associated resources. | |
BoolExpr< std::string > * | parse (const std::string &expr) throw (Error) |
Parses a textual boolean expression and creates a binary syntax tree. |
The parse() method dynamically allocates a binary tree of nodes that represents the syntactic structure of a textual boolean expression.
|
Initializes the parser.
|
|
Destroys the parser and frees the associated resources.
|
|
Parses a textual boolean expression and creates a binary syntax tree. Dynamically allocates a tree of nodes that represents the syntactic structure of 'expr'. The returned tree must eventually be destroyed with operator delete.
|