[−][src]Trait libslide::visit::ExprPatVisitor
Describes an expression pattern visitor.
Provided methods
fn visit_expr_pat(&mut self, expr_pat: &'a RcExprPat)
Visits an expression pattern.
fn visit_const(&mut self, _konst: &f64)
Visits a constant.
fn visit_var_pat(&mut self, _var_pat: &'a str, _span: Span)
Visits a variable pattern.
fn visit_const_pat(&mut self, _const_pat: &'a str, _span: Span)
Visits a constant pattern.
fn visit_any_pat(&mut self, _any_pat: &'a str, _span: Span)
Visits an any pattern.
fn visit_binary_op(&mut self, _op: BinaryOperator)
Visits a binary operator.
fn visit_binary_expr_pat(&mut self, expr: &'a BinaryExpr<RcExprPat>)
Visits a binary expression pattern.
fn visit_unary_op(&mut self, _op: UnaryOperator)
Visits a unary operator.
fn visit_unary_expr_pat(&mut self, expr: &'a UnaryExpr<RcExprPat>)
Visits a unary expression pattern.
fn visit_parend_expr_pat(&mut self, expr: &'a RcExprPat, span: Span)
Visits a parenthesized expression pattern.
fn visit_bracketed_expr_pat(&mut self, expr: &'a RcExprPat, span: Span)
Visits a bracketed expression pattern.