Lines Matching defs:parse
21 /// - [Parsing] — `input.parse::<kw::whatever>()?`
29 /// [Peeking]: crate::parse::ParseBuffer::peek
30 /// [Parsing]: crate::parse::ParseBuffer::parse
48 /// use syn::parse::{Parse, ParseStream};
69 /// fn parse(input: ParseStream) -> Result<Self> {
73 /// bool_token: input.parse::<kw::bool>()?,
74 /// eq_token: input.parse()?,
75 /// value: input.parse()?,
79 /// str_token: input.parse::<kw::str>()?,
80 /// eq_token: input.parse()?,
81 /// value: input.parse()?,
145 impl $crate::parse::Parse for $ident {
146 fn parse(input: $crate::parse::ParseStream) -> $crate::parse::Result<$ident> {