Enhance parse tree using Antlr adding parsing state.