public override string GetPhpCode(PhpEmitStyle style) { if (expression == (object)null) { throw new Exception("Unable to get code from empty expression"); } var ex = PhpParenthesizedExpression.Strip(expression); var a = expression.GetPhpCode(style); if (byRef) { a = "&" + a; } return(a); }
protected IPhpValue StripBracketsAndSimplify(IPhpValue value, IPhpExpressionSimplifier s) { value = PhpParenthesizedExpression.Strip(value); value = s.Simplify(value); return(value); }