pull up name reslution and declaration extraction