private static string GetName(CSharpSymbol sym)
 {
     if (sym.Type == CSharpSymbolType.Keyword)
     {
         return(CSharpLanguageCharacteristics.GetKeyword(sym.Keyword.Value));
     }
     return(sym.Content);
 }
 private void MapKeywords(Action <bool> handler, bool topLevel, params CSharpKeyword[] keywords)
 {
     foreach (CSharpKeyword keyword in keywords)
     {
         _keywordParsers.Add(keyword, handler);
         if (topLevel)
         {
             Keywords.Add(CSharpLanguageCharacteristics.GetKeyword(keyword));
         }
     }
 }