public FinContext fin() { FinContext _localctx = new FinContext(_ctx, State); EnterRule(_localctx, 4, RULE_fin); try { EnterOuterAlt(_localctx, 1); { State = 40; checarEtiq(); State = 41; Match(ACABA); State = 42; checarOp(); State = 43; Match(ENTER); i++; } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.ReportError(this, re); _errHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public FinContext fin() { FinContext _localctx = new FinContext(Context, State); EnterRule(_localctx, 4, RULE_fin); int _la; try { EnterOuterAlt(_localctx, 1); { State = 33; Match(SEP); State = 34; Match(T__1); State = 39; ErrorHandler.Sync(this); _la = TokenStream.LA(1); if (_la == SEP || _la == ID) { { State = 36; ErrorHandler.Sync(this); _la = TokenStream.LA(1); if (_la == SEP) { { State = 35; Match(SEP); } } State = 38; Match(ID); } } State = 42; ErrorHandler.Sync(this); _la = TokenStream.LA(1); if (_la == FINL) { { State = 41; Match(FINL); } } } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public InstrumentRepository(FinContext context) { _context = context; _set = _context.Set <Instrument>(); }
public TickerInfoController() : base() { context = new FinContext(); }