Пример #1
0
        public CachedDottedRuleSetTransition FindCachedDottedRuleSetTransition(ISymbol searchSymbol)
        {
            CachedDottedRuleSetTransition transition = null;

            if (_transitions.TryGetValue(searchSymbol, out transition))
            {
                return(transition);
            }
            return(null);
        }
Пример #2
0
 public void AddCachedTransition(CachedDottedRuleSetTransition cachedDottedRuleSetTransition)
 {
     _transitions.Add(cachedDottedRuleSetTransition.Symbol, cachedDottedRuleSetTransition);
 }