private void NavigateBinaryJoins(BinaryJoin item) { // visit left side first. using (var ctx = GetSubCommand()) { IJoinItem leftHand = item.LeftHand; leftHand.Accept(ctx.Visitor); } }
private void visitBinaryJoinInner(BinaryJoin item, string joinToken) { IJoinItem leftHand = item.LeftHand; leftHand.Accept(forSubCommand()); writer.Write(" "); writer.Write(joinToken); writer.Write(" "); IJoinItem rightHand = item.RightHand; rightHand.Accept(forSubCommand()); }
public IJoin Append(IJoinItem item) { this._expressions.Add(item); return(this); }
/// <summary> /// Provides information to the given visitor about the current builder. /// </summary> /// <param name="visitor">The visitor requesting information.</param> protected override void OnAccept(BuilderVisitor visitor) { IJoinItem joinItem = source; joinItem.Accept(visitor); }