[][src]Function rslint_core::util::get_assignment_expr_value

pub fn get_assignment_expr_value(expr: AssignExpr) -> String

Expands an assignment to the returned value, e.g. foo += 5 -> foo + 5, foo = 6 -> 6

Panics

Panics if the expression does not have an operator.