public override void Perform(ParseNode node)
 {
     var functionNodes = node.GetFunctionBodies();
     foreach (var functionNode in functionNodes)
     {
         EvaluateFunctionReturn(functionNode);
     }
 }
예제 #2
0
 public override void Perform(ParseNode node)
 {
     var functionNodes = node.GetFunctionBodies();
     foreach (var functionNode in functionNodes)
     {
         FixDeclarationsNotInFunctionBody(functionNode);
     }
 }
예제 #3
0
 public override void Perform(ParseNode node)
 {
     var functionNodes = node.GetFunctionBodies();
     foreach (var functionBody in functionNodes)
     {
         var fix = new ParameterFunctionFix(functionBody);
         fix.Perform();
     }
 }