public virtual object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			throw new global::System.NotImplementedException("CollectionRangeVariable");
		}
		public virtual object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			Debug.Assert((collectionRangeVariable != null));
			Debug.Assert((collectionRangeVariable.Expression != null));
			Debug.Assert((collectionRangeVariable.Type != null));
			collectionRangeVariable.Expression.AcceptVisitor(this, data);
			return collectionRangeVariable.Type.AcceptVisitor(this, data);
		}
Example #3
0
	void CollectionRangeVariableDeclaration(out CollectionRangeVariable rangeVariable) {
		rangeVariable = new CollectionRangeVariable();
		rangeVariable.StartLocation = la.Location;
		TypeReference typeName = null;
		Expression inExpr = null;

		Identifier();
		rangeVariable.Identifier = t.val;
		if (la.kind == 63) {
			Get();
			TypeName(out typeName);
			rangeVariable.Type = typeName;
		}
		Expect(138);
		Expr(out inExpr);
		rangeVariable.Expression = inExpr;
			rangeVariable.EndLocation = t.EndLocation;

	}
		public virtual object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			Debug.Assert((collectionRangeVariable != null));
			Debug.Assert((collectionRangeVariable.Expression != null));
			Debug.Assert((collectionRangeVariable.Type != null));
			nodeStack.Push(collectionRangeVariable.Expression);
			collectionRangeVariable.Expression.AcceptVisitor(this, data);
			collectionRangeVariable.Expression = ((Expression)(nodeStack.Pop()));
			nodeStack.Push(collectionRangeVariable.Type);
			collectionRangeVariable.Type.AcceptVisitor(this, data);
			collectionRangeVariable.Type = ((TypeReference)(nodeStack.Pop()));
			return null;
		}
Example #5
0
		public QueryExpressionJoinVBClause() {
			joinVariable = CollectionRangeVariable.Null;
			subJoin = QueryExpressionJoinVBClause.Null;
			conditions = new List<QueryExpressionJoinConditionVB>();
		}
Example #6
0
		public QueryExpressionJoinClause() {
			onExpression = Expression.Null;
			equalsExpression = Expression.Null;
			source = CollectionRangeVariable.Null;
			intoIdentifier = "";
		}
Example #7
0
		public QueryExpressionAggregateClause() {
			source = CollectionRangeVariable.Null;
			middleClauses = new List<QueryExpressionClause>();
			intoVariables = new List<ExpressionRangeVariable>();
		}
		public virtual object TrackedVisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			return base.VisitCollectionRangeVariable(collectionRangeVariable, data);
		}
		public sealed override object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			this.BeginVisit(collectionRangeVariable);
			object result = this.TrackedVisitCollectionRangeVariable(collectionRangeVariable, data);
			this.EndVisit(collectionRangeVariable);
			return result;
		}