// This method is not just syntactic sugar. // It chooses the proper overload of Visit() based on the current type. public virtual void Accept(LogicalExpressionVisitor visitor) { throw new NotImplementedException(); }
public override void Accept(LogicalExpressionVisitor visitor) { visitor.Visit(this); }