1#include "duckdb/parser/base_expression.hpp"
2
3#include "duckdb/common/printer.hpp"
4
5using namespace duckdb;
6using namespace std;
7
8void BaseExpression::Print() {
9 Printer::Print(ToString());
10}
11
12bool 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