Example #1
0
 public static void Check(ScopeStatement scope)
 {
     if (scope.ScopeVariables != null)
     {
         FlowChecker fc = new FlowChecker(scope);
         scope.Walk(fc);
     }
 }
Example #2
0
 public static void Check(ScopeStatement scope)
 {
     if (scope.Variables != null)
     {
         FlowChecker fc = new FlowChecker(scope);
         scope.Walk(fc);
     }
 }
 private void HandleScope(ScopeStatement node)
 {
     try {
         OpenScope(node);
         node.Walk(this);
     } finally {
         CloseScope();
     }
 }
Example #4
0
 protected virtual void AnalyzeWorker(DDG ddg)
 {
     Ast.Walk(ddg);
 }