()
| 8643 | } |
| 8644 | |
| 8645 | func (p *SqlBaseParser) ComparisonOperator() (localctx IComparisonOperatorContext) { |
| 8646 | localctx = NewComparisonOperatorContext(p, p.GetParserRuleContext(), p.GetState()) |
| 8647 | p.EnterRule(localctx, 60, SqlBaseParserRULE_comparisonOperator) |
| 8648 | var _la int |
| 8649 | |
| 8650 | defer func() { |
| 8651 | p.ExitRule() |
| 8652 | }() |
| 8653 | |
| 8654 | defer func() { |
| 8655 | if err := recover(); err != nil { |
| 8656 | if v, ok := err.(antlr.RecognitionException); ok { |
| 8657 | localctx.SetException(v) |
| 8658 | p.GetErrorHandler().ReportError(p, v) |
| 8659 | p.GetErrorHandler().Recover(p, v) |
| 8660 | } else { |
| 8661 | panic(err) |
| 8662 | } |
| 8663 | } |
| 8664 | }() |
| 8665 | |
| 8666 | p.EnterOuterAlt(localctx, 1) |
| 8667 | { |
| 8668 | p.SetState(613) |
| 8669 | _la = p.GetTokenStream().LA(1) |
| 8670 | |
| 8671 | if !(((_la-184)&-(0x1f+1)) == 0 && ((1<<uint((_la-184)))&((1<<(SqlBaseParserEQ-184))|(1<<(SqlBaseParserNEQ-184))|(1<<(SqlBaseParserLT-184))|(1<<(SqlBaseParserLTE-184))|(1<<(SqlBaseParserGT-184))|(1<<(SqlBaseParserGTE-184)))) != 0) { |
| 8672 | p.GetErrorHandler().RecoverInline(p) |
| 8673 | } else { |
| 8674 | p.GetErrorHandler().ReportMatch(p) |
| 8675 | p.Consume() |
| 8676 | } |
| 8677 | } |
| 8678 | |
| 8679 | return localctx |
| 8680 | } |
| 8681 | |
| 8682 | // IComparisonQuantifierContext is an interface to support dynamic dispatch. |
| 8683 | type IComparisonQuantifierContext interface { |
no test coverage detected