public Comp_opContext comp_op() { Comp_opContext _localctx = new Comp_opContext(Context, State); EnterRule(_localctx, 28, RULE_comp_op); int _la; try { EnterOuterAlt(_localctx, 1); { State = 103; _la = TokenStream.LA(1); if (!((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << EQUALS) | (1L << GT_EQ) | (1L << LT_EQ) | (1L << NOT_EQ))) != 0))) { ErrorHandler.RecoverInline(this); } else { ErrorHandler.ReportMatch(this); Consume(); } } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public Comp_opContext comp_op() { Comp_opContext _localctx = new Comp_opContext(Context, State); EnterRule(_localctx, 108, RULE_comp_op); try { State = 741; switch ( Interpreter.AdaptivePredict(TokenStream,93,Context) ) { case 1: EnterOuterAlt(_localctx, 1); { State = 728; Match(LESS_THAN); } break; case 2: EnterOuterAlt(_localctx, 2); { State = 729; Match(GREATER_THAN); } break; case 3: EnterOuterAlt(_localctx, 3); { State = 730; Match(EQUALS); } break; case 4: EnterOuterAlt(_localctx, 4); { State = 731; Match(GT_EQ); } break; case 5: EnterOuterAlt(_localctx, 5); { State = 732; Match(LT_EQ); } break; case 6: EnterOuterAlt(_localctx, 6); { State = 733; Match(NOT_EQ_1); } break; case 7: EnterOuterAlt(_localctx, 7); { State = 734; Match(NOT_EQ_2); } break; case 8: EnterOuterAlt(_localctx, 8); { State = 735; Match(IN); } break; case 9: EnterOuterAlt(_localctx, 9); { State = 736; Match(NOT); State = 737; Match(IN); } break; case 10: EnterOuterAlt(_localctx, 10); { State = 738; Match(IS); } break; case 11: EnterOuterAlt(_localctx, 11); { State = 739; Match(IS); State = 740; Match(NOT); } break; } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return _localctx; }