(_ Pos)
| 1246 | } |
| 1247 | |
| 1248 | func (p *Parser) parsePrivilegeRoles(_ Pos) ([]*Ident, error) { |
| 1249 | roles := make([]*Ident, 0) |
| 1250 | role, err := p.parseIdent() |
| 1251 | if err != nil { |
| 1252 | return nil, err |
| 1253 | } |
| 1254 | roles = append(roles, role) |
| 1255 | for p.tryConsumeTokenKind(TokenKindComma) != nil { |
| 1256 | role, err := p.parseIdent() |
| 1257 | if err != nil { |
| 1258 | return nil, err |
| 1259 | } |
| 1260 | roles = append(roles, role) |
| 1261 | } |
| 1262 | return roles, nil |
| 1263 | } |
| 1264 | |
| 1265 | func (p *Parser) parseGrantOptions(_ Pos) ([]string, error) { |
| 1266 | options := make([]string, 0) |
no test coverage detected