public override bool Visit(IGoToCaseStatement statement, IStatement context) { _stack.Push(statement); try { return(base.Visit(statement, context)); } finally { _stack.Pop(); } }
public abstract IStatement Transform(IGoToCaseStatement statement);
void IStatementVisitor.Visit(IGoToCaseStatement statement) { this.Translate(statement); }
TransformationImpact IStatementVisitor <TransformationImpact> .Visit(IGoToCaseStatement statement) { return(CalculateRefactorImpact(statement)); }
public abstract TransformationImpact CalculateRefactorImpact(IGoToCaseStatement statement);
public bool Visit(IGoToCaseStatement statement, TContext context) { return(true); }
public abstract void Translate(IGoToCaseStatement statement);
public TransformationKind Visit(IGoToCaseStatement statement, ITransformationContext context) { throw new NotImplementedException(); }