LibreOffice Module connectivity (master) 1
|
#include <RowFunctionParser.hxx>
Static Public Member Functions | |
static std::shared_ptr< ExpressionNode > const & | parseFunction (const OUString &_sFunction) |
Parse a string. More... | |
Private Member Functions | |
FunctionParser ()=delete | |
FunctionParser (const FunctionParser &)=delete | |
FunctionParser & | operator= (const FunctionParser &)=delete |
Definition at line 61 of file RowFunctionParser.hxx.
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
static |
Parse a string.
The following grammar is accepted by this method:
number_digit = '0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'
number = number number_digit | number_digit
equal_function = '=' ternary_function = 'if'
string_reference = 'a-z,A-Z,0-9' ' ' modifier_reference = '$' '0-9' ' '
basic_expression = number | string_reference | additive_expression equal_function additive_expression | unary_function '(' number_digit ')' ternary_function '(' additive_expression ',' additive_expression ', ' additive_expression ')' | '(' additive_expression ')'
rFunction | The string to parse |
ParseError | if an invalid expression is given. |
Definition at line 402 of file RowFunctionParser.cxx.
References pq_sdbc_driver::OUStringToOString().
Referenced by connectivity::ODatabaseMetaDataBase::getTypeInfo().