![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
The ExpressionMatcher class contains a set of matchers that can be used to pattern match Expressions. More...


Public Member Functions | |
| ExpressionMatcher (ExpressionClass type=ExpressionClass::INVALID) | |
| virtual bool | Match (Expression &expr, vector< reference< Expression > > &bindings) |
Public Attributes | |
| ExpressionClass | expr_class |
| The ExpressionClass of the to-be-matched expression. ExpressionClass::INVALID for ANY. | |
| unique_ptr< ExpressionTypeMatcher > | expr_type |
| Matcher for the ExpressionType of the operator (nullptr for ANY) | |
| unique_ptr< TypeMatcher > | type |
| Matcher for the return_type of the expression (nullptr for ANY) | |
The ExpressionMatcher class contains a set of matchers that can be used to pattern match Expressions.
|
inlineexplicit |
|
inlinevirtual |
|
virtual |
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 in duckdb::ExpressionEqualityMatcher, duckdb::CaseExpressionMatcher, duckdb::ComparisonExpressionMatcher, duckdb::CastExpressionMatcher, duckdb::InClauseExpressionMatcher, duckdb::ConjunctionExpressionMatcher, duckdb::FunctionExpressionMatcher, duckdb::AggregateExpressionMatcher, duckdb::FoldableConstantMatcher, and duckdb::StableExpressionMatcher.