Inheritance: Expression
Beispiel #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);
            }
        }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
 public QueryExpression(AQueryClause start)
     : base(null, null, start.Location)
 {
     this.next = start;
 }
Beispiel #4
0
		public QueryExpression (AQueryClause start)
			: base (null, null, Location.Null)
		{
			this.next = start;
		}
Beispiel #5
0
 public QueryExpression(Block block, AQueryClause query)
     : base(null, null, query.Location)
 {
     this.next = query;
 }
Beispiel #6
0
		public QueryExpression (Block block, AQueryClause query)
			: base (null, null, query.Location)
		{
			this.next = query;
		}