예제 #1
0
 public void SetAttribute(SymbolTableKey key, object val)
 {
     Contract.Requires(!attributes.ContainsKey(key));
     attributes[key] = val;
 }
예제 #2
0
 public object GetAttribute(SymbolTableKey key)
 {
     object val;
     attributes.TryGetValue(key, out val);
     return val;
 }