Ejemplo n.º 1
0
 internal NameInfo AddMask(string name, ITypeableElement expression)
 {
     if (Children.ContainsKey(name))
     {
         throw new InvalidOperationException("The name " + name + " already exists in the environment.");
     }
     return(Children[name] = new BoundNameInfo(this, name, expression));
 }
Ejemplo n.º 2
0
 public BoundNameInfo(Environment environment, string name, ITypeableElement target)
 {
     Environment = environment;
     Name        = name;
     Target      = target;
 }