void QueryExpressionOrdering( #line 2527 "Frames/cs.ATG" out QueryExpressionOrdering ordering) { #line 2528 "Frames/cs.ATG" Expression expr; ordering = new QueryExpressionOrdering(); ordering.StartLocation = la.Location; Expr( #line 2530 "Frames/cs.ATG" out expr); #line 2530 "Frames/cs.ATG" ordering.Criteria = expr; if (la.kind == 138 || la.kind == 139) { if (la.kind == 138) { lexer.NextToken(); #line 2531 "Frames/cs.ATG" ordering.Direction = QueryExpressionOrderingDirection.Ascending; } else { lexer.NextToken(); #line 2532 "Frames/cs.ATG" ordering.Direction = QueryExpressionOrderingDirection.Descending; } } #line 2534 "Frames/cs.ATG" ordering.EndLocation = t.EndLocation; }
public virtual object VisitQueryExpressionOrdering(QueryExpressionOrdering queryExpressionOrdering, object data) { Debug.Assert((queryExpressionOrdering != null)); Debug.Assert((queryExpressionOrdering.Criteria != null)); return queryExpressionOrdering.Criteria.AcceptVisitor(this, data); }
public sealed override object VisitQueryExpressionOrdering(QueryExpressionOrdering queryExpressionOrdering, object data) { this.BeginVisit(queryExpressionOrdering); object result = this.TrackedVisitQueryExpressionOrdering(queryExpressionOrdering, data); this.EndVisit(queryExpressionOrdering); return result; }
public virtual object TrackedVisitQueryExpressionOrdering(QueryExpressionOrdering queryExpressionOrdering, object data) { return base.VisitQueryExpressionOrdering(queryExpressionOrdering, data); }
void OrderExpression( #line 2083 "VBNET.ATG" out QueryExpressionOrdering ordering) { #line 2085 "VBNET.ATG" ordering = new QueryExpressionOrdering(); ordering.StartLocation = la.Location; ordering.Direction = QueryExpressionOrderingDirection.None; Expression orderExpr = null; Expr( #line 2090 "VBNET.ATG" out orderExpr); #line 2092 "VBNET.ATG" ordering.Criteria = orderExpr; if (la.kind == 51 || la.kind == 91) { if (la.kind == 51) { lexer.NextToken(); #line 2095 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Ascending; } else { lexer.NextToken(); #line 2096 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Descending; } } #line 2098 "VBNET.ATG" ordering.EndLocation = t.EndLocation; }
public virtual object VisitQueryExpressionOrdering(QueryExpressionOrdering queryExpressionOrdering, object data) { Debug.Assert((queryExpressionOrdering != null)); Debug.Assert((queryExpressionOrdering.Criteria != null)); nodeStack.Push(queryExpressionOrdering.Criteria); queryExpressionOrdering.Criteria.AcceptVisitor(this, data); queryExpressionOrdering.Criteria = ((Expression)(nodeStack.Pop())); return null; }
public virtual object VisitQueryExpressionOrdering(QueryExpressionOrdering queryExpressionOrdering, object data) { throw new global::System.NotImplementedException("QueryExpressionOrdering"); }