◆ FunctionExpressionMatcher()
| duckdb::FunctionExpressionMatcher::FunctionExpressionMatcher |
( |
| ) |
|
|
inline |
69466 : ExpressionMatcher(ExpressionClass::BOUND_FUNCTION) {
69467 }
◆ Match()
Checks if the given expression matches this ExpressionMatcher. If it does, the expression is appended to the bindings list and true is returned. Otherwise, false is returned.
Reimplemented from duckdb::ExpressionMatcher.
315198 {
315200 return false;
315201 }
315202 auto &expr = expr_p.Cast<BoundFunctionExpression>();
315203 if (!FunctionMatcher::Match(
function, expr.function.name)) {
315204 return false;
315205 }
315206 if (!SetMatcher::Match(
matchers, expr.children, bindings,
policy)) {
315207 return false;
315208 }
315209 return true;
315210}
virtual bool Match(Expression &expr, vector< reference< Expression > > &bindings)
Definition duckdb.cpp:315124
SetMatcher::Policy policy
The set matcher matching policy to use.
Definition duckdb.cpp:69471
unique_ptr< FunctionMatcher > function
The function name to match.
Definition duckdb.cpp:69473
vector< unique_ptr< ExpressionMatcher > > matchers
The matchers for the child expressions.
Definition duckdb.cpp:69469
The documentation for this class was generated from the following file: