Searched refs:parse_terminated (Results 1 – 12 of 12) sorted by relevance
/third_party/rust/crates/clap/clap_derive/src/ |
D | attr.rs | 49 attr.parse_args_with(Punctuated::<ClapAttr, Token![,]>::parse_terminated) in parse_all() 136 let method_args: Punctuated<_, Token![,]> = nested.parse_terminated(Expr::parse)?; in parse()
|
/third_party/rust/crates/syn/src/ |
D | parse_quote.rs | 158 Self::parse_terminated(input) in parse()
|
D | data.rs | 281 named: content.parse_terminated(Field::parse_named)?, in parse() 292 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 | 611 nested: content.parse_terminated(NestedMeta::parse)?, in parse_meta_list_after_path()
|
D | parse.rs | 699 pub fn parse_terminated<T, P: Parse>( in parse_terminated() method
|
D | path.rs | 391 inputs: content.parse_terminated(Type::parse)?, in parse()
|
D | punctuated.rs | 268 pub fn parse_terminated(input: ParseStream) -> Result<Self> in parse_terminated() method
|
D | expr.rs | 1589 args: content.parse_terminated(Expr::parse)?, in trailer_helper() 1635 args: content.parse_terminated(Expr::parse)?, in trailer_helper() 1679 args: content.parse_terminated(Expr::parse)?, in trailer_expr()
|
D | item.rs | 1393 items: content.parse_terminated(UseTree::parse)?, in parse()
|
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/ |
D | lib.rs | 24 let vars = Punctuated::<Ident, Token![,]>::parse_terminated(input)?; in parse()
|
/third_party/rust/crates/cxx/syntax/ |
D | attrs.rs | 212 let paths = input.parse_terminated::<Path, Token![,]>(Path::parse_mod_style)?; in parse_derive_attribute()
|