Home
last modified time | relevance | path

Searched refs:push_punct (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/quote/src/
Druntime.rs282 macro_rules! push_punct { macro
327 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 …]
/third_party/rust/crates/syn/src/
Dpath.rs376 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()
Dgenerics.rs646 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()
Dty.rs451 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()
Dpunctuated.rs181 pub fn push_punct(&mut self, punctuation: P) { in push_punct() method
225 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()
Dpat.rs490 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()
Dattr.rs545 segments.push_punct(punct); in parse_meta_path()
Dexpr.rs1915 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()
Ditem.rs1195 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()
/third_party/rust/crates/cxx/syntax/
Dparse.rs100 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()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dreceiver.rs67 path.segments.push_punct(<Token![::]>::default()); in self_to_expr_path()