protected override IPhpValue VisitIncrementDecrementExpression(IncrementDecrementExpression src) { var o = TransValue(src.Operand); var r = new PhpIncrementDecrementExpression(o, src.Increment, src.Pre); return(SimplifyPhpExpression(r)); }
protected override IPhpStatement[] VisitIncrementDecrementExpression(IncrementDecrementExpression src) { var o = TransValue(src.Operand); var a = new PhpIncrementDecrementExpression(o, src.Increment, src.Pre); return(MkArray(a)); }
protected virtual T VisitPhpIncrementDecrementExpression(PhpIncrementDecrementExpression node) { if (ThrowNotImplementedException) { throw new NotImplementedException(string.Format("Method {0} is not supported in class {1}", "VisitPhpIncrementDecrementExpression", this.GetType().FullName)); } return(default(T)); }
protected override IPhpValue VisitPhpIncrementDecrementExpression(PhpIncrementDecrementExpression node) { return(node.Simplify(this)); }