(pos Pos)
| 1314 | } |
| 1315 | |
| 1316 | func (p *Parser) parseDestinationClause(pos Pos) (*DestinationClause, error) { |
| 1317 | if err := p.expectKeyword(KeywordTo); err != nil { |
| 1318 | return nil, err |
| 1319 | } |
| 1320 | |
| 1321 | tableIdentifier, err := p.parseTableIdentifier(p.Pos()) |
| 1322 | if err != nil { |
| 1323 | return nil, err |
| 1324 | } |
| 1325 | return &DestinationClause{ |
| 1326 | ToPos: pos, |
| 1327 | TableIdentifier: tableIdentifier, |
| 1328 | }, nil |
| 1329 | } |
| 1330 | |
| 1331 | func (p *Parser) tryParseEngineExpr(pos Pos) (*EngineExpr, error) { |
| 1332 | if !p.matchKeyword(KeywordEngine) { |
no test coverage detected