S IAstVisitor <T, S> .VisitQueryOrdering(QueryOrdering queryOrdering, T data) { var handler = QueryOrderingVisited; if (handler != null) { handler(queryOrdering, data); } return(VisitChildren(queryOrdering, data)); }
void IAstVisitor.VisitQueryOrdering(QueryOrdering queryOrdering) { Visit(EnterQueryOrdering, LeaveQueryOrdering, queryOrdering); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryOrdering o = other as QueryOrdering; return(o != null && this.Direction == o.Direction && this.Expression.DoMatch(o.Expression, match)); }