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