Exemple #1
0
        S IAstVisitor <T, S> .VisitQueryOrdering(QueryOrdering queryOrdering, T data)
        {
            var handler = QueryOrderingVisited;

            if (handler != null)
            {
                handler(queryOrdering, data);
            }
            return(VisitChildren(queryOrdering, data));
        }
Exemple #2
0
 void IAstVisitor.VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     Visit(EnterQueryOrdering, LeaveQueryOrdering, queryOrdering);
 }
Exemple #3
0
        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));
        }