MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / parse

Method parse

aiscript-derived/src/lib.rs:282–287  ·  view source on GitHub ↗
(input: ParseStream)

Source from the content-addressed store, hash-verified

280
281 impl Parse for Input {
282 fn parse(input: ParseStream) -> syn::Result<Self> {
283 let lt: syn::Lifetime = input.parse()?;
284 let _: syn::Token!(;) = input.parse()?;
285 let ty: syn::Type = input.parse()?;
286 Ok(Self { lt, ty })
287 }
288 }
289
290 struct UnelideLifetimes(syn::Lifetime);

Callers 2

validateMethod · 0.45
collect_deriveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected