Lines Matching defs:expr
110 expr: Expr::Path {
141 expr: Expr::Path {
211 // mimics the token stream corresponding to `$expr.method()` where expr is `&self`
217 expr: Expr::Reference {
218 expr: Expr::Path {
236 // mimics the token stream corresponding to `match v { _ => $expr }`
237 let expr = Group::new(Delimiter::None, quote! { #[a] () });
238 let tokens = quote!(match v { _ => #expr });
241 expr: Expr::Path {
254 expr: Expr::Tuple {
274 let expr = Group::new(Delimiter::None, quote!(loop {} + 1));
275 let tokens = quote!(match v { _ => #expr });
278 expr: Expr::Path {
291 expr: Expr::Binary {
388 expr: Expr::Path {
452 expr: Expr::Binary {
490 let mut expr = ExprTuple {
495 snapshot!(expr.to_token_stream() as Expr, @"Expr::Tuple");
497 expr.elems.push_value(parse_quote!(continue));
499 snapshot!(expr.to_token_stream() as Expr, @r###"
508 expr.elems.push_punct(<Token![,]>::default());
509 snapshot!(expr.to_token_stream() as Expr, @r###"
518 expr.elems.push_value(parse_quote!(continue));
519 snapshot!(expr.to_token_stream() as Expr, @r###"
529 expr.elems.push_punct(<Token![,]>::default());
530 snapshot!(expr.to_token_stream() as Expr, @r###"