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

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