| 1 | #include "duckdb/parser/base_expression.hpp" | 
|---|---|
| 2 | |
| 3 | #include "duckdb/common/printer.hpp" | 
| 4 | |
| 5 | using namespace duckdb; | 
| 6 | using namespace std; | 
| 7 | |
| 8 | void BaseExpression::Print() { | 
| 9 | Printer::Print(ToString()); | 
| 10 | } | 
| 11 | |
| 12 | bool BaseExpression::Equals(const BaseExpression *other) const { | 
| 13 | if (!other) { | 
| 14 | return false; | 
| 15 | } | 
| 16 | if (this->expression_class != other->expression_class || this->type != other->type) { | 
| 17 | return false; | 
| 18 | } | 
| 19 | return true; | 
| 20 | } | 
| 21 | 
