adding parse tree to parser validator