예제 #1
0
		public virtual object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			throw new global::System.NotImplementedException("CollectionRangeVariable");
		}
예제 #2
0
파일: Parser.cs 프로젝트: Altaxo/Altaxo
	void CollectionRangeVariableDeclaration(
//#line  2588 "VBNET.ATG" 
out CollectionRangeVariable rangeVariable) {

//#line  2590 "VBNET.ATG" 
		rangeVariable = new CollectionRangeVariable();
		rangeVariable.StartLocation = la.Location;
		TypeReference typeName = null;
		Expression inExpr = null;
		
		Identifier();

//#line  2595 "VBNET.ATG" 
		rangeVariable.Identifier = t.val; 
		if (la.kind == 63) {
			lexer.NextToken();
			TypeName(
//#line  2596 "VBNET.ATG" 
out typeName);

//#line  2596 "VBNET.ATG" 
			rangeVariable.Type = typeName; 
		}
		Expect(138);
		Expr(
//#line  2597 "VBNET.ATG" 
out inExpr);

//#line  2599 "VBNET.ATG" 
		rangeVariable.Expression = inExpr;
		rangeVariable.EndLocation = t.EndLocation;
		
	}
예제 #3
0
	void QueryExpressionFromOrJoinClause(
#line  2508 "cs.ATG" 
out CollectionRangeVariable variable) {

#line  2509 "cs.ATG" 
		TypeReference type; Expression expr; variable = new CollectionRangeVariable(); 

#line  2511 "cs.ATG" 
		variable.Type = null; 
		if (
#line  2512 "cs.ATG" 
IsLocalVarDecl()) {
			Type(
#line  2512 "cs.ATG" 
out type);

#line  2512 "cs.ATG" 
			variable.Type = type; 
		}
		Identifier();

#line  2513 "cs.ATG" 
		variable.Identifier = t.val; 
		Expect(81);
		Expr(
#line  2515 "cs.ATG" 
out expr);

#line  2515 "cs.ATG" 
		variable.Expression = expr; 
	}
예제 #4
0
	void QueryExpressionIntoClause(
#line  2594 "cs.ATG" 
ref QueryExpression q) {

#line  2595 "cs.ATG" 
		QueryExpression firstQuery = q;
		QueryExpression continuedQuery = new QueryExpression(); 
		continuedQuery.StartLocation = q.StartLocation;
		firstQuery.EndLocation = la.Location;
		continuedQuery.FromClause = new QueryExpressionFromClause();
		CollectionRangeVariable fromVariable = new CollectionRangeVariable();
		continuedQuery.FromClause.Sources.Add(fromVariable);
		fromVariable.StartLocation = la.Location;
		// nest firstQuery inside continuedQuery.
		fromVariable.Expression = firstQuery;
		continuedQuery.IsQueryContinuation = true;
		q = continuedQuery;
		
		Expect(136);
		Identifier();

#line  2610 "cs.ATG" 
		fromVariable.Identifier = t.val; 

#line  2611 "cs.ATG" 
		continuedQuery.FromClause.EndLocation = t.EndLocation; 
		QueryExpressionBody(
#line  2612 "cs.ATG" 
ref q);
	}
예제 #5
0
파일: Generated.cs 프로젝트: Altaxo/Altaxo
		public QueryExpressionJoinVBClause() {
			joinVariable = CollectionRangeVariable.Null;
			subJoin = QueryExpressionJoinVBClause.Null;
			conditions = new List<QueryExpressionJoinConditionVB>();
		}
예제 #6
0
	void QueryExpressionFromOrJoinClause(
//#line  2466 "cs.ATG" 
out CollectionRangeVariable variable) {

//#line  2467 "cs.ATG" 
		TypeReference type; Expression expr; variable = new CollectionRangeVariable(); 

//#line  2469 "cs.ATG" 
		variable.Type = null; 
		if (
//#line  2470 "cs.ATG" 
IsLocalVarDecl()) {
			Type(
//#line  2470 "cs.ATG" 
out type);

//#line  2470 "cs.ATG" 
			variable.Type = type; 
		}
		Identifier();

//#line  2471 "cs.ATG" 
		variable.Identifier = t.val; 
		Expect(81);
		Expr(
//#line  2473 "cs.ATG" 
out expr);

//#line  2473 "cs.ATG" 
		variable.Expression = expr; 
	}
예제 #7
0
파일: Generated.cs 프로젝트: Altaxo/Altaxo
		public QueryExpressionAggregateClause() {
			source = CollectionRangeVariable.Null;
			middleClauses = new List<QueryExpressionClause>();
			intoVariables = new List<ExpressionRangeVariable>();
		}
예제 #8
0
파일: Generated.cs 프로젝트: Altaxo/Altaxo
		public QueryExpressionJoinClause() {
			onExpression = Expression.Null;
			equalsExpression = Expression.Null;
			source = CollectionRangeVariable.Null;
			intoIdentifier = "";
		}
		public sealed override object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			this.BeginVisit(collectionRangeVariable);
			object result = this.TrackedVisitCollectionRangeVariable(collectionRangeVariable, data);
			this.EndVisit(collectionRangeVariable);
			return result;
		}
		public virtual object TrackedVisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data) {
			return base.VisitCollectionRangeVariable(collectionRangeVariable, data);
		}
예제 #11
0
		public object VisitCollectionRangeVariable(CollectionRangeVariable collectionRangeVariable, object data)
		{
			throw new NotImplementedException();
		}
		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;
		}
예제 #13
0
		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);
		}