Home
last modified time | relevance | path

Searched refs:TokensOrDefault (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/syn/0.15.42/src/
Dprint.rs4 pub struct TokensOrDefault<'a, T: 'a>(pub &'a Option<T>); struct
6 impl<'a, T> ToTokens for TokensOrDefault<'a, T> implementation
Dgenerics.rs876 use print::TokensOrDefault;
884 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens()
911 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens()
921 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
950 TokensOrDefault(&param.colon_token).to_tokens(tokens); in to_tokens()
966 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
976 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
1014 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
1041 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
1052 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
[all …]
Dderive.rs214 use print::TokensOrDefault;
238 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
242 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
Ddata.rs322 use print::TokensOrDefault;
358 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
Ditem.rs2213 use print::TokensOrDefault;
2298 TokensOrDefault(&self.semi).to_tokens(tokens); in to_tokens()
2338 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
2374 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2378 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2406 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
2561 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2574 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
2652 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
Dpath.rs527 use print::TokensOrDefault;
684 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
Dty.rs830 use print::TokensOrDefault;
856 TokensOrDefault(&self.const_token).to_tokens(tokens); in to_tokens()
Dexpr.rs3043 use print::TokensOrDefault;
3523 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()
3739 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()
3746 TokensOrDefault(&self.comma_token).to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/1.0.7/src/
Dprint.rs4 pub struct TokensOrDefault<'a, T: 'a>(pub &'a Option<T>); struct
6 impl<'a, T> ToTokens for TokensOrDefault<'a, T> implementation
Dgenerics.rs902 use crate::print::TokensOrDefault;
910 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens()
937 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens()
947 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
976 TokensOrDefault(&param.colon_token).to_tokens(tokens); in to_tokens()
992 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
1002 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
1040 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
1067 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
1078 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
[all …]
Dderive.rs229 use crate::print::TokensOrDefault;
253 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
257 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
Ddata.rs378 use crate::print::TokensOrDefault;
414 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
Dpath.rs567 use crate::print::TokensOrDefault;
724 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
Ditem.rs2560 use crate::print::TokensOrDefault;
2641 TokensOrDefault(&self.semi).to_tokens(tokens); in to_tokens()
2700 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2704 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2732 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
2871 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()
2884 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
Dty.rs1000 use crate::print::TokensOrDefault;
1026 TokensOrDefault(&self.const_token).to_tokens(tokens); in to_tokens()
Dexpr.rs2665 use crate::print::TokensOrDefault;
3133 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()