Ejemplo n.º 1
0
        public SetContext set()
        {
            SetContext _localctx = new SetContext(_ctx, State);

            EnterRule(_localctx, 10, RULE_set);
            int _la;

            try {
                EnterOuterAlt(_localctx, 1);
                {
                    State = 58;
                    _errHandler.Sync(this);
                    _la = _input.La(1);
                    if (_la == IDENTIFIER)
                    {
                        {
                            State = 57; Match(IDENTIFIER);
                        }
                    }

                    State = 61;
                    _errHandler.Sync(this);
                    _la = _input.La(1);
                    if (_la == ARRAY_SYM)
                    {
                        {
                            State = 60; Match(ARRAY_SYM);
                        }
                    }

                    State = 63; Match(COLON_SYM);
                    State = 64; typed_set();
                }
            }
            catch (RecognitionException re) {
                _localctx.exception = re;
                _errHandler.ReportError(this, re);
                _errHandler.Recover(this, re);
            }
            finally {
                ExitRule();
            }
            return(_localctx);
        }
Ejemplo n.º 2
0
 protected SqlProvider()
 {
     Params     = new DynamicParameters();
     SetContext = new SetContext();
 }