Exemple #1
0
 private void PruneNaturalLanguage(AST.Options options)
 {
     if (options.HasFlag(AST.Options.NaturalLanguage))
     {
         Name  = LanguageHelper.DashProperty(Name);
         Group = LanguageHelper.DashProperty(Name);
         var mapped = new Dictionary <string, TagAttributeNode>();
         foreach (var pair in _attributes)
         {
             mapped[LanguageHelper.DashProperty(pair.Key)] = pair.Value;
         }
         _attributes = mapped;
     }
 }