Beispiel #1
0
 // ExecStatement
 public override bool Walk(ExecStatement node)
 {
     if (node.Locals == null && node.Globals == null)
     {
         Debug.Assert(_currentScope != null);
         _currentScope.ContainsUnqualifiedExec = true;
     }
     return(true);
 }
Beispiel #2
0
        public override void PostWalk(ExecStatement node)
        {
            if (node.NeedsLocalsDictionary())
            {
                _currentScope.NeedsLocalsDictionary = true;
            }

            if (node.Locals == null)
            {
                _currentScope.HasLateBoundVariableSets = true;
            }
        }
Beispiel #3
0
 public virtual void PostWalk(ExecStatement node)
 {
 }
Beispiel #4
0
 // ExecStatement
 public virtual bool Walk(ExecStatement node)
 {
     return(true);
 }
Beispiel #5
0
 // ExecStatement
 public override bool Walk(ExecStatement node)
 {
     return(Contains(node));
 }
Beispiel #6
0
 public override void PostWalk(ExecStatement node)
 {
 }
Beispiel #7
0
 // ExecStatement
 public override bool Walk(ExecStatement node)
 {
     return(false);
 }