pub fn descend_expr_pat<'a, V: ExprPatVisitor<'a>>(visitor: &mut V, expr_pat: &'a RcExprPat) {
    match expr_pat.as_ref() {
        ExprPat::Const(k) => visitor.visit_const(k),
        ExprPat::VarPat(v) => visitor.visit_var_pat(v, expr_pat.span),
        ExprPat::ConstPat(k) => visitor.visit_const_pat(k, expr_pat.span),
        ExprPat::AnyPat(a) => visitor.visit_any_pat(a, expr_pat.span),
        ExprPat::BinaryExpr(b) => visitor.visit_binary_expr_pat(b),
        ExprPat::UnaryExpr(u) => visitor.visit_unary_expr_pat(u),
        ExprPat::Parend(p) => visitor.visit_parend_expr_pat(p, expr_pat.span),
        ExprPat::Bracketed(b) => visitor.visit_bracketed_expr_pat(b, expr_pat.span),
    }
}
/// Descends down an expression pattern.
Descends down an expression pattern.
Descends down an expression pattern .
pub fn descend_expr_pat<'a, V: ExprPatVisitor<'a>>(visitor: &mut V, expr_pat: &'a RcExprPat) {
    match expr_pat.as_ref() {
        ExprPat::Const(k) => visitor.visit_const(k),
        ExprPat::VarPat(v) => visitor.visit_var_pat(v, expr_pat.span),
        ExprPat::ConstPat(k) => visitor.visit_const_pat(k, expr_pat.span),
        ExprPat::AnyPat(a) => visitor.visit_any_pat(a, expr_pat.span),
        ExprPat::BinaryExpr(b) => visitor.visit_binary_expr_pat(b),
        ExprPat::UnaryExpr(u) => visitor.visit_unary_expr_pat(u),
        ExprPat::Parend(p) => visitor.visit_parend_expr_pat(p, expr_pat.span),
        ExprPat::Bracketed(b) => visitor.visit_bracketed_expr_pat(b, expr_pat.span),
    }
}
pub fn descend_expr_pat < ' a , V : ExprPatVisitor < ' a > > ( visitor : & mut V , expr_pat : & ' a RcExprPat ) { match expr_pat . as_ref ( ) { ExprPat :: Const ( k ) => visitor . visit_const ( k ) , ExprPat :: VarPat ( v ) => visitor . visit_var_pat ( v , expr_pat . span ) , ExprPat :: ConstPat ( k ) => visitor . visit_const_pat ( k , expr_pat . span ) , ExprPat :: AnyPat ( a ) => visitor . visit_any_pat ( a , expr_pat . span ) , ExprPat :: BinaryExpr ( b ) => visitor . visit_binary_expr_pat ( b ) , ExprPat :: UnaryExpr ( u ) => visitor . visit_unary_expr_pat ( u ) , ExprPat :: Parend ( p ) => visitor . visit_parend_expr_pat ( p , expr_pat . span ) , ExprPat :: Bracketed ( b ) => visitor . visit_bracketed_expr_pat ( b , expr_pat . span ) , } }
Descends down an expression pattern.
Descends down an expression pattern .
visitor
&mut V
expr_pat
&'a RcExprPat
visitor
&mut V
expr_pat
&'a RcExprPat