This detail class constitutes an abstract base class for expression parsers.
Definition at line 23 of file parser.hpp.
#include <parser.hpp>
Public Static Method Index: | |
static ALIB_API Parser * | Create (Compiler &compiler) |
Public Method Index: | |
virtual | ~Parser () |
Virtual destructor. | |
virtual detail::AST * | Parse (const String &expressionString, NumberFormat *numberFormat)=0 |
|
inlinevirtual |
Virtual destructor.
Definition at line 26 of file parser.hpp.
Static method to create a parser object.
compiler | The compiler that needs a parser. |
Definition at line 19 of file parser.cpp.
|
pure virtual |
Parses the given expression string.
void*
. This is to allow avoid flooding of boost
header includes files to the code entities using module ALib Expressions.expressionString | The string to parse. |
numberFormat | Used to parse literal numbers. |
Implemented in ParserImpl.