Lines Matching refs:input
29 attr.parse_args_with(|input: ParseStream| {
30 let cfg_expr = input.call(parse_single)?;
31 input.parse::<Option<Token![,]>>()?;
36 fn parse_single(input: ParseStream) -> Result<CfgExpr> {
37 let ident: Ident = input.parse()?;
38 let lookahead = input.lookahead1();
39 if input.peek(token::Paren) {
41 parenthesized!(content in input);
56 input.parse::<Token![=]>()?;
57 let string: LitStr = input.parse()?;
59 } else if lookahead.peek(Token![,]) || input.is_empty() {
66 fn parse_multiple(input: ParseStream) -> Result<Vec<CfgExpr>> {
68 while !input.is_empty() {
69 let expr = input.call(parse_single)?;
71 if input.is_empty() {
74 input.parse::<Token![,]>()?;