()
| 70 | } |
| 71 | |
| 72 | fn ident_part<'a, I>() -> impl Parser<'a, I, String, ParserError<'a>> + Clone |
| 73 | where |
| 74 | I: Input<'a, Token = lr::Token, Span = Span> + BorrowInput<'a>, |
| 75 | { |
| 76 | select_ref! { |
| 77 | lr::Token { kind: TokenKind::Ident(ident), .. } => ident.clone(), |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | fn keyword<'a, I>(kw: &'static str) -> impl Parser<'a, I, (), ParserError<'a>> + Clone |
| 82 | where |
no outgoing calls
no test coverage detected