Home
last modified time | relevance | path

Searched refs:paren_token (Results 1 – 23 of 23) sorted by relevance

/third_party/rust/crates/syn/src/
Dty.rs116 pub paren_token: token::Paren,
188 pub paren_token: token::Paren,
266 pub paren_token: token::Paren,
428 let paren_token = parenthesized!(content in input); in ambig_ty() localVariable
431 paren_token, in ambig_ty()
437 paren_token, in ambig_ty()
447 paren_token: Some(paren_token), in ambig_ty()
461 paren_token, in ambig_ty()
482 paren_token: Some(paren_token), in ambig_ty()
502 paren_token: Some(paren_token), in ambig_ty()
[all …]
Ddata.rs70 pub paren_token: token::Paren,
233 pub paren_token: token::Paren,
291 paren_token: parenthesized!(content in input), in parse()
359 let paren_token = parenthesized!(content in ahead); in parse_pub() localVariable
374 paren_token, in parse_pub()
386 paren_token, in parse_pub()
448 self.paren_token.surround(tokens, |tokens| { in to_tokens()
485 self.paren_token.surround(tokens, |tokens| { in to_tokens()
Dattr.rs380 pub paren_token: token::Paren,
610 paren_token: parenthesized!(content in input), in parse_meta_list_after_path()
648 self.paren_token.surround(tokens, |tokens| { in to_tokens()
Dgenerics.rs489 pub paren_token: Option<token::Paren>,
821 let paren_token = parenthesized!(content in input); in parse() localVariable
823 bound.paren_token = Some(paren_token); in parse()
897 paren_token: None, in parse()
1293 match &self.paren_token { in to_tokens()
Dexpr.rs377 pub paren_token: token::Paren,
579 pub paren_token: token::Paren,
591 pub paren_token: token::Paren,
714 pub paren_token: token::Paren,
1588 paren_token: parenthesized!(content in input), in trailer_helper()
1634 paren_token: parenthesized!(content in input), in trailer_helper()
1678 paren_token: parenthesized!(content in input), in trailer_expr()
1893 let paren_token = parenthesized!(content in input); in paren_or_tuple() localVariable
1897 paren_token, in paren_or_tuple()
1906 paren_token, in paren_or_tuple()
[all …]
Dpat.rs254 pub paren_token: token::Paren,
599 let paren_token = parenthesized!(content in input); in pat_tuple() localVariable
614 paren_token, in pat_tuple()
838 self.paren_token.surround(tokens, |tokens| { in to_tokens()
Dpath.rs173 pub paren_token: token::Paren,
390 paren_token: parenthesized!(content in input), in parse()
814 self.paren_token.surround(tokens, |tokens| { in to_tokens()
Ditem.rs898 pub paren_token: token::Paren,
1276 let paren_token = parenthesized!(paren_content in input); in parse() localVariable
1279 args.set_span(paren_token.span); in parse()
1512 let paren_token = parenthesized!(content in input); in parse() localVariable
1527 paren_token, in parse()
3283 self.paren_token.surround(tokens, |tokens| { in to_tokens()
/third_party/rust/crates/syn/src/gen/
Dclone.rs393 paren_token: self.paren_token.clone(), in clone()
569 paren_token: self.paren_token.clone(), in clone()
580 paren_token: self.paren_token.clone(), in clone()
687 paren_token: self.paren_token.clone(), in clone()
813 paren_token: self.paren_token.clone(), in clone()
1411 paren_token: self.paren_token.clone(), in clone()
1454 paren_token: self.paren_token.clone(), in clone()
1616 paren_token: self.paren_token.clone(), in clone()
1778 paren_token: self.paren_token.clone(), in clone()
1802 paren_token: self.paren_token.clone(), in clone()
[all …]
Dfold.rs1250 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_expr_call()
1431 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_expr_method_call()
1442 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_expr_paren()
1549 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_expr_tuple()
1675 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_fields_unnamed()
2424 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_meta_list()
2470 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_parenthesized_generic_arguments()
2639 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_pat_tuple()
2824 paren_token: Paren(tokens_helper(f, &node.paren_token.span)), in fold_signature()
2859 paren_token: (node.paren_token).map(|it| Paren(tokens_helper(f, &it.span))), in fold_trait_bound()
[all …]
Ddebug.rs707 formatter.field("paren_token", &self.paren_token); in fmt()
883 formatter.field("paren_token", &self.paren_token); in fmt()
894 formatter.field("paren_token", &self.paren_token); in fmt()
1001 formatter.field("paren_token", &self.paren_token); in fmt()
1135 formatter.field("paren_token", &self.paren_token); in fmt()
1953 formatter.field("paren_token", &self.paren_token); in fmt()
2004 formatter.field("paren_token", &self.paren_token); in fmt()
2230 formatter.field("paren_token", &self.paren_token); in fmt()
2411 formatter.field("paren_token", &self.paren_token); in fmt()
2452 formatter.field("paren_token", &self.paren_token); in fmt()
[all …]
Dvisit_mut.rs1349 tokens_helper(v, &mut node.paren_token.span); in visit_expr_call_mut()
1556 tokens_helper(v, &mut node.paren_token.span); in visit_expr_method_call_mut()
1573 tokens_helper(v, &mut node.paren_token.span); in visit_expr_paren_mut()
1699 tokens_helper(v, &mut node.paren_token.span); in visit_expr_tuple_mut()
1849 tokens_helper(v, &mut node.paren_token.span); in visit_fields_unnamed_mut()
2687 tokens_helper(v, &mut node.paren_token.span); in visit_meta_list_mut()
2743 tokens_helper(v, &mut node.paren_token.span); in visit_parenthesized_generic_arguments_mut()
2976 tokens_helper(v, &mut node.paren_token.span); in visit_pat_tuple_mut()
3178 tokens_helper(v, &mut node.paren_token.span); in visit_signature_mut()
3221 if let Some(it) = &mut node.paren_token { in visit_trait_bound_mut()
[all …]
Dvisit.rs1348 tokens_helper(v, &node.paren_token.span); in visit_expr_call()
1555 tokens_helper(v, &node.paren_token.span); in visit_expr_method_call()
1572 tokens_helper(v, &node.paren_token.span); in visit_expr_paren()
1698 tokens_helper(v, &node.paren_token.span); in visit_expr_tuple()
1848 tokens_helper(v, &node.paren_token.span); in visit_fields_unnamed()
2687 tokens_helper(v, &node.paren_token.span); in visit_meta_list()
2743 tokens_helper(v, &node.paren_token.span); in visit_parenthesized_generic_arguments()
2976 tokens_helper(v, &node.paren_token.span); in visit_pat_tuple()
3178 tokens_helper(v, &node.paren_token.span); in visit_signature()
3221 if let Some(it) = &node.paren_token { in visit_trait_bound()
[all …]
Deq.rs1731 self.paren_token == other.paren_token && self.modifier == other.modifier in eq()
Dhash.rs2296 self.paren_token.hash(state); in hash()
/third_party/rust/crates/cxx/syntax/
Dtokens.rs265 paren_token, in to_tokens()
269 paren_token.surround(tokens, |tokens| { in to_tokens()
273 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
283 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
Dimpls.rs320 paren_token: _, in eq()
332 paren_token: _, in eq()
376 paren_token: _, in hash()
Dparse.rs678 let paren_token = foreign_fn.sig.paren_token; in parse_extern_fn() localVariable
700 paren_token, in parse_extern_fn()
921 paren_token: None, in parse_extern_type_bounded()
1154 RustType::Tuple(ty) if ty.elems.is_empty() => Ok(Type::Void(ty.paren_token.span)), in parse_type()
1390 let fn_span = ty.paren_token.span; in parse_type_fn()
1423 let paren_token = ty.paren_token; in parse_type_fn() localVariable
1434 paren_token, in parse_type_fn()
Dmod.rs190 pub paren_token: Paren, field
/third_party/rust/crates/syn/tests/
Dtest_precedence.rs365 paren_token: token::Paren::default(), in syn_brackets()
443 paren_token: token::Paren::default(), in collect_exprs()
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs292 paren_token: None, in with_bound()
326 paren_token: None, in with_self_bound()
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs729 let arg_list = quote_spanned!(efn.sig.paren_token.span=> (#(#all_args,)*)); in expand_cxx_function_shim()
/third_party/rust/crates/syn/tests/debug/
Dgen.rs4512 if let Some(val) = &_val.paren_token { in fmt()