made parsing token constants private