public override void ExitLookupTable([NotNull] LookupTableContext context) { currentLookupTable = null; return; }
public LookupTableContext lookupTable() { LookupTableContext _localctx = new LookupTableContext(Context, State); EnterRule(_localctx, 20, RULE_lookupTable); int _la; try { EnterOuterAlt(_localctx, 1); { State = 105; lookupTableName(); State = 106; Match(COLON); State = 107; lookupTableEntry(); State = 111; ErrorHandler.Sync(this); _la = TokenStream.La(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BYTES) | (1L << ITEMS) | (1L << AS) | (1L << DESCRIBED) | (1L << BY) | (1L << ASCII) | (1L << UNICODE) | (1L << UTF8) | (1L << UINT64) | (1L << UINT32) | (1L << UINT16) | (1L << INT64) | (1L << INT32) | (1L << INT16) | (1L << SINGLE) | (1L << FLOAT) | (1L << DOUBLE) | (1L << ADDITIONAL) | (1L << PROPERTIES) | (1L << IDENTIFIED) | (1L << FROM) | (1L << DOC_COMMENT) | (1L << INT) | (1L << HEXADECIMAL) | (1L << LABEL))) != 0)) { { { State = 108; lookupTableEntry(); } } State = 113; ErrorHandler.Sync(this); _la = TokenStream.La(1); } State = 114; Match(SEMI); } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return _localctx; }
public override void EnterLookupTable([NotNull] LookupTableContext context) { currentLookupTable = context.lookupTableName().GetText(); lookupTables[currentLookupTable] = new Dictionary <object, string>(); return; }