Searched refs:parse_terminated (Results 1 – 12 of 12) sorted by relevance
/external/rust/crates/structopt-derive/src/ |
D | parse.rs | 128 nested.parse_terminated(ParserSpec::parse)?; in parse() 160 nested.parse_terminated(Expr::parse)?; in parse() 225 let exprs = val.parse_with(Punctuated::<Expr, Token![,]>::parse_terminated)?; in raw_method_suggestion() 268 attr.parse_args_with(Punctuated::<StructOptAttr, Token![,]>::parse_terminated) in parse_structopt_attributes()
|
/external/rust/crates/syn/src/ |
D | parse_quote.rs | 134 Self::parse_terminated(input) in parse()
|
D | data.rs | 282 named: content.parse_terminated(Field::parse_named)?, in parse() 293 unnamed: content.parse_terminated(Field::parse_unnamed)?, in parse()
|
D | derive.rs | 211 let variants = content.parse_terminated(Variant::parse)?; in data_enum()
|
D | attr.rs | 619 nested: content.parse_terminated(NestedMeta::parse)?, in parse_meta_list_after_path()
|
D | parse.rs | 696 pub fn parse_terminated<T, P: Parse>( in parse_terminated() method
|
D | path.rs | 349 inputs: content.parse_terminated(Type::parse)?, in parse()
|
D | punctuated.rs | 267 pub fn parse_terminated(input: ParseStream) -> Result<Self> in parse_terminated() method
|
D | expr.rs | 1548 args: content.parse_terminated(Expr::parse)?, in trailer_helper() 1608 args: content.parse_terminated(Expr::parse)?, in trailer_helper() 1652 args: content.parse_terminated(Expr::parse)?, in trailer_expr()
|
D | item.rs | 1382 items: content.parse_terminated(UseTree::parse)?, in parse()
|
/external/rust/cxx/syntax/ |
D | attrs.rs | 157 let paths = input.parse_terminated::<Path, Token![,]>(Path::parse_mod_style)?; in parse_derive_attribute()
|
/external/rust/crates/syn-mid/src/ |
D | func.rs | 109 let inputs = content.parse_terminated(FnArg::parse)?; in parse()
|