public override void Visit(RtDictionaryType node)
 {
     if (node == null)
     {
         return;
     }
     Write("{ [key:"); Visit(node.KeyType); Write("]: "); Visit(node.ValueType); Write(" }");
 }
Beispiel #2
0
 private bool CompareDictionary(RtDictionaryType x, RtDictionaryType y)
 {
     if (!Equals(x.KeyType, y.KeyType))
     {
         return(false);
     }
     return(Equals(x.ValueType, y.ValueType));
 }
        public override void Visit(RtDictionaryType node)
        {
            if (node == null)
            {
                return;
            }
            string keyTypeSpec = node.IsKeyEnum ? " in " : ":";

            Write("{ [key");
            Write(keyTypeSpec);
            Visit(node.KeyType);
            Write("]: ");
            Visit(node.ValueType);
            Write(" }");
        }
Beispiel #4
0
 public abstract void Visit(RtDictionaryType node);
 public override void Visit(RtDictionaryType node)
 {
     throw new NotImplementedException();
 }