Ejemplo n.º 1
0
 public LanguageBlockNode(LanguageBlockNode rhs) : base(rhs)
 {
     codeblock  = new ProtoCore.LanguageCodeBlock(rhs.codeblock);
     Attributes = new List <ImperativeNode>();
     foreach (ImperativeNode aNode in rhs.Attributes)
     {
         ImperativeNode newNode = ProtoCore.Utils.NodeUtils.Clone(aNode);
         Attributes.Add(newNode);
     }
 }
Ejemplo n.º 2
0
 public LanguageBlockNode(LanguageBlockNode rhs) : base(rhs)
 {
     codeblock = new ProtoCore.LanguageCodeBlock(rhs.codeblock);
     Attributes = new List<ImperativeNode>();
     foreach (ImperativeNode aNode in rhs.Attributes)
     {
         ImperativeNode newNode = ProtoCore.Utils.NodeUtils.Clone(aNode);
         Attributes.Add(newNode);
     }
 }