• Home
  • Raw
  • Download

Lines Matching refs:to_tokens

11     fn to_tokens(&self, tokens: &mut TokenStream) {  in to_tokens()  method
24 ident.to_tokens(tokens); in to_tokens()
31 | Type::RustVec(ty) => ty.to_tokens(tokens), in to_tokens()
32 Type::Ref(r) | Type::Str(r) => r.to_tokens(tokens), in to_tokens()
33 Type::Ptr(p) => p.to_tokens(tokens), in to_tokens()
34 Type::Array(a) => a.to_tokens(tokens), in to_tokens()
35 Type::Fn(f) => f.to_tokens(tokens), in to_tokens()
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
43 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
53 name.rust.to_tokens(tokens); in to_tokens()
54 Token![:](name.rust.span()).to_tokens(tokens); in to_tokens()
55 ty.to_tokens(tokens); in to_tokens()
60 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
80 name.to_tokens(tokens); in to_tokens()
81 langle.to_tokens(tokens); in to_tokens()
82 inner.to_tokens(tokens); in to_tokens()
83 rangle.to_tokens(tokens); in to_tokens()
88 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
100 langle.to_tokens(tokens); in to_tokens()
102 ampersand.to_tokens(tokens); in to_tokens()
103 lifetime.to_tokens(tokens); in to_tokens()
104 mutability.to_tokens(tokens); in to_tokens()
105 inner.to_tokens(tokens); in to_tokens()
107 rangle.to_tokens(tokens); in to_tokens()
113 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
121 star.to_tokens(tokens); in to_tokens()
122 mutability.to_tokens(tokens); in to_tokens()
123 constness.to_tokens(tokens); in to_tokens()
124 inner.to_tokens(tokens); in to_tokens()
129 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
138 ampersand.to_tokens(tokens); in to_tokens()
139 lifetime.to_tokens(tokens); in to_tokens()
140 mutability.to_tokens(tokens); in to_tokens()
142 inner.to_tokens(tokens); in to_tokens()
148 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
157 inner.to_tokens(tokens); in to_tokens()
158 semi_token.to_tokens(tokens); in to_tokens()
159 len_token.to_tokens(tokens); in to_tokens()
165 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
166 Ident::new(self.as_ref(), Span::call_site()).to_tokens(tokens); in to_tokens()
171 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
172 Ident::new(self.what.as_ref(), self.span).to_tokens(tokens); in to_tokens()
177 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
179 self.type_token.to_tokens(tokens); in to_tokens()
180 self.name.rust.to_tokens(tokens); in to_tokens()
181 self.generics.to_tokens(tokens); in to_tokens()
186 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
188 self.type_token.to_tokens(tokens); in to_tokens()
189 self.name.rust.to_tokens(tokens); in to_tokens()
190 self.generics.to_tokens(tokens); in to_tokens()
195 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
197 self.struct_token.to_tokens(tokens); in to_tokens()
198 self.name.rust.to_tokens(tokens); in to_tokens()
199 self.generics.to_tokens(tokens); in to_tokens()
204 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
206 self.enum_token.to_tokens(tokens); in to_tokens()
207 self.name.rust.to_tokens(tokens); in to_tokens()
208 self.generics.to_tokens(tokens); in to_tokens()
213 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
215 self.unsafety.to_tokens(tokens); in to_tokens()
216 self.sig.fn_token.to_tokens(tokens); in to_tokens()
217 self.semi_token.to_tokens(tokens); in to_tokens()
222 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
233 impl_token.to_tokens(tokens); in to_tokens()
234 impl_generics.to_tokens(tokens); in to_tokens()
235 negative_token.to_tokens(tokens); in to_tokens()
236 ty.to_tokens(tokens); in to_tokens()
242 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
248 lt_token.to_tokens(tokens); in to_tokens()
249 lifetimes.to_tokens(tokens); in to_tokens()
250 gt_token.to_tokens(tokens); in to_tokens()
255 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
268 fn_token.to_tokens(tokens); in to_tokens()
270 args.to_tokens(tokens); in to_tokens()
273 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
275 result.to_tokens(tokens); in to_tokens()
276 langle.to_tokens(tokens); in to_tokens()
277 ret.to_tokens(tokens); in to_tokens()
278 rangle.to_tokens(tokens); in to_tokens()
280 ret.to_tokens(tokens); in to_tokens()
283 Token![->](paren_token.span).to_tokens(tokens); in to_tokens()
284 result.to_tokens(tokens); in to_tokens()
285 langle.to_tokens(tokens); in to_tokens()
287 rangle.to_tokens(tokens); in to_tokens()
293 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
295 EnumRepr::Native { atom, repr_type: _ } => atom.to_tokens(tokens), in to_tokens()
297 EnumRepr::Foreign { rust_type } => rust_type.to_tokens(tokens), in to_tokens()
303 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
305 rust.to_tokens(tokens); in to_tokens()
306 generics.to_tokens(tokens); in to_tokens()