Esempio n. 1
0
 public IPsiNode Clone()
 {
     PsiNode c = new PsiNode();
     c.Init(Parent, Value, Type, IsVirtual, ViewComment, NodeValueInfo);
     if (Children.Count != 0)
         foreach (IPsiNode t in Children)
             c.Add(t.Clone());
     return c;
 }
Esempio n. 2
0
 /*Common Tree Node*/
 public virtual void Visit(PsiNode node)
 {
     VisitChildren(node);
 }