public override bool Visit(IIterationBlockStatement statement, IStatement context)
 {
     _stack.Push(statement);
     try
     {
         return(base.Visit(statement, context));
     }
     finally
     {
         _stack.Pop();
     }
 }
예제 #2
0
 public abstract IStatement Transform(IIterationBlockStatement statement);
예제 #3
0
 void IStatementVisitor.Visit(IIterationBlockStatement statement)
 {
     this.Translate(statement);
 }
예제 #4
0
 TransformationImpact IStatementVisitor <TransformationImpact> .Visit(IIterationBlockStatement statement)
 {
     return(CalculateRefactorImpact(statement));
 }
예제 #5
0
 public TestLinkerResult Visit(IIterationBlockStatement statement, ICompilationContext context)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 public abstract TransformationImpact CalculateRefactorImpact(IIterationBlockStatement statement);
예제 #7
0
 public bool Visit(IIterationBlockStatement statement, TContext context)
 {
     return(false);
 }
예제 #8
0
 public abstract void Translate(IIterationBlockStatement statement);
예제 #9
0
 public TransformationKind Visit(IIterationBlockStatement statement, ITransformationContext context)
 {
     throw new NotImplementedException();
 }