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