예제 #1
0
        public CachedStateFrameTransition FindCachedStateFrameTransition(ISymbol searchSymbol)
        {
            CachedStateFrameTransition transition = null;

            if (_transitions.TryGetValue(searchSymbol, out transition))
            {
                return(transition);
            }
            return(null);
        }
예제 #2
0
 public void AddCachedTransition(CachedStateFrameTransition cachedStateFrameTransition)
 {
     _transitions.Add(cachedStateFrameTransition.Symbol, cachedStateFrameTransition);
 }