Beispiel #1
0
 public PExpr Visit()
 {
     for ( ;;)
     {
         if ((_lookup = _scope.Object.Visit(this)).IsPendingOrSignal)
         {
             return(Frame.ReentrantPendingOrSignal(_lookup));
         }
         if (_lookup.Result == NotFound)
         {
             if ((_scope = _scope.Parent) == null)
             {
                 return(_lookup);
             }
         }
         else
         {
             return(_lookup);
         }
     }
 }
Beispiel #2
0
 public ScopeWalker(AccessorMemberFrame frame, GlobalContext.WithObjectScope start)
 {
     Frame  = frame;
     _scope = start;
 }