()
| 203 | } |
| 204 | |
| 205 | func (p *Parser) tryParseIfExists() (bool, error) { |
| 206 | if !p.tryConsumeKeywords(KeywordIf) { |
| 207 | return false, nil |
| 208 | } |
| 209 | |
| 210 | if err := p.expectKeyword(KeywordExists); err != nil { |
| 211 | return false, err |
| 212 | } |
| 213 | return true, nil |
| 214 | } |
| 215 | |
| 216 | func (p *Parser) tryParseIfNotExists() (bool, error) { |
| 217 | if !p.tryConsumeKeywords(KeywordIf) { |
no test coverage detected