ABT.MemberIterator.InBrace C# (CSharp) Метод

InBrace() публичный Метод

public InBrace ( ) : void
Результат void
        public void InBrace() {

            /// Push the current position into the stack, so that we can get back by <see cref="OutBrace"/>
            this.trace.Add(new Status(this.trace.Last().CurType));

            // For aggregate types, go inside and locate the first member.
            if (!this.CurType.IsScalar) {
                this.trace.Last().indices.Add(0);
            }
            
        }

Usage Example

Пример #1
0
 public override void Iterate(MemberIterator iter, Action <Int32, Expr> action)
 {
     iter.InBrace();
     for (Int32 i = 0; i < this.initrs.Count; ++i)
     {
         this.initrs[i].Iterate(iter, action);
         if (i != this.initrs.Count - 1)
         {
             iter.Next();
         }
     }
     iter.OutBrace();
 }
All Usage Examples Of ABT.MemberIterator::InBrace