use crate::planner::operator::Operator;
#[allow(dead_code)]
pub enum PatternChildrenPredicate {
Recursive,
Predicate(Vec<Pattern>),
None,
}
pub struct Pattern {
pub predicate: fn(&Operator) -> bool,
pub children: PatternChildrenPredicate,
}
pub trait PatternMatcher {
fn match_opt_expr(&self) -> bool;
}