コード例 #1
0
 public virtual Node VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     throw new System.NotImplementedException();
 }
コード例 #2
0
 public override void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     throw NotSupportedToConsistency();
 }
コード例 #3
0
ファイル: CSharpParser.cs プロジェクト: 0xb1dd1e/NRefactory
			public override object Visit(Mono.CSharp.Linq.OrderByAscending orderByAscending)
			{
				currentQueryOrderClause = new QueryOrderClause();
				var location2 = LocationsBag.GetLocations(orderByAscending.block);
				if (location2 != null)
					currentQueryOrderClause.AddChild(new CSharpTokenNode(Convert(location2 [0]), QueryOrderClause.OrderbyKeywordRole), QueryOrderClause.OrderbyKeywordRole);
				var ordering = new QueryOrdering();
				if (orderByAscending.Expr != null)
					ordering.AddChild((Expression)orderByAscending.Expr.Accept(this), Roles.Expression);
				var location = LocationsBag.GetLocations(orderByAscending);
				if (location != null) {
					ordering.Direction = QueryOrderingDirection.Ascending;
					ordering.AddChild(new CSharpTokenNode(Convert(location [0]), QueryOrdering.AscendingKeywordRole), QueryOrdering.AscendingKeywordRole);
				}
				currentQueryOrderClause.AddChild(ordering, QueryOrderClause.OrderingRole);
				return currentQueryOrderClause;
			}
		public virtual void VisitQueryOrdering(QueryOrdering queryOrdering)
		{
			VisitChildren (queryOrdering);
		}
コード例 #5
0
 public override void VisitQueryOrdering(QueryOrdering syntax)
 {
     _underlyingVisitor.VisitQueryOrdering(syntax);
 }
コード例 #6
0
ファイル: QueryOptions.cs プロジェクト: btungut/Cruder.Net
 public QueryOptions(QueryOrdering ordering, QueryCriterias criterias)
 {
     this.Ordering = ordering;
     this.Criterias = criterias;
 }
コード例 #7
0
 public Node VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     return(CreateDummy(queryOrdering));
 }
コード例 #8
0
 public override void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
 }
コード例 #9
0
 public virtual S VisitQueryOrdering(QueryOrdering queryOrdering, T data)
 {
     return(VisitChildren(queryOrdering, data));
 }
コード例 #10
0
ファイル: AstCsToJson.cs プロジェクト: CompilerKit/CodeWalk
 public void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     throw new NotImplementedException();
 }
コード例 #11
0
ファイル: Lower.cs プロジェクト: evanw/minisharp
 public void VisitQueryOrdering(QueryOrdering node)
 {
     NotSupported(node);
 }
コード例 #12
0
 public StringBuilder VisitQueryOrdering(QueryOrdering queryOrdering, int data)
 {
     throw new ASLException("ASL does not understand LINQ.");
 }
コード例 #13
0
 public RedILNode VisitQueryOrdering(QueryOrdering queryOrdering, State data)
 {
     throw new System.NotImplementedException();
 }
コード例 #14
0
 /// <inheritdoc/>
 public virtual void VisitQueryOrdering(QueryOrdering syntax)
 {
     VisitNode(syntax);
 }
コード例 #15
0
 public UnifiedElement VisitQueryOrdering(
     QueryOrdering order, object data)
 {
     throw new NotImplementedException("QueryOrdering");
 }
コード例 #16
0
 public StringBuilder VisitQueryOrdering(QueryOrdering queryOrdering, int data)
 {
     throw new SLSharpException("SL# does not understand LINQ.");
 }
コード例 #17
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));
        }
コード例 #18
0
 public override void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     base.VisitQueryOrdering(queryOrdering);
     indexData.HasOrder = true;
 }
コード例 #19
0
 public StringBuilder VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     return(InvalidNode(queryOrdering, "LINQ is not supported"));
 }
コード例 #20
0
 public virtual void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     if (this.ThrowException)
     {
         throw (Exception)this.CreateException(queryOrdering);
     }
 }
コード例 #21
0
ファイル: TempEmitter.cs プロジェクト: yctri/Bridge
 public void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     throw new NotImplementedException();
 }
コード例 #22
0
ファイル: CSharpParser.cs プロジェクト: N3X15/ILSpy
			public override object Visit (Mono.CSharp.Linq.ThenByDescending thenByDescending)
			{
				var result = new QueryOrderClause ();
				
				var ordering = new QueryOrdering ();
				
				ordering.AddChild ((Expression)thenByDescending.Expr.Accept (this), QueryWhereClause.Roles.Expression);
				var location = LocationsBag.GetLocations (thenByDescending);
				if (location != null) {
					ordering.Direction = QueryOrderingDirection.Descending;
					ordering.AddChild (new CSharpTokenNode (Convert (location[0]), "ascending".Length), QueryWhereClause.Roles.Keyword);
				}
				result.AddChild (ordering, QueryOrderClause.OrderingRole);
				return result;
			}
コード例 #23
0
ファイル: IndexVisitor.cs プロジェクト: j2jensen/ravendb
 public override void VisitQueryOrdering(QueryOrdering queryOrdering)
 {
     base.VisitQueryOrdering(queryOrdering);
     indexData.HasOrder = true;
 }
コード例 #24
0
ファイル: CSharpParser.cs プロジェクト: 0xb1dd1e/NRefactory
			public override object Visit(Mono.CSharp.Linq.ThenByDescending thenByDescending)
			{
				var ordering = new QueryOrdering();
				if (thenByDescending.Expr != null)
					ordering.AddChild((Expression)thenByDescending.Expr.Accept(this), Roles.Expression);
				var location = LocationsBag.GetLocations(thenByDescending);
				if (location != null) {
					ordering.Direction = QueryOrderingDirection.Descending;
					ordering.AddChild(new CSharpTokenNode(Convert(location [0]), QueryOrdering.DescendingKeywordRole), QueryOrdering.DescendingKeywordRole);
				}
				currentQueryOrderClause.AddChild(ordering, QueryOrderClause.OrderingRole);
				return null;
			}
コード例 #25
0
 public JNode VisitQueryOrdering(QueryOrdering node)
 {
     throw new NotImplementedException();
 }
コード例 #26
0
ファイル: CSharpOutputVisitor.cs プロジェクト: x-strong/ILSpy
		public void VisitQueryOrdering(QueryOrdering queryOrdering)
		{
			StartNode(queryOrdering);
			queryOrdering.Expression.AcceptVisitor(this);
			switch (queryOrdering.Direction) {
				case QueryOrderingDirection.Ascending:
					Space();
					WriteKeyword(QueryOrdering.AscendingKeywordRole);
					break;
				case QueryOrderingDirection.Descending:
					Space();
					WriteKeyword(QueryOrdering.DescendingKeywordRole);
					break;
			}
			EndNode(queryOrdering);
		}
コード例 #27
0
 public StringBuilder VisitQueryOrdering(QueryOrdering queryOrdering, int data)
 {
     throw new SLSharpException("SL# does not understand LINQ.");
 }