public LexerContext(ISource source, int index, ILexemeCache cache) { currentIndex = index; this.source = source; this.cache = cache ?? NoCache.Instance; }
public void GlobalSetup() { _serial = new DictionaryCache(); _concurrent = new ConcurrentDictionaryCache(); }
public LexerContext(ISource source, int index, ILexemeCache?cache) { _currentIndex = index; _source = source; _cache = cache ?? NoCache.Instance; }