Searched refs:as_token (Results 1 – 14 of 14) sorted by relevance
/external/rust/crates/syn/src/ |
D | path.rs | 207 pub as_token: Option<Token![as]>, 595 let as_token: Token![as] = input.parse()?; in qpath() localVariable 597 Some((as_token, path)) in qpath() 613 let (position, as_token, path) = match path { in qpath() 614 Some((as_token, mut path)) => { in qpath() 618 (pos, Some(as_token), path) in qpath() 632 as_token, in qpath() 810 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
|
D | item.rs | 530 pub as_token: Token![as], 1311 let as_token: Token![as] = input.parse()?; in parse() localVariable 1317 Some((as_token, rename)) in parse() 1360 as_token: input.parse()?, in parse() 2808 if let Some((as_token, rename)) = &self.rename { in to_tokens() 2809 as_token.to_tokens(tokens); in to_tokens() 3083 self.as_token.to_tokens(tokens); in to_tokens()
|
D | expr.rs | 394 pub as_token: Token![as], 1347 let as_token: Token![as] = input.parse()?; in parse_expr() localVariable 1352 as_token, in parse_expr() 1403 let as_token: Token![as] = input.parse()?; in parse_expr() localVariable 1408 as_token, in parse_expr() 3023 self.as_token.to_tokens(tokens); in to_tokens()
|
D | ty.rs | 381 as_token: None, in ambig_ty()
|
/external/rust/crates/serde_derive/src/internals/ |
D | receiver.rs | 46 as_token: None, in self_to_qself()
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 404 as_token: self.as_token.clone(), in clone() 1722 as_token: self.as_token.clone(), in clone() 2132 as_token: self.as_token.clone(), in clone()
|
D | fold.rs | 1202 as_token: Token![as](tokens_helper(f, &node.as_token.span)), in fold_expr_cast() 2653 as_token: (node.as_token).map(|it| Token![as](tokens_helper(f, &it.span))), in fold_qself() 3099 as_token: Token![as](tokens_helper(f, &node.as_token.span)), in fold_use_rename()
|
D | debug.rs | 718 formatter.field("as_token", &self.as_token); in fmt() 2344 formatter.field("as_token", &self.as_token); in fmt() 2889 formatter.field("as_token", &self.as_token); in fmt()
|
D | visit_mut.rs | 1362 tokens_helper(v, &mut node.as_token.span); in visit_expr_cast_mut() 3103 if let Some(it) = &mut node.as_token { in visit_qself_mut() 3656 tokens_helper(v, &mut node.as_token.span); in visit_use_rename_mut()
|
D | visit.rs | 1358 tokens_helper(v, &node.as_token.span); in visit_expr_cast() 3097 if let Some(it) = &node.as_token { in visit_qself() 3650 tokens_helper(v, &node.as_token.span); in visit_use_rename()
|
D | eq.rs | 1732 self.ty == other.ty && self.position == other.position && self.as_token == other.as_token in eq()
|
D | hash.rs | 2189 self.as_token.hash(state); in hash()
|
/external/rust/crates/pin-project-internal/src/ |
D | utils.rs | 208 as_token: None, in self_to_qself()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 4296 if let Some(val) = &_val.as_token { in fmt()
|