add push/pop/enqueue/dequeue to parser