(keyword string)
| 367 | } |
| 368 | |
| 369 | func (p *Parser) peekKeyword(keyword string) bool { |
| 370 | if p.lexer.isEOF() { |
| 371 | return false |
| 372 | } |
| 373 | token, err := p.lexer.peekToken() |
| 374 | if err != nil || token == nil { |
| 375 | return false |
| 376 | } |
| 377 | return token.Kind == TokenKindKeyword && strings.EqualFold(token.String, keyword) |
| 378 | } |
| 379 | |
| 380 | // isSelectItemTerminatorKeyword checks whether the current token is a keyword |
| 381 | // that begins a clause following the SELECT item list. When true, we should not |
no test coverage detected