public override Node Clone() { var clone = new CommentNode(this.FileOrigin, this.Comment); clone.Depth = this.Depth; return(clone); }
public CommentNode CreateCommentNode() { CommentNode construct = new CommentNode(this.File, this.Comment); construct.SetParent(this.CurrentParent); this.ResetNodeConstruction(); return(construct); }