hasNext method

bool hasNext()

Whether there are more tokens to retrieve.

Implementation

bool hasNext() {
  return cursor < formulaLength - 1;
}