public void AddGuessError(ABnfElement element, ABnfGuessError error)
        {
            {
                if (!m_guess_error_map.TryGetValue(element.GetFile(), out Dictionary <ABnfElement, ABnfGuessError> map))
                {
                    map = new Dictionary <ABnfElement, ABnfGuessError>();
                    m_guess_error_map.Add(element.GetFile(), map);
                }
                if (map.ContainsKey(element))
                {
                    map.Remove(element);
                }
                map.Add(element, error);
            }

            {
                if (m_guess_type_map.TryGetValue(element.GetFile(), out Dictionary <ABnfElement, List <ABnfGuess> > map))
                {
                    if (map.ContainsKey(element))
                    {
                        map.Remove(element);
                    }
                }
            }
        }
 public ABnfGuessError GetGuessError(ABnfElement element)
 {
     if (!m_guess_error_map.TryGetValue(element.GetFile(), out Dictionary <ABnfElement, ABnfGuessError> map))
     {
         return(null);
     }
     if (!map.TryGetValue(element, out ABnfGuessError error))
     {
         return(null);
     }
     return(error);
 }
 public List <ABnfGuess> GetGuessTypeList(ABnfElement element)
 {
     if (!m_guess_type_map.TryGetValue(element.GetFile(), out Dictionary <ABnfElement, List <ABnfGuess> > map))
     {
         return(null);
     }
     if (!map.TryGetValue(element, out List <ABnfGuess> list))
     {
         return(null);
     }
     return(list);
 }