Home
last modified time | relevance | path

Searched refs:as_token (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/syn/src/
Dpath.rs207 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()
Ditem.rs530 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()
Dexpr.rs394 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()
Dty.rs381 as_token: None, in ambig_ty()
/external/rust/crates/serde_derive/src/internals/
Dreceiver.rs46 as_token: None, in self_to_qself()
/external/rust/crates/syn/src/gen/
Dclone.rs404 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()
Dfold.rs1202 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()
Ddebug.rs718 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()
Dvisit_mut.rs1362 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()
Dvisit.rs1358 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()
Deq.rs1732 self.ty == other.ty && self.position == other.position && self.as_token == other.as_token in eq()
Dhash.rs2189 self.as_token.hash(state); in hash()
/external/rust/crates/pin-project-internal/src/
Dutils.rs208 as_token: None, in self_to_qself()
/external/rust/crates/syn/tests/debug/
Dgen.rs4296 if let Some(val) = &_val.as_token { in fmt()