Example #1
0
 public override void Perform(ParseNode node)
 {
     var sharpDefineVisitor = new AstTreeVisitorAllNodes(node)
         {
             CallOnMatch = FixLogic
         };
     sharpDefineVisitor.Visit();
 }
Example #2
0
 public override void Perform(ParseNode node)
 {
     var astVisitor = new AstTreeVisitorAllNodes(node)
         {
             CallOnMatch = TryFixRuleProblem
         };
     while (_found)
     {
         _found = false;
         astVisitor.Visit();
     }
 }
Example #3
0
 public override void Perform(ParseNode node)
 {
     var fullVisitor = new AstTreeVisitorAllNodes(node) {CallOnMatch = AnalyzeNode};
     fullVisitor.Visit();
 }