Interface for parsing scalar function definitions.
More...
#include <scalarFunctionParserInterface.hpp>
Interface for parsing scalar function definitions.
virtual strus::ScalarFunctionParserInterface::~ScalarFunctionParserInterface |
( |
| ) |
|
|
inlinevirtual |
virtual ScalarFunctionInterface* strus::ScalarFunctionParserInterface::createFunction |
( |
const std::string & |
src, |
|
|
const std::vector< std::string > & |
argumentNames |
|
) |
| const |
|
pure virtual |
Parses a function from source and instantiates a function object.
- Parameters
-
[in] | src | source describing the function |
[in] | argumentNames | the list of function argument names in the source (default is a prefix '_' followed by the argument index starting with 0) |
- Returns
- the created function object
virtual const char* strus::ScalarFunctionParserInterface::getDescription |
( |
| ) |
const |
|
pure virtual |
Get a description of the parser syntax.
- Returns
- the description
The documentation for this class was generated from the following file: