(_ Pos)
| 1263 | } |
| 1264 | |
| 1265 | func (p *Parser) parseGrantOptions(_ Pos) ([]string, error) { |
| 1266 | options := make([]string, 0) |
| 1267 | for p.matchKeyword(KeywordWith) { |
| 1268 | option, err := p.parseGrantOption(p.Pos()) |
| 1269 | if err != nil { |
| 1270 | return nil, err |
| 1271 | } |
| 1272 | options = append(options, option) |
| 1273 | } |
| 1274 | return options, nil |
| 1275 | } |
| 1276 | |
| 1277 | func (p *Parser) parseGrantOption(_ Pos) (string, error) { |
| 1278 | if err := p.expectKeyword(KeywordWith); err != nil { |
no test coverage detected