Home
last modified time | relevance | path

Searched refs:pub_token (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/syn/src/
Ddata.rs209 pub pub_token: Token![pub],
232 pub pub_token: Token![pub],
350 let pub_token = input.parse::<Token![pub]>()?; in parse_pub() localVariable
370 pub_token, in parse_pub()
382 pub_token, in parse_pub()
390 Ok(Visibility::Public(VisPublic { pub_token })) in parse_pub()
467 self.pub_token.to_tokens(tokens) in to_tokens()
481 self.pub_token.to_tokens(tokens); in to_tokens()
/external/rust/crates/thiserror-impl/src/
Dexpand.rs401 Visibility::Public(vis) => Some(vis.pub_token.span()), in spanned_error_trait()
403 Visibility::Restricted(vis) => Some(vis.pub_token.span()), in spanned_error_trait()
/external/rust/crates/pin-project-internal/src/
Dutils.rs90 parse_quote_spanned!(token.pub_token.span => pub(crate)) in determine_visibility()
/external/rust/crates/syn/src/gen/
Dclone.rs2186 pub_token: self.pub_token.clone(), in clone()
2195 pub_token: self.pub_token.clone(), in clone()
Dfold.rs3158 pub_token: Token![pub](tokens_helper(f, &node.pub_token.span)), in fold_vis_public()
3167 pub_token: Token![pub](tokens_helper(f, &node.pub_token.span)), in fold_vis_restricted()
Ddebug.rs2963 formatter.field("pub_token", &self.pub_token); in fmt()
2972 formatter.field("pub_token", &self.pub_token); in fmt()
Dvisit_mut.rs3719 tokens_helper(v, &mut node.pub_token.span); in visit_vis_public_mut()
3726 tokens_helper(v, &mut node.pub_token.span); in visit_vis_restricted_mut()
Dvisit.rs3713 tokens_helper(v, &node.pub_token.span); in visit_vis_public()
3720 tokens_helper(v, &node.pub_token.span); in visit_vis_restricted()
/external/rust/cxx/syntax/
Dparse.rs1351 Visibility::Public(vis) => vis.pub_token.span, in visibility_pub()
1353 Visibility::Restricted(vis) => vis.pub_token.span, in visibility_pub()