Assign AST Objects to their positions in code