• Home
  • Raw
  • Download

Lines Matching refs:ahead

996             let ahead = input.fork();  in parse()  localVariable
997 let vis: Visibility = ahead.parse()?; in parse()
999 let lookahead = ahead.lookahead1(); in parse()
1000 let mut item = if lookahead.peek(Token![fn]) || peek_signature(&ahead) { in parse()
1010 ahead.parse::<Token![extern]>()?; in parse()
1011 let lookahead = ahead.lookahead1(); in parse()
1017 ahead.parse::<LitStr>()?; in parse()
1018 let lookahead = ahead.lookahead1(); in parse()
1061 ahead.parse::<Token![const]>()?; in parse()
1062 let lookahead = ahead.lookahead1(); in parse()
1096 ahead.parse::<Token![unsafe]>()?; in parse()
1097 let lookahead = ahead.lookahead1(); in parse()
1099 || lookahead.peek(Token![auto]) && ahead.peek2(Token![trait]) in parse()
1132 } else if lookahead.peek(Token![union]) && ahead.peek2(Ident) { in parse()
1136 } else if lookahead.peek(Token![auto]) && ahead.peek2(Token![trait]) { in parse()
1139 || lookahead.peek(Token![default]) && !ahead.peek2(Token![!]) in parse()
1157 } else if ahead.peek(macro_rules) { in parse()
1158 input.advance_to(&ahead); in parse()
1558 let ahead = input.fork(); in parse() localVariable
1559 if let Ok(mut receiver) = ahead.parse::<Receiver>() { in parse()
1560 if !ahead.peek(Token![:]) { in parse()
1561 input.advance_to(&ahead); in parse()
1739 let ahead = input.fork(); in parse() localVariable
1740 let vis: Visibility = ahead.parse()?; in parse()
1742 let lookahead = ahead.lookahead1(); in parse()
1743 let mut item = if lookahead.peek(Token![fn]) || peek_signature(&ahead) { in parse()
2245 let ahead = input.fork(); in parse() localVariable
2247 let lookahead = ahead.lookahead1(); in parse()
2248 let mut item = if lookahead.peek(Token![fn]) || peek_signature(&ahead) { in parse()
2251 ahead.parse::<Token![const]>()?; in parse()
2252 let lookahead = ahead.lookahead1(); in parse()
2557 let ahead = input.fork(); in parse() localVariable
2558 let vis: Visibility = ahead.parse()?; in parse()
2560 let mut lookahead = ahead.lookahead1(); in parse()
2561 let defaultness = if lookahead.peek(Token![default]) && !ahead.peek2(Token![!]) { in parse()
2562 let defaultness: Token![default] = ahead.parse()?; in parse()
2563 lookahead = ahead.lookahead1(); in parse()
2569 let mut item = if lookahead.peek(Token![fn]) || peek_signature(&ahead) { in parse()
2572 let const_token: Token![const] = ahead.parse()?; in parse()
2573 let lookahead = ahead.lookahead1(); in parse()
2575 input.advance_to(&ahead); in parse()