getting absyn from parse tree