• Home
  • Raw
  • Download

Lines Matching refs:to_tokens

11     fn to_tokens(&self, tokens: &mut TokenStream) {  in to_tokens()  method
21 ident.to_tokens(tokens); in to_tokens()
28 | Type::RustVec(ty) => ty.to_tokens(tokens), in to_tokens()
29 Type::Ref(r) | Type::Str(r) => r.to_tokens(tokens), in to_tokens()
30 Type::Ptr(p) => p.to_tokens(tokens), in to_tokens()
31 Type::Array(a) => a.to_tokens(tokens), in to_tokens()
32 Type::Fn(f) => f.to_tokens(tokens), in to_tokens()
34 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
40 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
48 name.rust.to_tokens(tokens); in to_tokens()
49 Token![:](name.rust.span()).to_tokens(tokens); in to_tokens()
50 ty.to_tokens(tokens); in to_tokens()
55 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
72 name.to_tokens(tokens); in to_tokens()
73 langle.to_tokens(tokens); in to_tokens()
74 inner.to_tokens(tokens); in to_tokens()
75 rangle.to_tokens(tokens); in to_tokens()
80 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
92 langle.to_tokens(tokens); in to_tokens()
94 ampersand.to_tokens(tokens); in to_tokens()
95 lifetime.to_tokens(tokens); in to_tokens()
96 mutability.to_tokens(tokens); in to_tokens()
97 inner.to_tokens(tokens); in to_tokens()
99 rangle.to_tokens(tokens); in to_tokens()
105 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
113 star.to_tokens(tokens); in to_tokens()
114 mutability.to_tokens(tokens); in to_tokens()
115 constness.to_tokens(tokens); in to_tokens()
116 inner.to_tokens(tokens); in to_tokens()
121 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
130 ampersand.to_tokens(tokens); in to_tokens()
131 lifetime.to_tokens(tokens); in to_tokens()
132 mutability.to_tokens(tokens); in to_tokens()
134 inner.to_tokens(tokens); in to_tokens()
140 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
149 inner.to_tokens(tokens); in to_tokens()
150 semi_token.to_tokens(tokens); in to_tokens()
151 len_token.to_tokens(tokens); in to_tokens()
157 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
158 Ident::new(self.as_ref(), Span::call_site()).to_tokens(tokens); in to_tokens()
163 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
164 Ident::new(self.what.as_ref(), self.span).to_tokens(tokens); in to_tokens()
169 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
171 self.type_token.to_tokens(tokens); in to_tokens()
172 self.name.rust.to_tokens(tokens); in to_tokens()
173 self.generics.to_tokens(tokens); in to_tokens()
178 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
180 self.type_token.to_tokens(tokens); in to_tokens()
181 self.name.rust.to_tokens(tokens); in to_tokens()
182 self.generics.to_tokens(tokens); in to_tokens()
187 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
189 self.struct_token.to_tokens(tokens); in to_tokens()
190 self.name.rust.to_tokens(tokens); in to_tokens()
191 self.generics.to_tokens(tokens); in to_tokens()
196 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
198 self.enum_token.to_tokens(tokens); in to_tokens()
199 self.name.rust.to_tokens(tokens); in to_tokens()
200 self.generics.to_tokens(tokens); in to_tokens()
205 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
207 self.unsafety.to_tokens(tokens); in to_tokens()
208 self.sig.fn_token.to_tokens(tokens); in to_tokens()
209 self.semi_token.to_tokens(tokens); in to_tokens()
214 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
224 impl_token.to_tokens(tokens); in to_tokens()
225 impl_generics.to_tokens(tokens); in to_tokens()
226 negative_token.to_tokens(tokens); in to_tokens()
227 ty.to_tokens(tokens); in to_tokens()
233 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
239 lt_token.to_tokens(tokens); in to_tokens()
240 lifetimes.to_tokens(tokens); in to_tokens()
241 gt_token.to_tokens(tokens); in to_tokens()
246 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
258 fn_token.to_tokens(tokens); in to_tokens()
260 args.to_tokens(tokens); in to_tokens()
263 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
265 result.to_tokens(tokens); in to_tokens()
266 langle.to_tokens(tokens); in to_tokens()
267 ret.to_tokens(tokens); in to_tokens()
268 rangle.to_tokens(tokens); in to_tokens()
270 ret.to_tokens(tokens); in to_tokens()
273 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
274 result.to_tokens(tokens); in to_tokens()
275 langle.to_tokens(tokens); in to_tokens()
277 rangle.to_tokens(tokens); in to_tokens()
283 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
285 rust.to_tokens(tokens); in to_tokens()
286 generics.to_tokens(tokens); in to_tokens()
306 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
320 langle.to_tokens(tokens); in to_tokens()
322 ampersand.to_tokens(tokens); in to_tokens()
323 lifetime.to_tokens(tokens); in to_tokens()
324 mutability.to_tokens(tokens); in to_tokens()
325 ty.to_tokens(tokens); in to_tokens()
327 rangle.to_tokens(tokens); in to_tokens()
333 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
347 langle.to_tokens(tokens); in to_tokens()
349 ampersand.to_tokens(tokens); in to_tokens()
350 lifetime.to_tokens(tokens); in to_tokens()
351 mutability.to_tokens(tokens); in to_tokens()
352 Token![Self](ty.rust.span()).to_tokens(tokens); in to_tokens()
354 rangle.to_tokens(tokens); in to_tokens()