Inheritance: Expression
Example #1
0
        protected override void CloneTo(CloneContext clonectx, Expression target)
        {
            base.CloneTo(clonectx, target);

            AQueryClause t = (AQueryClause)target;

            if (block != null)
            {
                t.block = (QueryBlock)clonectx.LookupBlock(block);
            }

            if (next != null)
            {
                t.next = (AQueryClause)next.Clone(clonectx);
            }
        }
Example #2
0
File: linq.cs Project: mdae/MonoRT
        protected override void CloneTo(CloneContext clonectx, Expression target)
        {
            AQueryClause t = (AQueryClause)target;

            if (expr != null)
            {
                t.expr = expr.Clone(clonectx);
            }

            if (block != null)
            {
                t.block = (ToplevelBlock)block.Clone(clonectx);
            }

            if (next != null)
            {
                t.next = (AQueryClause)next.Clone(clonectx);
            }
        }
Example #3
0
 public QueryExpression(AQueryClause start)
     : base(null, null, start.Location)
 {
     this.next = start;
 }
Example #4
0
		public QueryExpression (AQueryClause start)
			: base (null, null, Location.Null)
		{
			this.next = start;
		}
Example #5
0
File: linq.cs Project: mdae/MonoRT
 public QueryExpression(Block block, AQueryClause query)
     : base(null, null, query.Location)
 {
     this.next = query;
 }
Example #6
0
		public QueryExpression (Block block, AQueryClause query)
			: base (null, null, query.Location)
		{
			this.next = query;
		}