need to add getStart and getEnd functions to the astNode that returns pairs where the first part is the linenum and the second part is the colnum.
We should be able to give it the whole program and get the index of the first thing in the file and the last thing in the file (like skip whitespaces at the beginning and end)
We should be able to get any subtree and get the proper start and end
need to add getStart and getEnd functions to the astNode that returns pairs where the first part is the linenum and the second part is the colnum.
We should be able to give it the whole program and get the index of the first thing in the file and the last thing in the file (like skip whitespaces at the beginning and end)
We should be able to get any subtree and get the proper start and end
This may need to add some stuff to the parser