public virtual void ToEPL( TextWriter writer, ExprPrecedenceEnum parentPrecedence) { if (this.Precedence.GetLevel() < parentPrecedence.GetLevel()) { writer.Write("("); ToPrecedenceFreeEPL(writer); writer.Write(")"); } else { ToPrecedenceFreeEPL(writer); } }
public virtual void ToEPL( TextWriter writer, ExprPrecedenceEnum parentPrecedence, ExprNodeRenderableFlags flags) { if (Precedence.GetLevel() < parentPrecedence.GetLevel()) { writer.Write("("); ToPrecedenceFreeEPL(writer, flags); writer.Write(")"); } else { ToPrecedenceFreeEPL(writer, flags); } }