Beispiel #1
0
 protected virtual void VisitStruct(AstStructNode node)
 {
     foreach (var m in node)
     {
         VisitStructMember(m);
     }
 }
Beispiel #2
0
        public AstStructNode Clone()
        {
            var rv = new AstStructNode {
                Name = Name, Attributes = Attributes.Clone()
            };

            rv.AddRange(this.Select(x => x.Clone()));
            return(rv);
        }