risingwave_frontend::expr

Function default_visit_expr

source
pub fn default_visit_expr<V: ExprVisitor + ?Sized>(
    visitor: &mut V,
    expr: &ExprImpl,
)
Expand description

The default implementation of ExprVisitor::visit_expr that simply dispatches to other methods based on the type of the expression.

You can use this function as a helper to reduce boilerplate code when implementing the trait.