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