Inheritance: IBoundReference
 public virtual void VisitList(BoundListEx x)
 {
     x.Items.ForEach(pair =>
     {
         Accept(pair.Key);
         Accept(pair.Value);
     });
 }
Exemple #2
0
 public virtual void VisitList(BoundListEx x)
 {
     x.Variables.ForEach(Accept);
 }
 public virtual TResult VisitList(BoundListEx x) => DefaultVisitOperation(x);
 public virtual void VisitList(BoundListEx x)
 {
     x.Variables.ForEach(Accept);
 }
        public override void VisitList(BoundListEx x)
        {
            var elementtype = this.TypeCtx.GetElementType(x.Access.WriteMask);
            Debug.Assert(!elementtype.IsVoid);

            foreach (var v in x.Variables.WhereNotNull())   // list() may contain NULL implying ignored variable
            {
                Visit(v, v.Access.WithWrite(elementtype));
            }
        }