Ejemplo n.º 1
0
 public bool HasOuterEnvironment(ScopedEnvironment env)
 {
     if (this.outerenv != null)
     {
         if (this.outerenv == env)
         {
             return(true);
         }
         else
         {
             return(this.outerenv.HasOuterEnvironment(env));
         }
     }
     return(false);
 }
Ejemplo n.º 2
0
 public ScopedEnvironment(ScopedEnvironment env = null)
 {
     this.outerenv = env;
 }