Lines Matching defs:Parse
9 use crate::parse::{Parse, ParseStream, Parser, Result};
74 /// This type does not implement the [`Parse`] trait and thus cannot be
80 /// [`Parse`]: parse::Parse
86 /// use syn::parse::{Parse, ParseStream};
99 /// impl Parse for UnitStruct {
182 /// Parse the arguments to the attribute as a syntax tree.
214 pub fn parse_args<T: Parse>(&self) -> Result<T> {
218 /// Parse the arguments to the attribute using the given parser.
231 /// // Attribute does not have a Parse impl, so we couldn't directly do:
260 /// Parse the arguments to the attribute, expecting it to follow the
562 pub fn parse_args<T: Parse>(&self) -> Result<T> {
620 use crate::parse::{Parse, ParseStream, Result};
651 impl Parse for Meta {
659 impl Parse for MetaList {
667 impl Parse for MetaNameValue {