public EqCompareContext(Attr_compContext context) { CopyFrom(context); }
public Attr_compContext attr_comp() { Attr_compContext _localctx = new Attr_compContext(Context, State); EnterRule(_localctx, 2, RULE_attr_comp); try { State = 46; ErrorHandler.Sync(this); switch (Interpreter.AdaptivePredict(TokenStream, 3, Context)) { case 1: _localctx = new EqCompareContext(_localctx); EnterOuterAlt(_localctx, 1); { State = 30; attr(); State = 31; Match(T__5); State = 32; Match(STR); } break; case 2: _localctx = new CoCompareContext(_localctx); EnterOuterAlt(_localctx, 2); { State = 34; attr(); State = 35; Match(T__6); State = 36; Match(STR); } break; case 3: _localctx = new SwCompareContext(_localctx); EnterOuterAlt(_localctx, 3); { State = 38; attr(); State = 39; Match(T__7); State = 40; Match(STR); } break; case 4: _localctx = new EwCompareContext(_localctx); EnterOuterAlt(_localctx, 4); { State = 42; attr(); State = 43; Match(T__8); State = 44; Match(STR); } break; } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public virtual void CopyFrom(Attr_compContext context) { base.CopyFrom(context); }