• Home
  • Raw
  • Download

Lines Matching refs:attrs

261         pub attrs: Vec<Attribute>,
273 pub attrs: Vec<Attribute>,
286 pub attrs: Vec<Attribute>,
299 pub attrs: Vec<Attribute>,
312 pub attrs: Vec<Attribute>,
326 pub attrs: Vec<Attribute>,
339 pub attrs: Vec<Attribute>,
351 pub attrs: Vec<Attribute>,
364 pub attrs: Vec<Attribute>,
378 pub attrs: Vec<Attribute>,
392 pub attrs: Vec<Attribute>,
405 pub attrs: Vec<Attribute>,
423 pub attrs: Vec<Attribute>,
436 pub attrs: Vec<Attribute>,
449 pub attrs: Vec<Attribute>,
469 pub attrs: Vec<Attribute>,
485 pub attrs: Vec<Attribute>,
500 pub attrs: Vec<Attribute>,
513 pub attrs: Vec<Attribute>,
528 pub attrs: Vec<Attribute>,
539 pub attrs: Vec<Attribute>,
552 pub attrs: Vec<Attribute>,
563 pub attrs: Vec<Attribute>,
577 pub attrs: Vec<Attribute>,
593 pub attrs: Vec<Attribute>,
609 pub attrs: Vec<Attribute>,
621 pub attrs: Vec<Attribute>,
634 pub attrs: Vec<Attribute>,
648 pub attrs: Vec<Attribute>,
662 pub attrs: Vec<Attribute>,
677 pub attrs: Vec<Attribute>,
692 pub attrs: Vec<Attribute>,
704 pub attrs: Vec<Attribute>,
716 pub attrs: Vec<Attribute>,
728 pub attrs: Vec<Attribute>,
742 pub attrs: Vec<Attribute>,
754 pub attrs: Vec<Attribute>,
766 pub attrs: Vec<Attribute>,
780 pub attrs: Vec<Attribute>,
790 Expr::Box(ExprBox { attrs, .. }) in replace_attrs()
791 | Expr::Array(ExprArray { attrs, .. }) in replace_attrs()
792 | Expr::Call(ExprCall { attrs, .. }) in replace_attrs()
793 | Expr::MethodCall(ExprMethodCall { attrs, .. }) in replace_attrs()
794 | Expr::Tuple(ExprTuple { attrs, .. }) in replace_attrs()
795 | Expr::Binary(ExprBinary { attrs, .. }) in replace_attrs()
796 | Expr::Unary(ExprUnary { attrs, .. }) in replace_attrs()
797 | Expr::Lit(ExprLit { attrs, .. }) in replace_attrs()
798 | Expr::Cast(ExprCast { attrs, .. }) in replace_attrs()
799 | Expr::Type(ExprType { attrs, .. }) in replace_attrs()
800 | Expr::Let(ExprLet { attrs, .. }) in replace_attrs()
801 | Expr::If(ExprIf { attrs, .. }) in replace_attrs()
802 | Expr::While(ExprWhile { attrs, .. }) in replace_attrs()
803 | Expr::ForLoop(ExprForLoop { attrs, .. }) in replace_attrs()
804 | Expr::Loop(ExprLoop { attrs, .. }) in replace_attrs()
805 | Expr::Match(ExprMatch { attrs, .. }) in replace_attrs()
806 | Expr::Closure(ExprClosure { attrs, .. }) in replace_attrs()
807 | Expr::Unsafe(ExprUnsafe { attrs, .. }) in replace_attrs()
808 | Expr::Block(ExprBlock { attrs, .. }) in replace_attrs()
809 | Expr::Assign(ExprAssign { attrs, .. }) in replace_attrs()
810 | Expr::AssignOp(ExprAssignOp { attrs, .. }) in replace_attrs()
811 | Expr::Field(ExprField { attrs, .. }) in replace_attrs()
812 | Expr::Index(ExprIndex { attrs, .. }) in replace_attrs()
813 | Expr::Range(ExprRange { attrs, .. }) in replace_attrs()
814 | Expr::Path(ExprPath { attrs, .. }) in replace_attrs()
815 | Expr::Reference(ExprReference { attrs, .. }) in replace_attrs()
816 | Expr::Break(ExprBreak { attrs, .. }) in replace_attrs()
817 | Expr::Continue(ExprContinue { attrs, .. }) in replace_attrs()
818 | Expr::Return(ExprReturn { attrs, .. }) in replace_attrs()
819 | Expr::Macro(ExprMacro { attrs, .. }) in replace_attrs()
820 | Expr::Struct(ExprStruct { attrs, .. }) in replace_attrs()
821 | Expr::Repeat(ExprRepeat { attrs, .. }) in replace_attrs()
822 | Expr::Paren(ExprParen { attrs, .. }) in replace_attrs()
823 | Expr::Group(ExprGroup { attrs, .. }) in replace_attrs()
824 | Expr::Try(ExprTry { attrs, .. }) in replace_attrs()
825 | Expr::Async(ExprAsync { attrs, .. }) in replace_attrs()
826 | Expr::Await(ExprAwait { attrs, .. }) in replace_attrs()
827 | Expr::TryBlock(ExprTryBlock { attrs, .. }) in replace_attrs()
828 | Expr::Yield(ExprYield { attrs, .. }) => mem::replace(attrs, new), in replace_attrs()
997 pub attrs: Vec<Attribute>,
1046 pub attrs: Vec<Attribute>,
1304 attrs: Vec::new(), in parse_expr()
1311 attrs: Vec::new(), in parse_expr()
1333 attrs: Vec::new(), in parse_expr()
1360 attrs: Vec::new(), in parse_expr()
1369 attrs: Vec::new(), in parse_expr()
1378 attrs: Vec::new(), in parse_expr()
1416 attrs: Vec::new(), in parse_expr()
1425 attrs: Vec::new(), in parse_expr()
1461 let mut attrs = Vec::new(); in expr_attrs() localVariable
1473 attrs.push(attr); in expr_attrs()
1475 attrs.push(input.call(attr::parsing::single_parse_outer)?); in expr_attrs()
1480 Ok(attrs) in expr_attrs()
1490 let attrs = input.call(expr_attrs)?; in unary_expr() localVariable
1508 attrs, in unary_expr()
1516 expr_box(input, attrs, allow_struct).map(Expr::Box) in unary_expr()
1518 expr_unary(input, attrs, allow_struct).map(Expr::Unary) in unary_expr()
1520 trailer_expr(attrs, input, allow_struct) in unary_expr()
1528 attrs: Vec::new(), in unary_expr()
1545 mut attrs: Vec<Attribute>, in trailer_expr()
1553 attrs.extend(inner_attrs); in trailer_expr()
1554 e.replace_attrs(attrs); in trailer_expr()
1564 attrs: Vec::new(), in trailer_helper()
1581 attrs: Vec::new(), in trailer_helper()
1627 attrs: Vec::new(), in trailer_helper()
1640 attrs: Vec::new(), in trailer_helper()
1648 attrs: Vec::new(), in trailer_helper()
1655 attrs: Vec::new(), in trailer_helper()
1674 attrs: Vec::new(), in trailer_expr()
1689 attrs: Vec::new(), in trailer_expr()
1697 attrs: Vec::new(), in trailer_expr()
1845 attrs: Vec::new(), in path_or_macro_or_struct()
1874 attrs: Vec::new(), in parse()
1887 attrs: inner_attrs, in paren_or_tuple()
1896 attrs: inner_attrs, in paren_or_tuple()
1914 attrs: inner_attrs, in paren_or_tuple()
1927 attrs: inner_attrs, in array_or_repeat()
1947 attrs: inner_attrs, in array_or_repeat()
1955 attrs: inner_attrs, in array_or_repeat()
1986 attrs: inner_attrs, in parse()
2000 attrs: content.call(Attribute::parse_inner)?, in parse()
2010 let mut attrs = input.call(expr_attrs)?; in expr_early() localVariable
2033 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2034 expr.replace_attrs(attrs); in expr_early()
2042 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2043 expr.replace_attrs(attrs); in expr_early()
2049 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2050 expr.replace_attrs(attrs); in expr_early()
2058 attrs: Vec::new(), in parse()
2068 attrs: Vec::new(), in expr_group()
2085 attrs: Vec::new(), in expr_paren()
2111 attrs: Vec::new(), in parse()
2128 let attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2130 attrs, in parse()
2154 attrs: Vec::new(), in else_block()
2169 let mut attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2180 attr::parsing::parse_inner(&content, &mut attrs)?; in parse()
2184 attrs, in parse()
2199 let mut attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2205 attr::parsing::parse_inner(&content, &mut attrs)?; in parse()
2209 attrs, in parse()
2221 let mut attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2227 attr::parsing::parse_inner(&content, &mut attrs)?; in parse()
2235 attrs, in parse()
2288 let attrs = Vec::new(); in parse() localVariable
2290 expr_box(input, attrs, allow_struct) in parse()
2297 attrs: Vec<Attribute>, in expr_box()
2301 attrs, in expr_box()
2311 let attrs = Vec::new(); in parse() localVariable
2313 expr_unary(input, attrs, allow_struct) in parse()
2320 attrs: Vec<Attribute>, in expr_unary()
2324 attrs, in expr_unary()
2345 attrs: Vec::new(), in parse()
2377 attrs: Vec::new(), in parse()
2389 attrs: Vec::new(), in parse()
2431 attrs: Vec::new(), in expr_closure()
2442 attrs: Vec::new(), in expr_closure()
2459 attrs: Vec::new(), in parse()
2469 let attrs = input.call(Attribute::parse_outer)?; in closure_arg() localVariable
2474 attrs, in closure_arg()
2481 Pat::Box(pat) => pat.attrs = attrs, in closure_arg()
2482 Pat::Ident(pat) => pat.attrs = attrs, in closure_arg()
2483 Pat::Lit(pat) => pat.attrs = attrs, in closure_arg()
2484 Pat::Macro(pat) => pat.attrs = attrs, in closure_arg()
2485 Pat::Or(pat) => pat.attrs = attrs, in closure_arg()
2486 Pat::Path(pat) => pat.attrs = attrs, in closure_arg()
2487 Pat::Range(pat) => pat.attrs = attrs, in closure_arg()
2488 Pat::Reference(pat) => pat.attrs = attrs, in closure_arg()
2489 Pat::Rest(pat) => pat.attrs = attrs, in closure_arg()
2490 Pat::Slice(pat) => pat.attrs = attrs, in closure_arg()
2491 Pat::Struct(pat) => pat.attrs = attrs, in closure_arg()
2492 Pat::Tuple(pat) => pat.attrs = attrs, in closure_arg()
2493 Pat::TupleStruct(pat) => pat.attrs = attrs, in closure_arg()
2496 Pat::Wild(pat) => pat.attrs = attrs, in closure_arg()
2511 let mut attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2518 attr::parsing::parse_inner(&content, &mut attrs)?; in parse()
2522 attrs, in parse()
2559 attrs: Vec::new(), in parse()
2569 attrs: Vec::new(), in expr_break()
2590 attrs: Vec::new(), in expr_ret()
2612 let attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2620 attrs: Vec::new(), in parse()
2630 attrs, in parse()
2642 let attrs = Vec::new(); in parse() localVariable
2644 expr_struct_helper(input, attrs, path) in parse()
2651 mut attrs: Vec<Attribute>, in expr_struct_helper()
2656 attr::parsing::parse_inner(&content, &mut attrs)?; in expr_struct_helper()
2662 attrs, in expr_struct_helper()
2684 attrs, in expr_struct_helper()
2705 attrs: inner_attrs, in parse()
2729 let mut attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2734 attr::parsing::parse_inner(&content, &mut attrs)?; in parse()
2738 attrs, in parse()
2748 attrs: Vec::new(), in expr_range()
2789 let attrs = Vec::new(); in parse() localVariable
2791 let attrs = input.call(Attribute::parse_outer)?; in parse() localVariable
2795 Ok(ExprPath { attrs, qself, path }) in parse()
2818 attrs: input.call(Attribute::parse_outer)?, in parse()
2874 attrs: Vec::new(), in multi_index()
2917 pub(crate) fn outer_attrs_to_tokens(attrs: &[Attribute], tokens: &mut TokenStream) { in outer_attrs_to_tokens()
2918 tokens.append_all(attrs.outer()); in outer_attrs_to_tokens()
2922 fn inner_attrs_to_tokens(attrs: &[Attribute], tokens: &mut TokenStream) { in inner_attrs_to_tokens()
2923 tokens.append_all(attrs.inner()); in inner_attrs_to_tokens()
2936 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
2946 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
2948 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
2957 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
2969 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3006 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3008 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3022 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3032 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3041 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3049 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3060 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3091 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3103 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3115 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3120 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3130 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3137 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3147 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3151 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3161 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3165 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3183 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3194 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3205 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3215 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3225 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3241 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3244 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3254 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3257 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3267 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3278 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3288 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3317 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3329 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3342 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3351 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3362 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3373 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3383 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3393 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3402 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3405 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3421 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3423 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3435 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3445 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3447 inner_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3457 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3476 outer_attrs_to_tokens(&self.attrs, tokens); in to_tokens()
3489 tokens.append_all(&self.attrs); in to_tokens()