public SC_CondContext sC_Cond() { SC_CondContext _localctx = new SC_CondContext(Context, State); EnterRule(_localctx, 176, RULE_sC_Cond); int _la; try { int _alt; State = 1769; switch ( Interpreter.AdaptivePredict(TokenStream,263,Context) ) { case 1: _localctx = new CaseCondElseContext(_localctx); EnterOuterAlt(_localctx, 1); { State = 1754; Match(ELSE); } break; case 2: _localctx = new CaseCondSelectionContext(_localctx); EnterOuterAlt(_localctx, 2); { State = 1755; sC_Selection(); State = 1766; ErrorHandler.Sync(this); _alt = Interpreter.AdaptivePredict(TokenStream,262,Context); while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.InvalidAltNumber ) { if ( _alt==1 ) { { { State = 1757; _la = TokenStream.La(1); if (_la==WS) { { State = 1756; Match(WS); } } State = 1759; Match(T__0); State = 1761; _la = TokenStream.La(1); if (_la==WS) { { State = 1760; Match(WS); } } State = 1763; sC_Selection(); } } } State = 1768; ErrorHandler.Sync(this); _alt = Interpreter.AdaptivePredict(TokenStream,262,Context); } } break; } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return _localctx; }
public CaseCondSelectionContext(SC_CondContext context) { CopyFrom(context); }
public CaseCondElseContext(SC_CondContext context) { CopyFrom(context); }
public virtual void CopyFrom(SC_CondContext context) { base.CopyFrom(context); }