public Fuzzy_ruleContext fuzzy_rule() { Fuzzy_ruleContext _localctx = new Fuzzy_ruleContext(Context, State); EnterRule(_localctx, 2, RULE_fuzzy_rule); try { State = 45; ErrorHandler.Sync(this); switch (Interpreter.AdaptivePredict(TokenStream, 2, Context)) { case 1: _localctx = new SRuleContext(_localctx); EnterOuterAlt(_localctx, 1); { State = 33; logic_expr(0); State = 34; Match(T__6); State = 35; Match(ID); State = 36; Match(T__7); State = 37; arithmetic_expr(0); } break; case 2: _localctx = new MTRuleContext(_localctx); EnterOuterAlt(_localctx, 2); { State = 39; logic_expr(0); State = 40; Match(T__6); State = 41; Match(ID); State = 42; Match(T__8); State = 43; Match(ID); } break; } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public MTRuleContext(Fuzzy_ruleContext context) { CopyFrom(context); }
public virtual void CopyFrom(Fuzzy_ruleContext context) { base.CopyFrom(context); }