macro_rules! impl_has_variant { ( $($variant:ty),* ) => { ... }; }
Expand description
Implement helper functions which recursively checks whether an variant is included in the
expression. e.g., has_subquery(&self) -> bool
It will not traverse inside subqueries.