()
| 4347 | } |
| 4348 | |
| 4349 | func (p *SqlBaseParser) SampleType() (localctx ISampleTypeContext) { |
| 4350 | localctx = NewSampleTypeContext(p, p.GetParserRuleContext(), p.GetState()) |
| 4351 | p.EnterRule(localctx, 36, SqlBaseParserRULE_sampleType) |
| 4352 | var _la int |
| 4353 | |
| 4354 | defer func() { |
| 4355 | p.ExitRule() |
| 4356 | }() |
| 4357 | |
| 4358 | defer func() { |
| 4359 | if err := recover(); err != nil { |
| 4360 | if v, ok := err.(antlr.RecognitionException); ok { |
| 4361 | localctx.SetException(v) |
| 4362 | p.GetErrorHandler().ReportError(p, v) |
| 4363 | p.GetErrorHandler().Recover(p, v) |
| 4364 | } else { |
| 4365 | panic(err) |
| 4366 | } |
| 4367 | } |
| 4368 | }() |
| 4369 | |
| 4370 | p.EnterOuterAlt(localctx, 1) |
| 4371 | { |
| 4372 | p.SetState(327) |
| 4373 | _la = p.GetTokenStream().LA(1) |
| 4374 | |
| 4375 | if !(_la == SqlBaseParserBERNOULLI || _la == SqlBaseParserSYSTEM) { |
| 4376 | p.GetErrorHandler().RecoverInline(p) |
| 4377 | } else { |
| 4378 | p.GetErrorHandler().ReportMatch(p) |
| 4379 | p.Consume() |
| 4380 | } |
| 4381 | } |
| 4382 | |
| 4383 | return localctx |
| 4384 | } |
| 4385 | |
| 4386 | // IAliasedRelationContext is an interface to support dynamic dispatch. |
| 4387 | type IAliasedRelationContext interface { |
no test coverage detected