Lines Matching full:parse
6 use crate::parse::{Parse, ParseStream, Parser};
56 /// Parse the tokens within the macro invocation's delimiters into a syntax
67 /// use syn::parse::{Error, Parse, ParseStream, Result};
80 /// impl Parse for FormatArgs {
81 /// fn parse(input: ParseStream) -> Result<Self> {
86 /// format_string = input.parse()?;
88 /// input.parse::<Token![,]>()?;
95 /// input.parse::<Token![=]>()?;
96 /// let value: Expr = input.parse()?;
101 /// input.parse::<Token![,]>()?;
105 /// positional_args.push(input.parse()?);
140 pub fn parse_body<T: Parse>(&self) -> Result<T> { in parse_body()
141 self.parse_body_with(T::parse) in parse_body()
144 /// Parse the tokens within the macro invocation's delimiters using the
150 crate::parse::parse_scoped(parser, scope, self.tokens.clone()) in parse_body_with()
178 use crate::parse::{Parse, ParseStream};
182 impl Parse for Macro {
183 fn parse(input: ParseStream) -> Result<Self> { in parse() method
187 bang_token: input.parse()?, in parse()