Пример #1
0
	void SelectQueryOperator(
//#line  2431 "VBNET.ATG" 
List<QueryExpressionClause> middleClauses) {

//#line  2433 "VBNET.ATG" 
		QueryExpressionSelectVBClause selectClause = new QueryExpressionSelectVBClause();
		selectClause.StartLocation = la.Location;
		
		Expect(197);
		ExpressionRangeVariableDeclarationList(
//#line  2436 "VBNET.ATG" 
selectClause.Variables);

//#line  2438 "VBNET.ATG" 
		selectClause.EndLocation = t.Location;
		middleClauses.Add(selectClause);
		
	}
		public sealed override object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data) {
			this.BeginVisit(queryExpressionSelectVBClause);
			object result = this.TrackedVisitQueryExpressionSelectVBClause(queryExpressionSelectVBClause, data);
			this.EndVisit(queryExpressionSelectVBClause);
			return result;
		}
 public override object TrackedVisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data)
 {
     return null;
 }
Пример #4
0
		public virtual object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionSelectVBClause");
		}
		public virtual object TrackedVisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data) {
			return base.VisitQueryExpressionSelectVBClause(queryExpressionSelectVBClause, data);
		}
Пример #6
0
		public object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data)
		{
			AddError(queryExpressionSelectVBClause, "QueryExpressionSelectVBClause is not supported.");
			return null;
		}
Пример #7
0
	void SelectQueryOperator(
#line  2134 "VBNET.ATG" 
List<QueryExpressionClause> middleClauses) {

#line  2136 "VBNET.ATG" 
		QueryExpressionSelectVBClause selectClause = new QueryExpressionSelectVBClause();
		selectClause.StartLocation = la.Location;
		
		Expect(182);
		ExpressionRangeVariableDeclarationList(
#line  2139 "VBNET.ATG" 
selectClause.Variables);

#line  2141 "VBNET.ATG" 
		selectClause.EndLocation = t.Location;
		middleClauses.Add(selectClause);
		
	}
		public virtual object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data) {
			Debug.Assert((queryExpressionSelectVBClause != null));
			Debug.Assert((queryExpressionSelectVBClause.Variables != null));
			for (int i = 0; i < queryExpressionSelectVBClause.Variables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionSelectVBClause.Variables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionSelectVBClause.Variables.RemoveAt(i--);
				else
					queryExpressionSelectVBClause.Variables[i] = o;
			}
			return null;
		}
Пример #9
0
 public virtual object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data) {
     throw CreateException(queryExpressionSelectVBClause);
 }
Пример #10
0
 public virtual object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data)
 {
     Debug.Assert((queryExpressionSelectVBClause != null));
     Debug.Assert((queryExpressionSelectVBClause.Variables != null));
     foreach (ExpressionRangeVariable o in queryExpressionSelectVBClause.Variables) {
         Debug.Assert(o != null);
         o.AcceptVisitor(this, data);
     }
     return null;
 }
 public object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data)
 {
     throw new NotImplementedException ();
 }
 public virtual bool VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object d)
 {
     if ((queryExpressionSelectVBClause == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if ((queryExpressionSelectVBClause.Variables == null)) {
         return SetFailure();
     }
     if(queryExpressionSelectVBClause.GetType() != d.GetType()) {return SetFailure();}
     var data = (QueryExpressionSelectVBClause)d;
     if (!IsMatch(queryExpressionSelectVBClause, data)) {
         return SetFailure();
     }
     if (queryExpressionSelectVBClause.Variables.Count == data.Variables.Count) {
     for (int i=0; i<queryExpressionSelectVBClause.Variables.Count;i++) {
         ExpressionRangeVariable o = queryExpressionSelectVBClause.Variables[i];
         if(o == null){return SetFailure();}
         if((bool)o.AcceptVisitor(this, data.Variables[i]) == false) return SetFailure();
     }			}			else { return SetFailure(); }
     return true;
 }
Пример #13
0
		public override object VisitQueryExpressionSelectVBClause(QueryExpressionSelectVBClause queryExpressionSelectVBClause, object data)
		{
			return base.VisitQueryExpressionSelectVBClause(queryExpressionSelectVBClause, data);
		}
 private bool IsMatch(QueryExpressionSelectVBClause left, QueryExpressionSelectVBClause right)
 {
     return false;
 }