protected override IPyValue VisitParenthesizedExpression(ParenthesizedExpression src) { var e = TransValue(src.Expression); var a = new PyParenthesizedExpression(e); return(SimplifyPyExpression(a)); }
protected virtual T VisitPyParenthesizedExpression(PyParenthesizedExpression node) { if (ThrowNotImplementedException) { throw new NotImplementedException(string.Format("Method {0} is not supported in class {1}", "VisitPyParenthesizedExpression", this.GetType().FullName)); } return(default(T)); }
protected IPyValue StripBracketsAndSimplify(IPyValue value, IPyExpressionSimplifier s) { value = PyParenthesizedExpression.Strip(value); value = s.Simplify(value); return(value); }