• Home
  • Raw
  • Download

Lines Matching refs:to_tokens

1011         fn to_tokens(&self, tokens: &mut TokenStream) {  in to_tokens()  method
1016 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens()
1026 param.to_tokens(tokens); in to_tokens()
1034 <Token![,]>::default().to_tokens(tokens); in to_tokens()
1037 param.to_tokens(tokens); in to_tokens()
1043 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens()
1048 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1053 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
1063 param.to_tokens(tokens); in to_tokens()
1072 <Token![,]>::default().to_tokens(tokens); in to_tokens()
1080 param.ident.to_tokens(tokens); in to_tokens()
1082 TokensOrDefault(&param.colon_token).to_tokens(tokens); in to_tokens()
1083 param.bounds.to_tokens(tokens); in to_tokens()
1089 param.const_token.to_tokens(tokens); in to_tokens()
1090 param.ident.to_tokens(tokens); in to_tokens()
1091 param.colon_token.to_tokens(tokens); in to_tokens()
1092 param.ty.to_tokens(tokens); in to_tokens()
1095 param.punct().to_tokens(tokens); in to_tokens()
1098 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
1103 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1108 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()
1119 def.lifetime.to_tokens(tokens); in to_tokens()
1120 param.punct().to_tokens(tokens); in to_tokens()
1129 <Token![,]>::default().to_tokens(tokens); in to_tokens()
1136 param.ident.to_tokens(tokens); in to_tokens()
1140 param.ident.to_tokens(tokens); in to_tokens()
1143 param.punct().to_tokens(tokens); in to_tokens()
1146 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()
1151 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1153 <Token![::]>::default().to_tokens(tokens); in to_tokens()
1154 TypeGenerics(self.0).to_tokens(tokens); in to_tokens()
1161 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1162 self.for_token.to_tokens(tokens); in to_tokens()
1163 self.lt_token.to_tokens(tokens); in to_tokens()
1164 self.lifetimes.to_tokens(tokens); in to_tokens()
1165 self.gt_token.to_tokens(tokens); in to_tokens()
1171 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1173 self.lifetime.to_tokens(tokens); in to_tokens()
1175 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
1176 self.bounds.to_tokens(tokens); in to_tokens()
1183 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1185 self.ident.to_tokens(tokens); in to_tokens()
1187 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
1188 self.bounds.to_tokens(tokens); in to_tokens()
1203 .to_tokens(tokens); in to_tokens()
1205 return default.to_tokens(tokens); in to_tokens()
1214 TokensOrDefault(&self.eq_token).to_tokens(tokens); in to_tokens()
1215 default.to_tokens(tokens); in to_tokens()
1222 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1223 let to_tokens = |tokens: &mut TokenStream| { in to_tokens() localVariable
1224 self.modifier.to_tokens(tokens); in to_tokens()
1225 self.lifetimes.to_tokens(tokens); in to_tokens()
1226 self.path.to_tokens(tokens); in to_tokens()
1229 Some(paren) => paren.surround(tokens, to_tokens), in to_tokens()
1230 None => to_tokens(tokens), in to_tokens()
1237 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1240 TraitBoundModifier::Maybe(t) => t.to_tokens(tokens), in to_tokens()
1247 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1249 self.const_token.to_tokens(tokens); in to_tokens()
1250 self.ident.to_tokens(tokens); in to_tokens()
1251 self.colon_token.to_tokens(tokens); in to_tokens()
1252 self.ty.to_tokens(tokens); in to_tokens()
1254 TokensOrDefault(&self.eq_token).to_tokens(tokens); in to_tokens()
1255 default.to_tokens(tokens); in to_tokens()
1262 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1264 self.where_token.to_tokens(tokens); in to_tokens()
1265 self.predicates.to_tokens(tokens); in to_tokens()
1272 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1273 self.lifetimes.to_tokens(tokens); in to_tokens()
1274 self.bounded_ty.to_tokens(tokens); in to_tokens()
1275 self.colon_token.to_tokens(tokens); in to_tokens()
1276 self.bounds.to_tokens(tokens); in to_tokens()
1282 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1283 self.lifetime.to_tokens(tokens); in to_tokens()
1284 self.colon_token.to_tokens(tokens); in to_tokens()
1285 self.bounds.to_tokens(tokens); in to_tokens()
1291 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
1292 self.lhs_ty.to_tokens(tokens); in to_tokens()
1293 self.eq_token.to_tokens(tokens); in to_tokens()
1294 self.rhs_ty.to_tokens(tokens); in to_tokens()