Lines Matching refs:is_empty
1604 } else if !attrs.is_empty() { in trailer_expr()
1911 } else if input.is_empty() { in atom_expr()
1918 if content.parse::<Expr>().is_ok() && content.is_empty() { in atom_expr()
2008 if content.is_empty() { in paren_or_tuple()
2017 if content.is_empty() { in paren_or_tuple()
2027 while !content.is_empty() { in paren_or_tuple()
2030 if content.is_empty() { in paren_or_tuple()
2047 if content.is_empty() { in array_or_repeat()
2056 if content.is_empty() || content.peek(Token![,]) { in array_or_repeat()
2059 while !content.is_empty() { in array_or_repeat()
2062 if content.is_empty() { in array_or_repeat()
2096 while !content.is_empty() { in parse()
2099 if content.is_empty() { in parse()
2166 Expr::Path(mut expr) if expr.attrs.is_empty() => { in expr_group()
2798 while !content.is_empty() { in expr_struct_helper()
2807 rest: if content.is_empty() { in expr_struct_helper()
2816 if content.is_empty() { in expr_struct_helper()
2892 && (input.is_empty() in parse_range_end()
2991 while !input.is_empty() { in parse_multiple()
3022 if requires_comma && !input.is_empty() { in parse()
3036 if lit.suffix().is_empty() { in parse()
3305 let needs_group = !e.attrs.is_empty(); in print_expr_assign()
3376 let needs_group = !e.attrs.is_empty(); in print_expr_binary()
3511 let needs_group = !e.attrs.is_empty(); in print_expr_cast()
3558 … || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none()) in print_expr_closure()
3851 let needs_group = !e.attrs.is_empty(); in print_expr_range()