Pass edit information into parser function