Lines Matching full:parse
3 /// Parse the input TokenStream of a macro, triggering a compile error if the
4 /// tokens fail to parse.
6 /// Refer to the [`parse` module] documentation for more details about parsing
9 /// [`parse` module]: mod@crate::parse
25 /// use syn::parse::{Parse, ParseStream};
31 /// impl Parse for MyMacroInput {
32 /// fn parse(input: ParseStream) -> Result<Self> {
56 /// [`Parser` trait]: crate::parse::Parser
63 /// # use syn::parse::ParseStream;
96 /// match syn::parse::<$Type>($variable) {
112 match $crate::parse::<$ty>($tokenstream) {
120 match $crate::parse::Parser::parse($parser, $tokenstream) {