Home
last modified time | relevance | path

Searched refs:colon_token (Results 1 – 24 of 24) sorted by relevance

/third_party/rust/crates/syn/src/
Dgenerics.rs57 pub colon_token: Option<Token![:]>,
73 pub colon_token: Option<Token![:]>,
88 pub colon_token: Token![:],
451 colon_token: None, in new()
462 colon_token: None, in from()
559 pub colon_token: Token![:],
573 pub colon_token: Token![:],
633 colon_token: None, in parse()
694 colon_token: { in parse()
763 let colon_token: Option<Token![:]> = input.parse()?; in parse() localVariable
[all …]
Ditem.rs109 pub colon_token: Token![:],
251 pub colon_token: Token![:],
288 pub colon_token: Option<Token![:]>,
627 pub colon_token: Token![:],
720 pub colon_token: Token![:],
750 pub colon_token: Option<Token![:]>,
832 pub colon_token: Token![:],
1025 let colon_token = input.parse()?; in parse() localVariable
1037 colon_token, in parse()
1059 let colon_token = input.parse()?; in parse() localVariable
[all …]
Dpat.rs279 pub colon_token: Token![:],
306 pub colon_token: Option<Token![:]>,
523 colon_token: input.parse()?, in field_pat()
552 colon_token: None, in field_pat()
821 self.colon_token.to_tokens(tokens); in to_tokens()
920 if let Some(colon_token) = &self.colon_token { in to_tokens()
922 colon_token.to_tokens(tokens); in to_tokens()
Ddata.rs166 pub colon_token: Option<Token![:]>,
309 colon_token: Some(input.parse()?), in parse_named()
321 colon_token: None, in parse_unnamed()
461 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
Dexpr.rs727 pub colon_token: Token![:],
1009 pub colon_token: Option<Token![:]>,
1024 pub colon_token: Token![:],
1385 let colon_token: Token![:] = input.parse()?; in parse_expr() localVariable
1393 colon_token, in parse_expr()
2517 colon_token: input.parse()?, in closure_arg()
2576 colon_token: input.parse()?, in parse()
2653 let (colon_token, value) = if input.peek(Token![:]) || !member.is_named() { in parse()
2654 let colon_token: Token![:] = input.parse()?; in parse() localVariable
2656 (Some(colon_token), value) in parse()
[all …]
Dstmt.rs235 let colon_token: Token![:] = input.parse()?; in stmt_local() localVariable
240 colon_token, in stmt_local()
Dpath.rs160 pub colon_token: Token![:],
447 colon_token: input.parse()?, in parse()
806 self.colon_token.to_tokens(tokens); in to_tokens()
/third_party/rust/crates/syn/src/gen/
Dclone.rs127 colon_token: self.colon_token.clone(), in clone()
140 colon_token: self.colon_token.clone(), in clone()
699 colon_token: self.colon_token.clone(), in clone()
758 colon_token: self.colon_token.clone(), in clone()
770 colon_token: self.colon_token.clone(), in clone()
782 colon_token: self.colon_token.clone(), in clone()
887 colon_token: self.colon_token.clone(), in clone()
977 colon_token: self.colon_token.clone(), in clone()
1072 colon_token: self.colon_token.clone(), in clone()
1200 colon_token: self.colon_token.clone(), in clone()
[all …]
Dfold.rs1000 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_const_param()
1013 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_constraint()
1561 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_expr_type()
1620 colon_token: (node.colon_token).map(|it| Token![:](tokens_helper(f, &it.spans))), in fold_field()
1632 colon_token: (node.colon_token).map(|it| Token![:](tokens_helper(f, &it.spans))), in fold_field_pat()
1644 colon_token: (node.colon_token).map(|it| Token![:](tokens_helper(f, &it.spans))), in fold_field_value()
1760 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_foreign_item_static()
1889 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_impl_item_const()
1992 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_item_const()
2134 colon_token: Token![:](tokens_helper(f, &node.colon_token.spans)), in fold_item_static()
[all …]
Ddebug.rs269 formatter.field("colon_token", &self.colon_token); in fmt()
282 formatter.field("colon_token", &self.colon_token); in fmt()
1013 formatter.field("colon_token", &self.colon_token); in fmt()
1072 formatter.field("colon_token", &self.colon_token); in fmt()
1084 formatter.field("colon_token", &self.colon_token); in fmt()
1096 formatter.field("colon_token", &self.colon_token); in fmt()
1237 formatter.field("colon_token", &self.colon_token); in fmt()
1387 formatter.field("colon_token", &self.colon_token); in fmt()
1550 formatter.field("colon_token", &self.colon_token); in fmt()
1678 formatter.field("colon_token", &self.colon_token); in fmt()
[all …]
Dvisit_mut.rs1003 tokens_helper(v, &mut node.colon_token.spans); in visit_const_param_mut()
1018 tokens_helper(v, &mut node.colon_token.spans); in visit_constraint_mut()
1717 tokens_helper(v, &mut node.colon_token.spans); in visit_expr_type_mut()
1782 if let Some(it) = &mut node.colon_token { in visit_field_mut()
1796 if let Some(it) = &mut node.colon_token { in visit_field_pat_mut()
1810 if let Some(it) = &mut node.colon_token { in visit_field_value_mut()
1949 tokens_helper(v, &mut node.colon_token.spans); in visit_foreign_item_static_mut()
2089 tokens_helper(v, &mut node.colon_token.spans); in visit_impl_item_const_mut()
2222 tokens_helper(v, &mut node.colon_token.spans); in visit_item_const_mut()
2386 tokens_helper(v, &mut node.colon_token.spans); in visit_item_static_mut()
[all …]
Deq.rs720 && self.colon_token == other.colon_token && self.ty == other.ty in eq()
731 && self.colon_token == other.colon_token && self.pat == other.pat in eq()
742 && self.colon_token == other.colon_token && self.expr == other.expr in eq()
1172 && self.colon_token == other.colon_token in eq()
1238 && self.colon_token == other.colon_token && self.bounds == other.bounds in eq()
1809 && self.generics == other.generics && self.colon_token == other.colon_token in eq()
1922 && self.colon_token == other.colon_token && self.bounds == other.bounds in eq()
Dvisit.rs1002 tokens_helper(v, &node.colon_token.spans); in visit_const_param()
1017 tokens_helper(v, &node.colon_token.spans); in visit_constraint()
1716 tokens_helper(v, &node.colon_token.spans); in visit_expr_type()
1781 if let Some(it) = &node.colon_token { in visit_field()
1795 if let Some(it) = &node.colon_token { in visit_field_pat()
1809 if let Some(it) = &node.colon_token { in visit_field_value()
1948 tokens_helper(v, &node.colon_token.spans); in visit_foreign_item_static()
2089 tokens_helper(v, &node.colon_token.spans); in visit_impl_item_const()
2222 tokens_helper(v, &node.colon_token.spans); in visit_item_const()
2386 tokens_helper(v, &node.colon_token.spans); in visit_item_static()
[all …]
Dhash.rs985 self.colon_token.hash(state); in hash()
998 self.colon_token.hash(state); in hash()
1011 self.colon_token.hash(state); in hash()
1592 self.colon_token.hash(state); in hash()
1671 self.colon_token.hash(state); in hash()
2400 self.colon_token.hash(state); in hash()
2559 self.colon_token.hash(state); in hash()
/third_party/rust/crates/cxx/syntax/
Dimpls.rs348 colon_token: _, in eq()
357 colon_token: _, in eq()
389 colon_token: _, in hash()
409 colon_token: _, in eq()
421 colon_token: _, in eq()
439 colon_token: _, in hash()
Dparse.rs154 let colon_token = field.colon_token.unwrap(); in parse_struct() localVariable
161 colon_token, in parse_struct()
497 let colon_token = None; in parse_extern_type() localVariable
514 colon_token, in parse_extern_type()
606 colon_token: Token![:](arg.self_token.span), in parse_extern_fn()
631 let colon_token = arg.colon_token; in parse_extern_fn() localVariable
638 colon_token, in parse_extern_fn()
654 colon_token: arg.colon_token, in parse_extern_fn()
916 let colon_token: Option<Token![:]> = input.parse()?; in parse_extern_type_bounded() localVariable
917 if colon_token.is_some() { in parse_extern_type_bounded()
[all …]
Dmod.rs90 pub colon_token: Option<Token![:]>, field
200 pub colon_token: Token![:], field
211 pub colon_token: Token![:], field
Dtokens.rs50 colon_token: _, in to_tokens()
/third_party/rust/crates/cxx/macro/src/
Dtokens.rs29 colon_token: _, in to_tokens()
57 colon_token: _, in to_tokens()
Dexpand.rs458 let colon = arg.colon_token; in expand_cxx_function_decl()
498 let colon = receiver.colon_token; in expand_cxx_function_shim()
971 let colon = receiver.colon_token; in expand_rust_function_shim_impl()
977 let colon = arg.colon_token; in expand_rust_function_shim_impl()
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs289 colon_token: <Token![:]>::default(), in with_bound()
323 colon_token: <Token![:]>::default(), in with_self_bound()
342 colon_token: None, in with_lifetime_bound()
Dde.rs248 colon_token: None, in de_lifetime_def()
3064 colon_token: None, in to_tokens()
3090 colon_token: None, in to_tokens()
3115 colon_token: None, in place_lifetime()
/third_party/rust/crates/cxx/gen/src/
Dnested.rs149 colon_token: None, in make_api()
/third_party/rust/crates/syn/tests/debug/
Dgen.rs1897 if let Some(val) = &_val.colon_token { in fmt()
1921 if let Some(val) = &_val.colon_token { in fmt()
1945 if let Some(val) = &_val.colon_token { in fmt()
2864 if let Some(val) = &_val.colon_token { in fmt()
3294 if let Some(val) = &_val.colon_token { in fmt()
3407 if let Some(val) = &_val.colon_token { in fmt()
4629 if let Some(val) = &_val.colon_token { in fmt()
4792 if let Some(val) = &_val.colon_token { in fmt()
5187 if let Some(val) = &_val.colon_token { in fmt()