public override string GetPhpCode(PhpEmitStyle style) { var form = style == null || style.Compression == EmitStyleCompression.Beauty ? "{0} ? {1} : {2}" : "{0}?{1}:{2}"; return(string.Format(form, Condition.GetPhpCode(style), WhenTrue.GetPhpCode(style), WhenFalse.GetPhpCode(style))); }