MCSN-project2014 / APproject

Project for the MCSN Advanced Programming Module A.Y. 2014/2015
http://mcsn-project2014.github.io/APproject/
MIT License
4 stars 0 forks source link

Method for inserting a Child into a certain index in the list. #24

Closed dido18 closed 9 years ago

dido18 commented 9 years ago

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); }

lucarin91 commented 9 years ago

add the method...