Return the next Token.
If the iterator is exhausted, this function throws an error
unless the argument if_exhausted is present, which is then
returned instead.
To view the next Token and incrementing the iterator
use next.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TokenIterator_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in), | optional | :: | if_exhausted |