Trait ExprExt

Source
pub trait ExprExt {
    // Required method
    fn as_expr(&self) -> &Expr;

    // Provided method
    fn is_valid_simple_assignment_target(&self, strict: bool) -> bool { ... }
}

Required Methods§

Source

fn as_expr(&self) -> &Expr

Provided Methods§

Source

fn is_valid_simple_assignment_target(&self, strict: bool) -> bool

“IsValidSimpleAssignmentTarget” from spec.

Implementations on Foreign Types§

Source§

impl ExprExt for Box<Expr>

Source§

fn as_expr(&self) -> &Expr

Source§

impl ExprExt for Expr

Source§

fn as_expr(&self) -> &Expr

Implementors§