void ISqlVisitableNode.Accept(ISqlNodeVisitor visitor) { if (visitor is SqlCodeObjectBuilder) { BuildBlock((SqlCodeObjectBuilder)visitor); } }
public override TResult Accept <TParameter, TResult>( ISqlNodeVisitor <TParameter, TResult> visitor, TParameter parameter) { if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } return(visitor.VisitPopulateNode(this, parameter)); }
public abstract TResult Accept <TParameter, TResult>( ISqlNodeVisitor <TParameter, TResult> visitor, TParameter parameter );
void ISqlVisitableNode.Accept(ISqlNodeVisitor visitor) { if (visitor is SqlCodeObjectBuilder) BuildBlock((SqlCodeObjectBuilder) visitor); }
public SubtreeVisitor(ISqlNodeVisitor inner, Predicate <ISqlNode> include) { _inner = inner ?? throw new ArgumentNullException(nameof(inner)); _include = include ?? (n => true); }