I think that we should have a method in the ASTGenerator.cs ( and necessary in ASTNode.cs) that allows us to introduce a children into a certain position in children List of a Node.
public void addChildren( int i , Node n) {
node.parent = this;
children.Insert ( i , n);
}
I think that we should have a method in the ASTGenerator.cs ( and necessary in ASTNode.cs) that allows us to introduce a children into a certain position in children List of a Node.
public void addChildren( int i , Node n) { node.parent = this; children.Insert ( i , n); }