public override bool Visit(ITypeCastExpression expression, object context)
 {
     _stack.Push(expression);
     try
     {
         return(base.Visit(expression, context));
     }
     finally
     {
         _stack.Pop();
     }
 }
示例#2
0
 public abstract IExpression Transform(ITypeCastExpression expression);
示例#3
0
 void IExpressionVisitor.Visit(ITypeCastExpression expression)
 {
     this.Translate(expression);
 }
示例#4
0
 TransformationImpact IExpressionVisitor <TransformationImpact> .Visit(ITypeCastExpression expression)
 {
     return(CalculateRefactorImpact(expression));
 }
示例#5
0
 public TestLinkerResult Visit(ITypeCastExpression expression, ICompilationContext context)
 {
     throw new NotImplementedException();
 }
示例#6
0
 public abstract TransformationImpact CalculateRefactorImpact(ITypeCastExpression expression);
示例#7
0
 public abstract void Translate(ITypeCastExpression expression);
示例#8
0
 public TransformationKind Visit(ITypeCastExpression expression, ITransformationContext context)
 {
     return(TransformationKind.Investigate);
 }