示例#1
0
 public void Add(string[] keys, Value val)
 {
     foreach (var k in keys)
     {
         Add(k, val);
     }
 }
示例#2
0
 public void Add(string key, Value val)
 {
     if (ContainsKey(key))
         throw new Exception("'" + key + "' already defined.");
     mValues = new List(new List(new Word(key), new List(val, List.Nil)), mValues);
 }
示例#3
0
 private List()
 {
     this.Next = this;
     this.Val = this;
 }
示例#4
0
 public Quote(Value v)
 {
     if (v == null)
         throw new ArgumentNullException();
     Val = v;
 }
示例#5
0
        public List(Value v, List n)
        {
            if (v == null || n == null)
                throw new ArgumentNullException();

            this.Val = v;
            this.Next = n;
        }