Beispiel #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);
 }
Beispiel #2
0
 public ScopedEnvironment(ScopedEnvironment env = null)
 {
     this.outerenv = env;
 }