public int GetChildIndex(SyntaxTreeNode child) { return(_children.FindIndex(n => n == child)); }
public void AddChild(SyntaxTreeNode node) { node.Parent = this; _children.Add(node); }