Inheritance: QueryExpressionClause
Ejemplo n.º 1
0
	void LetQueryOperator(
//#line  2509 "VBNET.ATG" 
List<QueryExpressionClause> middleClauses) {

//#line  2511 "VBNET.ATG" 
		QueryExpressionLetVBClause letClause = new QueryExpressionLetVBClause();
		letClause.StartLocation = la.Location;
		
		Expect(148);
		ExpressionRangeVariableDeclarationList(
//#line  2514 "VBNET.ATG" 
letClause.Variables);

//#line  2516 "VBNET.ATG" 
		letClause.EndLocation = t.EndLocation;
		middleClauses.Add(letClause);
		
	}
		public sealed override object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data) {
			this.BeginVisit(queryExpressionLetVBClause);
			object result = this.TrackedVisitQueryExpressionLetVBClause(queryExpressionLetVBClause, data);
			this.EndVisit(queryExpressionLetVBClause);
			return result;
		}
 public override object TrackedVisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data)
 {
     return null;
 }
Ejemplo n.º 4
0
		public virtual object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionLetVBClause");
		}
		public virtual object TrackedVisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data) {
			return base.VisitQueryExpressionLetVBClause(queryExpressionLetVBClause, data);
		}
Ejemplo n.º 6
0
		public object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data)
		{
			AddError(queryExpressionLetVBClause, "QueryExpressionLetVBClause is not supported.");
			return null;
		}
Ejemplo n.º 7
0
	void LetQueryOperator(
#line  2212 "VBNET.ATG" 
List<QueryExpressionClause> middleClauses) {

#line  2214 "VBNET.ATG" 
		QueryExpressionLetVBClause letClause = new QueryExpressionLetVBClause();
		letClause.StartLocation = la.Location;
		
		Expect(134);
		ExpressionRangeVariableDeclarationList(
#line  2217 "VBNET.ATG" 
letClause.Variables);

#line  2219 "VBNET.ATG" 
		letClause.EndLocation = t.EndLocation;
		middleClauses.Add(letClause);
		
	}
		public virtual object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data) {
			Debug.Assert((queryExpressionLetVBClause != null));
			Debug.Assert((queryExpressionLetVBClause.Variables != null));
			for (int i = 0; i < queryExpressionLetVBClause.Variables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionLetVBClause.Variables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionLetVBClause.Variables.RemoveAt(i--);
				else
					queryExpressionLetVBClause.Variables[i] = o;
			}
			return null;
		}
Ejemplo n.º 9
0
 public virtual object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data) {
     throw CreateException(queryExpressionLetVBClause);
 }
Ejemplo n.º 10
0
 public virtual object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data)
 {
     Debug.Assert((queryExpressionLetVBClause != null));
     Debug.Assert((queryExpressionLetVBClause.Variables != null));
     foreach (ExpressionRangeVariable o in queryExpressionLetVBClause.Variables) {
         Debug.Assert(o != null);
         o.AcceptVisitor(this, data);
     }
     return null;
 }
 public object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data)
 {
     throw new NotImplementedException ();
 }
 public virtual bool VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object d)
 {
     if ((queryExpressionLetVBClause == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if ((queryExpressionLetVBClause.Variables == null)) {
         return SetFailure();
     }
     if(queryExpressionLetVBClause.GetType() != d.GetType()) {return SetFailure();}
     var data = (QueryExpressionLetVBClause)d;
     if (!IsMatch(queryExpressionLetVBClause, data)) {
         return SetFailure();
     }
     if (queryExpressionLetVBClause.Variables.Count == data.Variables.Count) {
     for (int i=0; i<queryExpressionLetVBClause.Variables.Count;i++) {
         ExpressionRangeVariable o = queryExpressionLetVBClause.Variables[i];
         if(o == null){return SetFailure();}
         if((bool)o.AcceptVisitor(this, data.Variables[i]) == false) return SetFailure();
     }			}			else { return SetFailure(); }
     return true;
 }
Ejemplo n.º 13
0
		public override object VisitQueryExpressionLetVBClause(QueryExpressionLetVBClause queryExpressionLetVBClause, object data)
		{
			return base.VisitQueryExpressionLetVBClause(queryExpressionLetVBClause, data);
		}
 private bool IsMatch(QueryExpressionLetVBClause left, QueryExpressionLetVBClause data)
 {
     return false;
 }