Searched refs:push_punct (Results 1 – 11 of 11) sorted by relevance
282 macro_rules! push_punct { macro327 push_punct!(push_add push_add_spanned '+');328 push_punct!(push_add_eq push_add_eq_spanned '+' '=');329 push_punct!(push_and push_and_spanned '&');330 push_punct!(push_and_and push_and_and_spanned '&' '&');331 push_punct!(push_and_eq push_and_eq_spanned '&' '=');332 push_punct!(push_at push_at_spanned '@');333 push_punct!(push_bang push_bang_spanned '!');334 push_punct!(push_caret push_caret_spanned '^');335 push_punct!(push_caret_eq push_caret_eq_spanned '^' '=');[all …]
376 args.push_punct(punct); in parse()466 bounds.push_punct(punct); in constraint_bounds()526 segments.push_punct(punct); in parse_mod_style()624 path.segments.push_punct(punct); in parse_rest()653 rest.push_punct(punct); in qpath()658 path.segments.push_punct(colon2_token); in qpath()
646 params.push_punct(punct); in parse()716 bounds.push_punct(punct); in parse()738 lifetimes.push_punct(input.parse()?); in parse()784 bounds.push_punct(punct); in parse()842 bounds.push_punct(input.parse()?); in parse_multiple()963 predicates.push_punct(punct); in parse()1007 bounds.push_punct(punct); in parse()1035 bounds.push_punct(punct); in parse()
451 bounds.push_punct(plus); in ambig_ty()465 elems.push_punct(content.parse()?); in ambig_ty()471 elems.push_punct(content.parse()?); in ambig_ty()517 bounds.push_punct(plus); in ambig_ty()603 bounds.push_punct(input.parse()?); in ambig_ty()760 inputs.push_punct(comma); in parse_bare_fn()814 elems.push_punct(content.parse()?); in parse()820 elems.push_punct(content.parse()?); in parse()
181 pub fn push_punct(&mut self, punctuation: P) { in push_punct() method225 self.push_punct(Default::default()); in push()308 punctuated.push_punct(punct); in parse_terminated_with()363 punctuated.push_punct(punct); in parse_separated_nonempty_with()
490 fields.push_punct(punct); in pat_struct()609 elems.push_punct(punct); in pat_tuple()708 elems.push_punct(punct); in pat_slice()748 cases.push_punct(punct); in multi_pat_impl()
545 segments.push_punct(punct); in parse_meta_path()
1915 elems.push_punct(punct); in paren_or_tuple()1947 elems.push_punct(punct); in array_or_repeat()1989 elems.push_punct(punct); in parse()2137 args.push_punct(punct); in parse()2461 inputs.push_punct(punct); in expr_closure()2713 fields.push_punct(punct); in expr_struct_helper()
1195 bounds.push_punct(input.parse::<Token![+]>()?); in parse()1646 args.push_punct(comma); in parse_fn_args()2115 supertraits.push_punct(input.parse()?); in parse_rest_of_trait()2182 bounds.push_punct(input.parse()?); in parse_rest_of_trait_alias()2333 bounds.push_punct(input.parse()?); in parse()
100 lifetimes.push_punct(punct); in parse_struct()642 args.push_punct(*comma); in parse_extern_fn()772 lifetimes.push_punct(punct); in parse_extern_verbatim_type()1037 impl_generics.lifetimes.push_punct(punct); in parse_impl()1306 lifetimes.push_punct(*punct); in parse_type_path()
67 path.segments.push_punct(<Token![::]>::default()); in self_to_expr_path()