use a LinkedList to hold the emitted tokens