LR parser code and tree