private bool conjunct_sempred(ConjunctContext _localctx, int predIndex) { switch (predIndex) { case 1: return Precpred(Context, 1); } return true; }
private ConjunctContext conjunct(int _p) { ParserRuleContext _parentctx = Context; int _parentState = State; ConjunctContext _localctx = new ConjunctContext(Context, _parentState); ConjunctContext _prevctx = _localctx; int _startState = 10; EnterRecursionRule(_localctx, 10, RULE_conjunct, _p); try { int _alt; EnterOuterAlt(_localctx, 1); { { State = 60; term(); } Context.Stop = TokenStream.Lt(-1); State = 67; ErrorHandler.Sync(this); _alt = Interpreter.AdaptivePredict(TokenStream,5,Context); while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.InvalidAltNumber ) { if ( _alt==1 ) { if ( ParseListeners!=null ) TriggerExitRuleEvent(); _prevctx = _localctx; { { _localctx = new ConjunctContext(_parentctx, _parentState); PushNewRecursionContext(_localctx, _startState, RULE_conjunct); State = 62; if (!(Precpred(Context, 1))) throw new FailedPredicateException(this, "Precpred(Context, 1)"); State = 63; Match(T__5); State = 64; term(); } } } State = 69; ErrorHandler.Sync(this); _alt = Interpreter.AdaptivePredict(TokenStream,5,Context); } } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { UnrollRecursionContexts(_parentctx); } return _localctx; }