Home
last modified time | relevance | path

Searched refs:eq_token (Results 1 – 20 of 20) sorted by relevance

/third_party/rust/crates/syn/src/
Ditem.rs101 pub eq_token: Token![=],
214 pub eq_token: Token![=],
262 pub eq_token: Token![=],
277 pub eq_token: Token![=],
735 pub eq_token: Token![=],
763 pub eq_token: Token![=],
977 eq_token: input.parse()?, in parse_rest_of_item()
995 let value = if let Some(eq_token) = input.parse::<Option<Token![=]>>()? { in parse_rest_of_item()
997 Some((eq_token, expr)) in parse_rest_of_item()
1004 Some((eq_token, expr)) in parse_rest_of_item()
[all …]
Dattr.rs249 meta.eq_token.span, in parse_args_with()
491 pub eq_token: Token![=],
516 Meta::NameValue(meta) => meta.eq_token.span, in require_path_only()
535 Meta::NameValue(meta) => Err(Error::new(meta.eq_token.span, "expected `(`")), in require_list()
694 let eq_token: Token![=] = input.parse()?; in parse_meta_name_value_after_path() localVariable
710 eq_token, in parse_meta_name_value_after_path()
772 self.eq_token.to_tokens(tokens); in to_tokens()
Dstmt.rs55 pub eq_token: Token![=],
281 let init = if let Some(eq_token) = input.parse()? { in stmt_local()
282 let eq_token: Token![=] = eq_token; in stmt_local() localVariable
298 eq_token, in stmt_local()
433 init.eq_token.to_tokens(tokens); in to_tokens()
Dgenerics.rs69 pub eq_token: Option<Token![=]>,
83 pub eq_token: Option<Token![=]>,
439 eq_token: None, in from()
576 eq_token: None, in parse()
729 let eq_token: Option<Token![=]> = input.parse()?; in parse() localVariable
730 let default = if eq_token.is_some() { in parse()
741 eq_token, in parse()
853 eq_token: { in parse()
855 let eq_token = input.parse()?; in parse() localVariable
857 Some(eq_token) in parse()
[all …]
Dpath.rs208 pub eq_token: Token![=],
220 pub eq_token: Token![=],
313 if let Some(eq_token) = input.parse::<Option<Token![=]>>()? { in parse()
325 eq_token, in parse()
332 eq_token, in parse()
792 self.eq_token.to_tokens(tokens); in to_tokens()
802 self.eq_token.to_tokens(tokens); in to_tokens()
Ddata.rs178 let eq_token: Token![=] = input.parse()?; in parse() localVariable
193 Some((eq_token, discriminant)) in parse()
367 if let Some((eq_token, disc)) = &self.discriminant { in to_tokens()
368 eq_token.to_tokens(tokens); in to_tokens()
Dexpr.rs259 pub eq_token: Token![=],
462 pub eq_token: Token![=],
1223 let eq_token: Token![=] = input.parse()?; in parse_expr() localVariable
1236 eq_token, in parse_expr()
2109 eq_token: input.parse()?, in parse()
3000 self.eq_token.to_tokens(tokens); in to_tokens()
3207 self.eq_token.to_tokens(tokens); in to_tokens()
/third_party/rust/crates/syn/src/gen/
Dclone.rs49 eq_token: self.eq_token.clone(), in clone()
61 eq_token: self.eq_token.clone(), in clone()
153 eq_token: self.eq_token.clone(), in clone()
317 eq_token: self.eq_token.clone(), in clone()
527 eq_token: self.eq_token.clone(), in clone()
984 eq_token: self.eq_token.clone(), in clone()
1025 eq_token: self.eq_token.clone(), in clone()
1084 eq_token: self.eq_token.clone(), in clone()
1201 eq_token: self.eq_token.clone(), in clone()
1252 eq_token: self.eq_token.clone(), in clone()
[all …]
Dfold.rs981 eq_token: node.eq_token, in fold_assoc_const()
994 eq_token: node.eq_token, in fold_assoc_type()
1120 eq_token: node.eq_token, in fold_const_param()
1277 eq_token: node.eq_token, in fold_expr_assign()
1505 eq_token: node.eq_token, in fold_expr_let()
2043 eq_token: node.eq_token, in fold_impl_item_const()
2087 eq_token: node.eq_token, in fold_impl_item_type()
2156 eq_token: node.eq_token, in fold_item_const()
2282 eq_token: node.eq_token, in fold_item_static()
2339 eq_token: node.eq_token, in fold_item_trait_alias()
[all …]
Ddebug.rs54 formatter.field("eq_token", &self.eq_token); in fmt()
66 formatter.field("eq_token", &self.eq_token); in fmt()
302 formatter.field("eq_token", &self.eq_token); in fmt()
494 formatter.field("eq_token", &self.eq_token); in fmt()
789 formatter.field("eq_token", &self.eq_token); in fmt()
1435 formatter.field("eq_token", &self.eq_token); in fmt()
1491 formatter.field("eq_token", &self.eq_token); in fmt()
1560 formatter.field("eq_token", &self.eq_token); in fmt()
1717 formatter.field("eq_token", &self.eq_token); in fmt()
1783 formatter.field("eq_token", &self.eq_token); in fmt()
[all …]
Dvisit_mut.rs983 skip!(node.eq_token); in visit_assoc_const_mut()
996 skip!(node.eq_token); in visit_assoc_type_mut()
1185 skip!(node.eq_token); in visit_const_param_mut()
1421 skip!(node.eq_token); in visit_expr_assign_mut()
1669 skip!(node.eq_token); in visit_expr_let_mut()
2258 skip!(node.eq_token); in visit_impl_item_const_mut()
2302 skip!(node.eq_token); in visit_impl_item_type_mut()
2395 skip!(node.eq_token); in visit_item_const_mut()
2541 skip!(node.eq_token); in visit_item_static_mut()
2602 skip!(node.eq_token); in visit_item_trait_alias_mut()
[all …]
Dvisit.rs982 skip!(node.eq_token); in visit_assoc_const()
995 skip!(node.eq_token); in visit_assoc_type()
1184 skip!(node.eq_token); in visit_const_param()
1420 skip!(node.eq_token); in visit_expr_assign()
1668 skip!(node.eq_token); in visit_expr_let()
2255 skip!(node.eq_token); in visit_impl_item_const()
2299 skip!(node.eq_token); in visit_impl_item_type()
2392 skip!(node.eq_token); in visit_item_const()
2538 skip!(node.eq_token); in visit_item_static()
2599 skip!(node.eq_token); in visit_item_trait_alias()
[all …]
Deq.rs172 && self.eq_token == other.eq_token && self.default == other.default in eq()
1895 && self.eq_token == other.eq_token && self.default == other.default in eq()
Dhash.rs244 self.eq_token.hash(state); in hash()
2515 self.eq_token.hash(state); in hash()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
Dlib.rs120 self.assign_and_print(*e.left, &e.eq_token, *e.right) in fold_expr()
/third_party/rust/crates/cxx/syntax/
Dmod.rs158 pub eq_token: Token![=], field
Dparse.rs851 let eq_token: Token![=] = input.parse()?; in parse_type_alias() localVariable
894 eq_token, in parse_type_alias()
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs18 eq_token: None, in without_defaults()
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs1209 let eq_token = alias.eq_token; in expand_type_alias() localVariable
1216 #visibility #type_token #ident #generics #eq_token #ty #semi_token in expand_type_alias()
/third_party/rust/crates/syn/tests/debug/
Dgen.rs325 if self.value.eq_token.is_some() { in fmt()
4316 if self.value.eq_token.is_some() { in fmt()