feature: calculate ast nodes positions