pop method

Token pop()

Removes and returns the next unexpandable token.

Implementation

Token pop() {
  final t = peek();
  if (t.isEof) {
    hitEndOfInput = true;
    return t;
  }
  _stack.removeLast();
  return t;
}