public override bool Visit(INewLineExpression expression, object context)
 {
     _stack.Push(expression);
     try
     {
         return(base.Visit(expression, context));
     }
     finally
     {
         _stack.Pop();
     }
 }
예제 #2
0
 public abstract IExpression Transform(INewLineExpression expression);
예제 #3
0
 void IExpressionVisitor.Visit(INewLineExpression expression)
 {
     this.Translate(expression);
 }
예제 #4
0
 TransformationImpact IExpressionVisitor <TransformationImpact> .Visit(INewLineExpression expression)
 {
     return(CalculateRefactorImpact(expression));
 }
예제 #5
0
 public abstract TransformationImpact CalculateRefactorImpact(INewLineExpression expression);
예제 #6
0
 public abstract void Translate(INewLineExpression expression);
예제 #7
0
 public TransformationKind Visit(INewLineExpression expression, ITransformationContext context)
 {
     return(TransformationKind.Ignore);
 }