has_in_newline_expr_first

Function has_in_newline_expr_first 

Source
fn has_in_newline_expr_first(node: &SyntaxNode) -> bool
Expand description

Similar to has_parens, heuristic sensing incomplete statement before ambiguous Expr

Heuristic:

If the PathExpr is left part of the Expr and there is a newline after the PathExpr, it is considered that the PathExpr is not part of the Expr.